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

balanced_low_0 Related Issue During Inference #89

Closed
mshen2 opened this issue Dec 11, 2023 · 1 comment
Closed

balanced_low_0 Related Issue During Inference #89

mshen2 opened this issue Dec 11, 2023 · 1 comment

Comments

@mshen2
Copy link

mshen2 commented Dec 11, 2023

Hi, I noticed in scripts/eval/bbh.sh, if two or more CUDA devices are available, for example, CUDA_VISIBLE_DEVICES=0,1, it will give "Expected all tensors to be on the same device, but found at least two devices" error. If using auto instead of balanced_low_0 for device_map, then it is fine. I am wondering probably I am missing something? Thanks!

@hamishivi
Copy link
Collaborator

Hi - are you still having this issue? I recommend using vllm if you can, since it is much faster.

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