Hacker News new | ask | show | jobs
by d_tr 20 days ago
I am just starting Raschka's book to write an llm from scratch in C++ with zero dependencies with avx-512 on a 9950x, and then I'd like to go through the literature for more advanced stuff.

I don't know what Jax is exactly but while I am aware that the algorithm implementation is not something terribly complicated, 200 lines still sounds impressive.

If anyone wants to share any tips, they're welcome.

1 comments

you can think of JAX as numpy with automatic gradients and a compiler so no backward pass or going into kernels was needed. also, Raschka's book is excellent! you should also check out his model comparison primer that's awesome + you can go on to https://jax-ml.github.io/scaling-book/ next
Thanks, I will definitely check these out!