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

Change GPU configuration to match current docker-compose specs #1

Merged
merged 4 commits into from Dec 26, 2020

Conversation

bikol
Copy link
Contributor

@bikol bikol commented Nov 30, 2020

This PR rewrites the jupyther service configuration to utilize the new GPU syntax recently merged into docker-compose (docker/compose#7929)

@bikol bikol marked this pull request as ready for review November 30, 2020 14:05
devices:
- 'driver': 'nvidia'
'count': 1
'capabilities': ['gpu', 'utility']
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When specifying both 'gpu' and 'utility', CUDA is not available to PyTorch. Use only 'gpu'.

@visheratin visheratin merged commit 3e68098 into visheratin:master Dec 26, 2020
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.

None yet

2 participants