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

quantizing qwen2.5-0.5B with 3 cards throw error at evaluation while 2 cards is ok. #413

Closed
wenhuach21 opened this issue Jan 15, 2025 · 1 comment
Assignees

Comments

@wenhuach21
Copy link
Contributor

wenhuach21 commented Jan 15, 2025

RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:2 and cuda:0! (when checking argument for argument index in method wrapper_CUDA__index_select)
Running loglikelihood requests: 0%|

CUDA_VISIBLE_DEVICES=1,2,3 python3 -m auto_round --model "/models/Qwen2.5-0.5B-Instruct" --format "auto_awq" --device "0,1,2" --tasks piqa --iters 1

@wenhuach21 wenhuach21 changed the title quantized qwen2.5-0.5B with 3 cards throw error at evaluation while 2 cards is ok. quantizing qwen2.5-0.5B with 3 cards throw error at evaluation while 2 cards is ok. Jan 15, 2025
@wenhuach21
Copy link
Contributor Author

#419

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