-
Notifications
You must be signed in to change notification settings - Fork 29
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
Disable gpu support for some services #25
Comments
Hi @MrZoidberg sorry I couldn't get back on this earlier. I am open for suggestion on how to best indicate to disable GPU on a service in the docker compose file. |
@eywalker cool, thanks! I think using labels to disable/enable GPU should be straightforward |
Thinking further about this, I'm thinking that it is probably most intuitive to simply accept a version: '3'
services:
my_non_gpu_service:
build: .
enable_cuda: false To stay compatible with previous versions, I'll play around a bit with other implementations before committing to this solution though. |
@MrZoidberg |
How can I disable GPU support for some services in my docker-compose file while still having one service run with GPU support?
The text was updated successfully, but these errors were encountered: