Загрузка видео...

Не удалось загрузить видео

На главную

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 просмотров • 3 месяцев назад •via X (Twitter)

Комментарии: 36

Фото профиля Elliot Arledge
Elliot Arledge3 месяцев назад

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
kache3 месяцев назад

Incredible work

Фото профиля Elliot Arledge
Elliot Arledge3 месяцев назад

❤️

Фото профиля Dan Advantage
Dan Advantage3 месяцев назад

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

Фото профиля Elliot Arledge
Elliot Arledge3 месяцев назад

wow!

Фото профиля Kevin Patrick Murphy
Kevin Patrick Murphy3 месяцев назад

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
Epicarism3 месяцев назад

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

Фото профиля Elliot Arledge
Elliot Arledge3 месяцев назад

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
Epicarism3 месяцев назад

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

Фото профиля Seth Karten
Seth Karten3 месяцев назад

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

Фото профиля HumanoidRobots.com Tom
HumanoidRobots.com Tom3 месяцев назад

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

Фото профиля utsab
utsab3 месяцев назад

Bruh how?? Insane!

Фото профиля 𝗹𝗶𝗴𝗵𝘁
𝗹𝗶𝗴𝗵𝘁3 месяцев назад

now this is some next lvl shit

Фото профиля Elliot Arledge
Elliot Arledge3 месяцев назад

<3

Фото профиля Matteo
Matteo3 месяцев назад

epic, nice visuals too

Фото профиля Igor Petrović
Igor Petrović3 месяцев назад

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

Фото профиля webXOS
webXOS3 месяцев назад

gpu gaming

Фото профиля Sulaiman Khan Ghori
Sulaiman Khan Ghori3 месяцев назад

Impressive

Фото профиля 7-Eleven intern
7-Eleven intern3 месяцев назад

well done

Фото профиля Mohammed Hossam
Mohammed Hossam3 месяцев назад

Huge 👀 Great work 👏

Фото профиля Jake Wind
Jake Wind3 месяцев назад

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

Фото профиля Matt H. Lee
Matt H. Lee3 месяцев назад

Hell yeah brother

Фото профиля Craig Certo
Craig Certo3 месяцев назад

This is insane

Фото профиля David de Villiers
David de Villiers3 месяцев назад

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
Aimar Haddadi3 месяцев назад

crazyyy

Фото профиля Lucky Cat
Lucky Cat3 месяцев назад

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

Фото профиля 0xidative
0xidative3 месяцев назад

Holy aura will be checking this out

Фото профиля Jebrim
Jebrim3 месяцев назад

This is the way to go!

Фото профиля Inspector fomo
Inspector fomo3 месяцев назад

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

Фото профиля Siddhant
Siddhant3 месяцев назад

This is an insanely amazing project

Фото профиля Ecliptix
Ecliptix3 месяцев назад

That's based

Фото профиля UriG
UriG3 месяцев назад

This is awesome!

Фото профиля smyanthota
smyanthota3 месяцев назад

@yacineMTB What a legend

Фото профиля Shubham Arora
Shubham Arora3 месяцев назад

Very cool!

Фото профиля Isha
Isha3 месяцев назад

Absolutely insane

Фото профиля Laythe
Laythe3 месяцев назад

is this a sign to learn cuda

Похожие видео