-
Notifications
You must be signed in to change notification settings - Fork 0
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
Update spike sorting script #9
base: main
Are you sure you want to change the base?
Conversation
docker-compose-dev.yml
Outdated
runtime: nvidia | ||
devices: | ||
- "/dev/nvidia0:/dev/nvidia0" | ||
deploy: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@luiztauffer does this work on your side? I also found this solution, but docker compose was complaining
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@alejoe91 can you please check if you have docker compose > 2 installed?
otherwise, what is the error you find?
This seems to be the most current way to give containers access to GPU through compose, the other method, as you mentioned, seems to be deprecated (although it was still running fine for me, weirdly enough)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@alejoe91 another possible solution is this: https://docs.docker.com/config/containers/resource_constraints/#access-an-nvidia-gpu
can you please try and let me know if you needed to update your compose or if installing nvidia-container-runtime
solved for you? We should then include these requirements in the description of the project
change worker to docker proxy
@luiztauffer the
runtime
command was giving me troubles because I think it's deprecated.