News for hackers. Stuff that matters.
Re:We fine-tuned Llama 405B on AMD GPUs by lhl on Tuesday September 24, 2024 @03:04AM (#41633839)
While your project is neat and I'd like to see how the performance compares, for LLM training, PyTorch, including torch.compile works completely OOTB on AMD.

All you have to do is pip install the ROCm version of PyTorch (or run the docker image) and it's seamless (the ROCm version just treats torch.cuda as calling ROCm).

I've used axolotl (trl/accelerate based), torchtune, and LLaMA-Factory, which are all PyTorch-based without any issues for training.

There are no comments on this comment yet.