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.