Skip to content

v3.1.0: AMD GPUs (experimental)

Latest

Choose a tag to compare

@jotapemj jotapemj released this 16 Nov 18:49
· 1 commit to main since this release

AMD GPUs (experimental)

Fision runs on AMD cards through ROCm, on Linux. Separation, beats and
chords use the GPU; lyrics run on the CPU, because Whisper's engine has no
ROCm build.

  • Supported: RX 6800 and 6900, RX 7000 and RX 9000. Other RX 6000 cards may
    work with HSA_OVERRIDE_GFX_VERSION=10.3.0.
  • The host needs only the amdgpu kernel driver; ROCm comes inside the image.
  • There is no published image: compose.rocm.yaml builds it from the
    repository.
echo "FISION_RENDER_GID=$(getent group render | cut -d: -f3)" >> .env
docker compose -f compose.yaml -f compose.rocm.yaml up -d

Warning

The ROCm image takes about 25 GB, and the first build downloads about 7 GB
and needs around 60 GB of free disk.

This support has not been tested on real AMD hardware yet. Reports are
welcome as issues. See AMD GPUs
in the README.

Also in this release

  • GET /server/info and the admin panel report gpu_vendor (nvidia or
    amd).
  • doctor reports the GPU vendor, the PyTorch build (CUDA or ROCm) and the
    card's architecture, with vendor-specific fixes.
  • GPU warnings in the admin panel no longer assume NVIDIA.

Upgrading

git pull
docker compose pull && docker compose up -d

Nothing changes for NVIDIA and CPU installations.