Video yükleniyor...

Video Yüklenemedi

Ana Sayfaya Dön

I wrote the full Craftax RL environment + PPO in one CUDA file. zero python in the loop. training from scratch on my RTX PRO 6000 > 0.6s: first wood, first crafting table, first dungeon entered > 1.7s: first zombie + skeleton kills, first bow found > 2.9s: first...

51,510 görüntüleme • 3 ay önce •via X (Twitter)

36 Yorum

Elliot Arledge profil fotoğrafı
Elliot Arledge3 ay önce

no single magic kernel. it is boring systems work stacked end to end: env (312M steps/s, no NN in the loop): - struct-of-arrays state so every warp load is coalesced - worldgen resets are warp-cooperative: one warp rebuilds a dying world's noise fields in shared memory, bit-exact with the scalar path - rare divergent events (mob spawn scans) get compacted into queues drained by a separate kernel instead of stalling every thread - the whole step is CUDA-graph captured training (5.5M steps/s at the quality recipe, 42M full-batch): - the entire PPO loop lives on the GPU: rollout, GAE, backward, Adam. no python, no transfers, weights never leave the card - obs recorded as 996 compact uint8 bytes, then expansion + encoder run as one big GEMM instead of per-env scatter loops (2.4x on the trainer) - GRU chain backward chunked to fit in L2 - analytic grads checked against finite differences, trajectories hash-sealed against the C reference build i actually tried some ambitious kernel fusion but ended up losing to a plain GEMM and env separation strategy

kache profil fotoğrafı
kache3 ay önce

Incredible work

Elliot Arledge profil fotoğrafı
Elliot Arledge3 ay önce

❤️

Dan Advantage profil fotoğrafı
Dan Advantage3 ay önce

8192 is max sps for gb10 (dgx spark) training a policy now

Elliot Arledge profil fotoğrafı
Elliot Arledge3 ay önce

wow!

Kevin Patrick Murphy profil fotoğrafı
Kevin Patrick Murphy3 ay önce

That’s pretty cool! training on craftax won’t give you an agent that generalizes, but if you can procedurally change the environment and automatically update your cuda code, then you can quickly meta learn something interesting…

Epicarism profil fotoğrafı
Epicarism3 ay önce

Ok can i play Minecraft with claude now or in near future

Elliot Arledge profil fotoğrafı
Elliot Arledge3 ay önce

a tiny policy will beat minecraft for you in a min or so at my achieved sim speed. need to cook for another day

Epicarism profil fotoğrafı
Epicarism3 ay önce

What about a friend maxxing / playmate rl env pls for us lonesome folk

Seth Karten profil fotoğrafı
Seth Karten3 ay önce

how does the trained policy perform back in the original craftax environment?

HumanoidRobots.com Tom profil fotoğrafı
HumanoidRobots.com Tom3 ay önce

the environment count becoming the video beats another terminal chart. 524,288 tiny worlds is hard to argue with.

utsab profil fotoğrafı
utsab3 ay önce

Bruh how?? Insane!

𝗹𝗶𝗴𝗵𝘁 profil fotoğrafı
𝗹𝗶𝗴𝗵𝘁3 ay önce

now this is some next lvl shit

Elliot Arledge profil fotoğrafı
Elliot Arledge3 ay önce

<3

Matteo profil fotoğrafı
Matteo3 ay önce

epic, nice visuals too

Igor Petrović profil fotoğrafı
Igor Petrović3 ay önce

What mfs will do just to avoid working on sample efficient RL methods

webXOS profil fotoğrafı
webXOS3 ay önce

gpu gaming

Sulaiman Khan Ghori profil fotoğrafı
Sulaiman Khan Ghori3 ay önce

Impressive

7-Eleven intern profil fotoğrafı
7-Eleven intern3 ay önce

well done

Mohammed Hossam profil fotoğrafı
Mohammed Hossam3 ay önce

Huge 👀 Great work 👏

Jake Wind profil fotoğrafı
Jake Wind3 ay önce

Wow, would be cool to see some charts with before/after (original Craftax vs your version)

Matt H. Lee profil fotoğrafı
Matt H. Lee3 ay önce

Hell yeah brother

Craig Certo profil fotoğrafı
Craig Certo3 ay önce

This is insane

David de Villiers profil fotoğrafı
David de Villiers3 ay önce

Amazing! I did my Masters in Curoisity-Based RL for managing sparse rewards pre-Craftax. I attempted to build my own env and trained on it, but a few months later they came out with Craftax. This is just next level. Will be checking it out soon!

Aimar Haddadi profil fotoğrafı
Aimar Haddadi3 ay önce

crazyyy

Lucky Cat profil fotoğrafı
Lucky Cat3 ay önce

impressive speed benchmarks on that RTX PRO 6000, 312M env steps/s is wild

0xidative profil fotoğrafı
0xidative3 ay önce

Holy aura will be checking this out

Jebrim profil fotoğrafı
Jebrim3 ay önce

This is the way to go!

Inspector fomo profil fotoğrafı
Inspector fomo3 ay önce

The claim of zero python in the loop overstates the setup. The environment still relies on python for initialization and orchestration.

Siddhant profil fotoğrafı
Siddhant3 ay önce

This is an insanely amazing project

Ecliptix profil fotoğrafı
Ecliptix3 ay önce

That's based

UriG profil fotoğrafı
UriG3 ay önce

This is awesome!

smyanthota profil fotoğrafı
smyanthota3 ay önce

@yacineMTB What a legend

Shubham Arora profil fotoğrafı
Shubham Arora3 ay önce

Very cool!

Isha profil fotoğrafı
Isha3 ay önce

Absolutely insane

Laythe profil fotoğrafı
Laythe3 ay önce

is this a sign to learn cuda

Benzer Videolar