Skip navigation
Releasing PufferLib 5.0: Train agents in under a second
0:00 / 0:30

Releasing PufferLib 5.0: Train agents in under a second

Joseph Suarez ๐Ÿก

@jsuarez32K followers

Visit on X
1,882 likesDownloadOriginal post

177,811 views

Releasing PufferLib 5.0: Train agents in under a second

31 Comments

Comments from the original post on X (Twitter)

  • Joseph Suarez ๐Ÿก's profile picture

    @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

  • Joseph Suarez ๐Ÿก's profile picture

    @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

  • Joseph Suarez ๐Ÿก's profile picture

    @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

  • Joseph Suarez ๐Ÿก's profile picture

    @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

  • Joseph Suarez ๐Ÿก's profile picture

    @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

  • Kinvert's profile picture

    @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's profile picture

    @kalin_t

    removing all the dependency fluff is amazing

    5 likes

  • Fraser Price's profile picture

    @fraserpricee

    hey i think you dropped this, king ๐Ÿ‘‘

    3 likes

  • ๐—น๐—ถ๐—ด๐—ต๐˜'s profile picture

    @thealokverse

    puffed up๐Ÿ”ฅ

    3 likes

  • Luis's profile picture

    @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

  • Joseph Suarez ๐Ÿก's profile picture

    @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

  • Luis's profile picture

    @0x4C756973

    Checks out. Cartpole running on my gpu without importing pytorch

    1 like

  • Jonathan Fontanez's profile picture

    @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

  • Eitan Turok's profile picture

    @EitanTurok

    this is sick

    2 likes

  • mteam.gwei's profile picture

    @mteamisloading

    huge!!!

    1 like

  • connor's profile picture

    @konar_dev

    huge W

    1 like

  • Roger Creus Castanyer's profile picture

    @creus_roger

    really nice results and release๐Ÿ”ฅ๐Ÿ”ฅ

    1 like

  • ฮถ Pedram ฮถ's profile picture

    @zenstyle

    Nice man

    1 like

  • Johnny's profile picture

    @johnnyheo

    might need to change your bio now cuz this is insane

    1 like

  • catalyst's profile picture

    @dystopi_a

    Useful for autonomous drones?

    1 like