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

CUDA device rank in mii.pipeline #503

Open
RealPolitiX opened this issue Jul 9, 2024 · 0 comments
Open

CUDA device rank in mii.pipeline #503

RealPolitiX opened this issue Jul 9, 2024 · 0 comments

Comments

@RealPolitiX
Copy link

RealPolitiX commented Jul 9, 2024

Is there a way to specify cuda device rank in mii.pipeline? I'm currently using deepspeed-mii version 0.2.3, which is released in March 2024. I tried adding model_config={"device_map":[1]}, but this still runs on the first gpu (rank 0).

The full line is mii.pipeline("mistralai/Mistral-7B-Instruct-v0.1", model_config={"device_map":[1]})

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

1 participant