-
Notifications
You must be signed in to change notification settings - Fork 823
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
RuntimeError: CUDA error: an illegal memory access was encountered #82
Comments
I got this as well today |
What's your torch version. I use torch 2.0 at first and got same problem, then I degraded it to 1.13.1 and works well. Hope helpful |
I also got this when using It looks like it can also be fixed by downgrading torch but I haven't verified it. |
Which hf conversion please |
latest (nigthly )torch 2.0 same error ,but --per_device_train_batch_size 2 --gradient_accumulation_steps 1 ok, --per_device_train_batch_size set 3 then an illegal memory access was encountered |
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ torch 1.13.1 also error |
Qlora LLaMa 13B
The text was updated successfully, but these errors were encountered: