-
-
Notifications
You must be signed in to change notification settings - Fork 871
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
added docker-compose file #146
Conversation
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.
I don't see the purpose of a docker-compose when we only have/need a single container
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.
lgtm
- driver: nvidia | ||
# count: 1 | ||
capabilities: [gpu] | ||
command: tail -f /dev/null |
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.
is this the correct command for local dev?
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.
command: tail -f /dev/null
keeps the container running otherwise it will shutdown immediately
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.
👍 sgtm, I may change it to use sleep infinity down the line, https://stackoverflow.com/a/35770783
if you have a way to just use a docker build/run command I'm more than happy to use that |
Thanks @FarisHijazi !!! |
added docker-compose file
simple docker file for development. It has a volume to use the code and also a volume for ~/.cache/huggingface so that it can use downloaded models