Skip to content

Include sox in PyInstaller collection for Qwen TTS - #1205

Open
dlm0n666 wants to merge 1 commit into
jamiepine:mainfrom
dlm0n666:experiment/rocm-sox-packaging
Open

dlm0n666 wants to merge 1 commit into
jamiepine:mainfrom
dlm0n666:experiment/rocm-sox-packaging

Conversation

@dlm0n666

Copy link
Copy Markdown

Summary

Add sox to the PyInstaller collection in backend/build_binary.py.

The Qwen TTS code path imports the Python sox package. Explicitly collecting the package helps ensure it is included in the packaged VoiceBox server.

Change

  • Add --collect-all sox to the PyInstaller arguments used by the server build.

Testing context

This change was prepared during an experiment with VoiceBox on Windows 10 and an AMD Radeon RX 9070 XT using a PyTorch ROCm build.

In the separate experimental build, the GPU was detected and speech generation completed successfully. The original VoiceBox installation was kept unchanged.

These results describe one local setup and do not establish general ROCm or AMD GPU support.

Scope

This change addresses packaging of the Python sox dependency. It does not implement ROCm support by itself.

AI assistance disclosure

ChatGPT assisted with technical investigation, code analysis, and preparation of this patch. The change and supporting test observations should be reviewed by the maintainers before merging.

This branch has not been deployed

No deployments
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