MedQA 临床 AI 在 AMD MI300X 上使用 ROCm 完成微调
一款新的临床 ai 模型完全在 amd 硬件上使用 rocm 进行了微调,证明了 huggingface 生态系统无需 cuda 即可运行。该基于 qwen3-1.7b 的模型在 5 分钟内训练了 2000 个样本。
A project named MedQA successfully fine-tuned a clinical question-answering model using only AMD hardware and the ROCm software stack. Built on a single AMD Instinct MI300X with 192 GB of HBM3 memory, the pipeline fine-tuned Qwen3-1.7B using LoRA without any CUDA dependencies or code changes. Training on 2,000 MedMCQA samples took approximately 5 minutes, utilizing full fp16 precision to avoid quantization. The resulting model generates answers and clinical explanations for medical multiple-choice questions, validating that the HuggingFace ecosystem—including Transformers, PEFT, and TRL—operates seamlessly on ROCm.