Qwen2.5‑3B QLoRA on RDNA3: Verified ROCm 6.1 Training Pipeline + Install Guide

Hiya,

I published a fully RDNA3‑safe QLoRA training pipeline for Qwen2.5‑3B on ROCm 6.1, including a complete Ubuntu 24.04 install guide, RDNA3 stability fixes, and a reproducible training workflow to share.

Repo: https://github.com/thejeangenie18/rocm-7700xt-qlora

This includes:

  • ROCm‑safe PyTorch install for Ubuntu 24.04
  • RDNA3 stability overrides (Beat‑k / BEATEK_ROCm)
  • 4‑bit NF4 QLoRA training on 12GB VRAM
  • LoRA merge into a standalone fp16 model
  • Clean JSONL dataset format

Posting here in case it helps other RDNA3 users or anyone doing local QLoRA training on AMD GPUs. Generous shoutout to BEATEK for the RDNA3 environment overrides that made the training pipeline fully stable.

Happy to compare notes with anyone else training models on RDNA3 or tuning ROCm for AI workloads.

Take care. Beware the pipeline rats.

J

2 Likes

Hey, thanks for sharing and this looks really clean and well-documented. Love that it’s an actual reproducible pipeline with verified build info (gfx1101 / ROCm 6.1 / kernel 6.8.0-49) instead of vague “it works on my machine” notes :D. That kind of specificity is exactly what RDNA3 people need. Quick question, the README mentions BitsAndBytes NF4 in the features but the description says Quanto 4-bit, which one does the training path actually use?

Oh thank you., It uses Quanto 4-bit. I need to remove bitsandbytes NF4 references. Bitsandbytes is not compatible due to triton issues with the RDNA3 kernel.

2 Likes