-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does fine-tuning support the multi-GPU training? #20
Comments
Same issue for me as well. |
Am just doing with single gpu for now but running into OOM issue - #19 |
I have the same issue , device_map=auto does not work for training. I guess we should copy tokenizer to each and all devices ? Why does device_map=auto can not handle this ? |
Same here. While training on multi-GPU I get the following error:
|
It seems it doesn't rely on Accelerate framework. An easy quick win would be to rely on the new HuggingFace SFT Trainer instead: https://huggingface.co/docs/trl/sft_trainer |
Does fine-tuning support the multi-GPU training?
When trying to fine-tune with multiple GPUs, got the following error.
The text was updated successfully, but these errors were encountered: