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

Specify multiple gpus for deepspeed, accelerate, etc. #121

Open
kaifronsdal opened this issue Jan 24, 2024 · 0 comments
Open

Specify multiple gpus for deepspeed, accelerate, etc. #121

kaifronsdal opened this issue Jan 24, 2024 · 0 comments

Comments

@kaifronsdal
Copy link

I was wondering if there was a good way to specify which GPUs deepspeed, accelerate, etc. should utilize. Right now I've been doing something like:

CUDA_VISIBLE_DEVICES=3,4,5 python -m manifest.api.app --model_type huggingface --model_name_or_path EleutherAI/gpt-j-6B --device 0 --use_accelerate_multigpu

Can the devices be specified as an argument?

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