Sign inSign up

mgmacleod8/audiocraft-plus

By mgmacleod8

•Updated over 2 years ago

Audiocraft Plus in a Docker container.

Image
0

892

mgmacleod8/audiocraft-plus repository overview

Audiocraft Plus⁠ in a Docker container.

I run it with Docker Compose:

version: '3.9'

services:
  audiocraft:
    image: mgmacleod8/audiocraft_plus:latest
    container_name: audiocraft_plus
    ports:
      - "6860:6860"
    volumes:
      - /path/to/store/model/cache:/hfcache
    stop_signal: SIGKILL
    tty: true
    deploy:
      resources:
        reservations:
          devices:
            - driver: nvidia
              device_ids: [ '0' ]
              capabilities: [ compute, utility ]

In theory, there is a models folder in the root of the repo (at /audiocraft_plus/models in the container) where you should be able to place models to avoid having it download models from HuggingFace automatically. I couldn't get this to work, so I just set up the HuggingFace cash in the image and then I mount a volume on that folder (/hfcache) when running it.

Tag summary

Content type

Image

Digest

sha256:2be4db44b…

Size

3.8 GB

Last updated

over 2 years ago

docker pull mgmacleod8/audiocraft-plus