-
Notifications
You must be signed in to change notification settings - Fork 248
Easily Specify torch GPU versions in Dockerfile #85
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
base: main
Are you sure you want to change the base?
Conversation
|
👍 ? |
Not needed and broken
|
The requirements.txt in the docker was kind of broken So I removed it and also moved the Dockerfile and docker-compose to the main repo dir which is where they are suppose to be |
|
I added the app.py but im getting |
|
It appears more work may be needed to get the app.py to work or something. But the torch additions to the dockerfile for the requirements.xt should work I'll get back to this when I find free time |
You can now easily make the Dockerfile build for different Torch GPU versions
Examples ->
Default:
Specifying a GPU build option:
docker build --build-arg TORCH_VERSION=cuda11 -t diffrhythm-image .TORCH_VERSIONOptions =cuda12,cuda128,cuda11,rocm,xpu,cpu