Skip to content
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 #22

Open
gpravi opened this issue Jun 11, 2023 · 2 comments
Open

RuntimeError: CUDA error: an illegal memory access was encountered #22

gpravi opened this issue Jun 11, 2023 · 2 comments

Comments

@gpravi
Copy link

gpravi commented Jun 11, 2023

falcontune generate     --interactive     --model falcon-40b-instruct-4bit     
--weights gptq_model-4bit--1g.safetensors     --max_new_tokens=50     
--use_cache     --do_sample     
--instruction "Who was the first person on the moon?"

...
RuntimeError: CUDA error: an illegal memory access was encountered

While trying to generate on a multiple GPU machine encountered the above error

@gpravi
Copy link
Author

gpravi commented Jun 11, 2023

So just using 1 GPU with the following, export CUDA_VISIBLE_DEVICES=1

@hvico
Copy link

hvico commented Aug 19, 2023

Same here, two 3090 and falcontune crashes with the same CUDA illegal memory access error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants