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

Add multi-GPU support to HuggingFaceClient #2762

Merged
merged 5 commits into from
Jun 21, 2024
Merged

Conversation

yifanmai
Copy link
Collaborator

Add multi-GPU support to HuggingFaceClient via Hugging Face Accelerate. To use multi-GPU support, set device_map to auto in the model deployment.

Also enable multi-GPU support for some large Hugging Face models.

@yifanmai yifanmai requested a review from farzaank June 19, 2024 17:31
@yifanmai yifanmai merged commit 3d1a817 into main Jun 21, 2024
9 checks passed
@yifanmai yifanmai deleted the yifanmai/fix-hf-device branch June 21, 2024 21:55
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

Successfully merging this pull request may close these issues.

2 participants