News for hackers. Stuff that matters.
Re:We fine-tuned Llama 405B on AMD GPUs by logicchains on Tuesday September 24, 2024 @03:04AM (#41633835)
> I kept running out of memory (OOM) when trying to `jax.jit` the entire training step. Even gradual `jax.jit` didn't work.

Were you using activation checkpointing? https://jax.readthedocs.io/en/latest/_autosummary/jax.checkp... is very important for keeping memory usage reasonable when training large models.

There are no comments on this comment yet.