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

feat: add ability to allocate multiple GPUs to runner container #189

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

ad-astra-video
Copy link
Collaborator

This commit allows adding multiple GPUs to a runner container. The -nvidia flag in go-livepeer startup can specify multiple gpus by adding a | between the gpu IDs.

-nvidia 0|1|2,2 will allocate GPUs 0,1 and 2 to first block in aiModels.json. GPU 2 will be allocated to second block in aiModels.json.

An extra note, you can control what GPUs are allocated to aiModels.json blocks by the order of the GPUs in the nvidia flag. -nvidia 1,0 will allocate GPU 1 to first aiModels.json block and GPU 0 to second aiModels.json block.

… (e.g. 0|1|2,3 - GPUs 0,1,2 would be allocated to first aiModels.json runner)
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.

1 participant