-
Notifications
You must be signed in to change notification settings - Fork 249
Docker support #134
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?
Docker support #134
Conversation
|
Examples with the container from my fork: Running in CLI mode: Running webapp: |
|
Waiting on build to fix this: |
|
Should work now :) |
|
Got one more issue, when portforwarding the webapp port, i can not access it outside the container. Maybe i should run the app.py on 0.0.0.0 or something? Not sure yet. |
|
Hi @tuxx, I tried the docker image build locally and get a "This page isn’t working right now
|
I think the app should be running on 0.0.0.0 to make this work. Havent been working on this tho 😅 |
Hiya,
I got a working Dockerfile that builds the container with GPU support.
Also added github actions to publish the container when a new tag has been pushed.
The resulting docker container URL would be:
ghcr.io/haoheliu/AudioLDM/audioldm:latestWhat needs to be done
What i can do
Update READMEHow to use the containerExplaining that you need nvidia-container-toolkit for running this with dockerFix the buildWhat repo maintainer should do
Make sure your repository has "Read and write permissions" enabled for workflows (in repository settings under Actions → General)-- (In my forked repo this setting was already enabled)Running it locally
docker build -t audioldm:gpu .docker run --gpus all -v $(pwd)/output:/app/output audioldm:gpu --text "spaceship shooting 1 bullet" -dur 2.5 --save_path /app/outputOutput (Removed some python futurewarnings, etc for readability):