Releasing PufferLib 5.0: Train agents in under a second
@jsuarez32K followers
177,811 views
31 Comments
Comments from the original post on X (Twitter)

@jsuarez
5 Exciting new results brought to you by our team + contributors: @spenccheng @finlay_sanders (fintern!) @ValtteriValo @daphnesolves @elliotarledge. Play with the agents at All experimental data available is available in Constellation online + local.
31 likes

@jsuarez
5 levels of parallelism: bitwise deterministic async training in <10,000 lines of CUDA C including Protein hparam sweeps, Constellation vis, GPU/CPU env support, and standalone CPU eval. No more Python.
32 likes

@jsuarez
5 times faster training: that's rough average solve time for the same tasks vs. 4.0 from async, kernel tweaks, and algorithmic improvements. 3x pretty much across the board, some envs 10x. Peak SPS is >60M. Check back later this week for in-depth articles!
22 likes

@jsuarez
We now have ~60 environments in Ocean available directly on Almost all have strong baselines that run right in your browser. Locally, not on our servers. Because you can do that with models this small!
29 likes

@jsuarez
Everything you see here is free and open source. We also build ultra high performance environments and agents for non-LLM use cases professionally and have applied our tech in gaming, animation, finance, commerce, and defense. Contact us to puff up your training!
33 likes

@KinvertOG
It's so easy to use it one shotted pretty much every env I ever built. It can even learn to play existing games as long as you get the scaffolding correct. One shot F-Zero X PC Port.
7 likes

@kalin_t
removing all the dependency fluff is amazing
5 likes

@fraserpricee
hey i think you dropped this, king ๐
3 likes

@thealokverse
puffed up๐ฅ
3 likes

@0x4C756973
Smh, just finished setting up my local workflow with puffer 4.0 and already got to upgrade (Kidding, good job, thanks for new release ๐)
2 likes

@jsuarez
5.0 is even easier to set up. 4.0 had like 9 python deps + annoying CUDA version restrictions with torch. All gone now
14 likes

@0x4C756973
Checks out. Cartpole running on my gpu without importing pytorch
1 like

@jonfontanez
I'm really interested in testing out pufferlib but I'm having a really hard time finding extensive docs or examples, should I be looking somewhere on the site or a github repo?
2 likes

@EitanTurok
this is sick
2 likes

@mteamisloading
huge!!!
1 like

@konar_dev
huge W
1 like

@creus_roger
really nice results and release๐ฅ๐ฅ
1 like

@zenstyle
Nice man
1 like

@johnnyheo
might need to change your bio now cuz this is insane
1 like

@dystopi_a
Useful for autonomous drones?
1 like










