You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reacted by deadmeu, Aurélien, Alphons Jaimon, Nikolai Kolodziej, Snuupy, Alessandro Re, Priyavadan Kumar, abb128, 林博仁 Buo-ren Lin, Alexander I.Grafov and 10 more
Technically yes - support for AMD and Intel GPUs are possible through each vendor's respective implementation of Triton. The OSS version however relies on bitsandbytes, which only supports CUDA.
I successfully ran Unsloth on the MI210 GPU. The issue was related to Triton’s constraints, where the block size and warp size must not exceed (2^{14}) and 16, respectively.
Activity
danielhanchen commentedon Dec 16, 2023
Technically yes - support for AMD and Intel GPUs are possible through each vendor's respective implementation of Triton. The OSS version however relies on bitsandbytes, which only supports CUDA.
asmith26 commentedon Oct 6, 2024
Looks like bitsandbytes now supports AMD :) https://x.com/Tim_Dettmers/status/1841151115326570639
shimmyshimmer commentedon Oct 6, 2024
Fantastic news - will do when we get the time however it will be lower priority for now.
[-]AMD GPU[/-][+][Feature Request] AMD GPU[/+]sayanmndl commentedon Oct 29, 2024
I successfully ran Unsloth on the MI210 GPU. The issue was related to Triton’s constraints, where the block size and warp size must not exceed (2^{14}) and 16, respectively.
Here’s the commit implementing HIP support: Commit for HIP Support
Branch: Unsloth HIP
Environment Details:
Relevant Pip Packages:
triton==3.1.0(official Triton)pytorch-triton==0.0.1pytorch-triton-rocm==3.1.0torch==2.5.1+rocm6.2bitsandbytes==0.43.3.dev0(from official ROCm)huggingface==0.0.1transformers==4.44.2trl==0.11.1xformers==0.0.29+77c1da7f.d20241019(from official ROCm)Feedback appreciated!
Alfeusg commentedon Nov 19, 2024
What do you mean by a package being from "(from official ROCm)"
How exactly can I install these specific packages/versions for ROCm 6.2?
sayanmndl commentedon Nov 19, 2024
@Alfeusg please check: ROCm documentation for ML Acceleration
kostich commentedon Jan 12, 2025
Hi folks,
What's the status of using Unsloth with AMD GPUs (7900 XTX to be precise)?
Should I bother with trying to get the @sayanmndl21 adapted for it or no?
Cheers.
danielhanchen commentedon Jan 14, 2025
Sorry we haven't yet worked on AMD - some Discord members say it works, but we have not confirmed it yet
StasonJatham commentedon Feb 6, 2025
Thank you for the update. ⭐️
I am hyped for the offical release
Update compiler.py (unslothai#37)
Update compiler.py (unslothai#37)
Update compiler.py (unslothai#37)
ai-nikolai commentedon Aug 25, 2025
@sayanmndl @rolandtannous what is the status with this PR / Issue? Does this now work?
electron271 commentedon Sep 6, 2025
i have started work on getting unsloth on rocm working in #3279 if you want to test that
kostich commentedon Mar 13, 2026
Folks, thank you for your great work! 🎉
Studio sd.cpp: pin the prebuilt resynced with upstream master-1056 (u…