Skip to content

T-404: Soften AMD ROCm Windows warning for RX 6000 series#137

Open
phattbeats wants to merge 12 commits intodevnen:mainfrom
phattbeats:feature/rocm-windows-support
Open

T-404: Soften AMD ROCm Windows warning for RX 6000 series#137
phattbeats wants to merge 12 commits intodevnen:mainfrom
phattbeats:feature/rocm-windows-support

Conversation

@phattbeats
Copy link
Copy Markdown

T-404: Soften ROCm Windows warning for RX 6000 series users

What this does:

Updates the AMD GPU Issues section in README.md to add an escape hatch for users with AMD Radeon RX 6000 series (gfx1030/gfx1031/gfx1032) GPUs on Windows.

Before:

*   **ROCm not working on Windows:**
    - ROCm only supports Linux - use CPU mode on Windows with AMD GPUs
    - The launcher will warn you if you select ROCm on Windows

After:

*   **ROCm not working on Windows:**
    - ROCm only supports Linux by default - use CPU mode on Windows with AMD GPUs
    - **RX 6000 series exception:** An unofficial fork ([phatt-tech/Chatterbox-TTS-Server](https://github.com/phatt-tech/Chatterbox-TTS-Server)) adds AMD ROCm support for Windows (gfx1030/gfx1031/gfx1032) via `python start.py --rocm-windows`. See that fork's [PHATT_FORK.md](https://github.com/phatt-tech/Chatterbox-TTS-Server/blob/feature/rocm-windows-support/PHATT_FORK.md) for details. This is experimental and not supported by devnen.
    - The launcher will warn you if you select ROCm on Windows

Why:
The current warning sends RX 6000 users to a dead end. The fork exists and works for users who need it. This change does not endorse Windows ROCm — it just routes users who need it to the right place. The upstream warning is preserved for all other AMD GPUs on Windows.

Changed file:

  • README.md (one section in AMD GPU Issues)

Claude Van Dam and others added 12 commits April 19, 2026 20:00
Adds experimental --rocm-windows flag for AMD Radeon RX 6000 series (gfx1030/1031/1032):
- engine.py: disable cudnn/MIOpen on gfx103X Windows (HIP 0xC0000005 fix)
- utils.py: soundfile fallback when torchaudio.save fails on torchaudio 2.9+
- requirements-rocm-windows.txt: pins 7 guinmoon wheels from phatt.vip
- start.py: --rocm-windows argument + pre-flight GPU check + experimental banner

Upstream watermarker patch (T-302) already exists in start.py (_patch_chatterbox_watermarker) — confirmed idempotent.

Note: T-307 smoke test requires Brandon to run on his hardware.
MIT from guinmoon + credit to AMD TheRock/guinmoon/devnen.
Disclaimer: best-effort, no warranty, not commercial.
Files ready for deployment to wheels.phatt.vip once T-202 (upload wheels) is complete.
Full install guide, hardware requirements, troubleshooting,
known limitations, upstream tracking instructions, credits.
These provide a user-friendly double-click launcher for Windows users:
- start.bat: launches start.py (CPU/CUDA)
- start-rocm.bat: launches start-rocm.py (AMD ROCm GPU)
- start-rocm.py: two-step install (ROCm wheels first, then deps)

Based on devnen v1.0.0 start.bat/start.py pattern.
- ROCM_WINDOWS_INSTALL.md: superseded by PHATT_FORK.md + start.py --rocm-windows
- docs/ROCM_WINDOWS.md: content duplicated in PHATT_FORK.md
…instead

Two bugs fixed:

1. Bug: start.py imported torch at line 2716 BEFORE pip install completed.
   If pip install failed (torch 2.5.1 not at PyTorch ROCm index),
   the script fell through to main() and crashed with 'No module named torch'.
   Fix: Removed premature torch import from pre-flight check. GPU detection
   for rocm-windows now uses _detect_amd_gpu_windows() directly (no torch needed).

2. Bug: requirements-rocm-windows.txt pointed to wheels.phatt.vip pip index
   which is offline. Wheels are on GitHub releases instead.
   Fix: install_rocm_windows_wheels() now fetches 5 wheel assets (~2.4 GB)
   from https://github.com/phattbeats/Chatterbox-TTS-Server/releases/tag/v0.1.0-rocm-wheels
   and installs them via pip install --no-index --find-links <local_dir>.
   This works without any pip index lookup.

Also updated:
- perform_installation(): skips requirements file for rocm-windows (wheels done in install_rocm_windows_wheels)
- requirements-rocm-windows.txt marked deprecated (file kept for reference)
- PHATT_FORK.md updated to reflect GitHub release download flow
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant