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
@drewskidang The open source one currently doesn't support multi GPU - we're working on it for a future release - you can still install Unsloth, but internally we'll defualt to using 1 GPU.
@danielhanchen What happens if we train via DDP using your LoRA implementation (with custom triton back-prop). The gradients are computed independently on each device and then synchronized. Does that work correctly here using the open-source implementation. FSDP is obviously more complex, is that part of the additional tiers Pro/Max? thanks!
we are in the process of evaluating libraries for LLM pre training(domain adaptation)/fine tuning...so if you can provide us any update on mult gpu it will be of great help.
Sorry its been absolutely hectic recently, and unfortunately it's a 2 person team (my brother and I), so I really can't work on everything all at once - please be patient! I would suggest temporarily to simply use HuggingFace itself without Unsloth for multi GPU in the meantime
@juanestebantauticolombia Apologies on the delay! Yes we're working on releasing it soon - we completed a community test, so hopefully we can provide it to the community!
@juanestebantauticolombia Apologies on the delay! Yes we're working on releasing it soon - we completed a community test, so hopefully we can provide it to the community!
Super, that's great news, and do you have a tentative date?
Unsloth currently does not support multi GPU setups - but we are working on it!
Multiple CUDA devices detected but we require a single device.
We will override CUDA_VISIBLE_DEVICES to first device: 0.
Multi-GPU support is a crucial feature, and many open-source LLM framework Nemo, accelerate, collossal AI put a lot of optimization on it. Hope Slot can support multi-gpu training soon.
Reacted by Steve, jday96314, Alex Reichenbach, Jun ZENG, Lissanro Rayen, Ziyang Cai, binarrii, Yang Zhuo, thiagoribeiro81 and Aviv Shamsian
Activity
danielhanchen commentedon Dec 15, 2023
@drewskidang The open source one currently doesn't support multi GPU - we're working on it for a future release - you can still install Unsloth, but internally we'll defualt to using 1 GPU.
vgoklani commentedon Dec 19, 2023
@danielhanchen What happens if we train via DDP using your LoRA implementation (with custom triton back-prop). The gradients are computed independently on each device and then synchronized. Does that work correctly here using the open-source implementation. FSDP is obviously more complex, is that part of the additional tiers Pro/Max? thanks!
danielhanchen commentedon Dec 19, 2023
@vgoklani Hey! We're working on adding DDP support in a later release!
debashis1983 commentedon May 1, 2024
any updates on the multi gpu training plz.
debashis1983 commentedon May 1, 2024
we are in the process of evaluating libraries for LLM pre training(domain adaptation)/fine tuning...so if you can provide us any update on mult gpu it will be of great help.
danielhanchen commentedon May 4, 2024
Sorry its been absolutely hectic recently, and unfortunately it's a 2 person team (my brother and I), so I really can't work on everything all at once - please be patient! I would suggest temporarily to simply use HuggingFace itself without Unsloth for multi GPU in the meantime
juanestebantauticolombia commentedon Oct 2, 2024
Hi, is there any update on the feature of adding multiple gpu's for unsloth training?
danielhanchen commentedon Oct 9, 2024
@juanestebantauticolombia Apologies on the delay! Yes we're working on releasing it soon - we completed a community test, so hopefully we can provide it to the community!
juanestebantauticolombia commentedon Oct 10, 2024
Super, that's great news, and do you have a tentative date?
BenBatsir commentedon Oct 22, 2024
Any updates on this one?
zhangmozhe commentedon Jan 9, 2025
Any update on this?
steveepreston commentedon Jan 12, 2025
Installed nightly version via git, still saying:
Warning
Unsloth currently does not support multi GPU setups - but we are working on it!
Multiple CUDA devices detected but we require a single device.
We will override CUDA_VISIBLE_DEVICES to first device: 0.
so sad
zhangmozhe commentedon Jan 13, 2025
Multi-GPU support is a crucial feature, and many open-source LLM framework Nemo, accelerate, collossal AI put a lot of optimization on it. Hope Slot can support multi-gpu training soon.
JackCai1206 commentedon Feb 23, 2025
+1
AvivSham commentedon May 5, 2025
@danielhanchen any updates on this one?
Ghani-25 commentedon May 6, 2025
+1
steveepreston commentedon May 9, 2025
not yet :(
rolandtannous commentedon Jun 6, 2025
@AvivSham @BenBatsir @Ghani-25 @JackCai1206 @Lissanro @NeonBohdan @Reichenbachian @binarrii @bks5881 @debashis1983 @drewskidang @ghsama @jday314 @jday96314 @juanestebantauticolombia @jun-zeng @kldzj @little1d @matbee-eth @noahclements @steveepreston @thiagoribeiro81 @user-0a @vgoklani @vimmoos @zhangmozhe
We're working on it. Should be released soon.
meanwhile have you tried accelerate?
merging this thread with #2435
Feel free to leave your comments and follow up questions there
thank you!
Fix Mistral, Qwen (unslothai#36)
Fix Mistral, Qwen (unslothai#36)
Fix Mistral, Qwen (unslothai#36)
Block Swap blocker: offload_layers never engages on Qwen3.8-Flash-Nex…
Studio sd.cpp: pin the prebuilt resynced with upstream master-1056 (u…