Skip to content

fix(fish-speech): preserve ROCm PyTorch - #11568

Merged
mudler merged 1 commit into
masterfrom
cron/fix-11563-rocm-fish-speech-20260817
Aug 18, 2026
Merged

fix(fish-speech): preserve ROCm PyTorch#11568
mudler merged 1 commit into
masterfrom
cron/fix-11563-rocm-fish-speech-20260817

Conversation

@localai-org-maint-bot

Copy link
Copy Markdown
Collaborator

Description

This PR fixes #11563.

The fish-speech installer now removes upstream torch and torchaudio pins only for hipBLAS builds. The editable source install therefore keeps the ROCm wheels selected by requirements-hipblas.txt. CPU and CUDA builds keep the existing upstream pins.

The default fish-speech build target runs a lightweight regression test for ROCm, CUDA, and CPU dependency preparation.

Closes #11563

Notes for Reviewers

Focused verification:

make -C backend/python/fish-speech test-source-preparation
bash -n backend/python/fish-speech/{install.sh,test.sh,prepare-source.sh,prepare-source_test.sh}

A full backend image build was not run locally because it downloads the fish-speech model stack. Backend CI exercises the default build target.

Signed commits

  • Yes, I signed my commits.
  • Documentation updated (docs/content/) for user-facing changes, or not applicable

The upstream editable install pins generic PyTorch packages. It
replaces the HIP wheels with CUDA wheels in ROCm images.

Remove those pins only for hipBLAS builds before the editable install.
Keep the existing CPU and CUDA dependency behavior unchanged.

Assisted-by: Codex:gpt-5
@mudler
mudler merged commit 411fdf1 into master Aug 18, 2026
62 of 63 checks passed
@mudler
mudler deleted the cron/fix-11563-rocm-fish-speech-20260817 branch August 18, 2026 06:58
@localai-bot localai-bot added the bug Something isn't working label Aug 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

rocm-fish-speech backend ships a CUDA build of PyTorch, never uses the GPU on AMD/ROCm

3 participants