We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
An example of a model that uses multiple gpus at the same time, or we should have a way to make this easy to use
No response
The text was updated successfully, but these errors were encountered:
@bentoml.service(resources={"gpu": 4}) class MyService: ...
And it will inject CUDA_VISIBLE_DEVICES=0,1,2,3 into the environment
CUDA_VISIBLE_DEVICES=0,1,2,3
Sorry, something went wrong.
Will it automatically schedule and use all gpus at the same time?
What automation do you mean, that is all it does and it depends on how the framework respects the env var.
No branches or pull requests
Feature request
An example of a model that uses multiple gpus at the same time, or we should have a way to make this easy to use
Motivation
No response
Other
No response
The text was updated successfully, but these errors were encountered: