Expand description
xil setup — build the venv a local ML worker runs under. Port of
XILU023_setup.py.
chatterbox—venv-chatterboxfor the Chatterbox Turbo TTS worker: PyTorch,chatterbox-ttsandpydub.whisper—venv-whisperforxil stem-verify:faster-whisper(CTranslate2, no PyTorch).mmaudio—venv-mmaudiofor--sfx-backend mmaudio: a pinned clone of hkchengrex/MMAudio installed editable, then PyTorch re-pinned afterwards (MMAudio’s unboundedtorchpulls a CUDA 13 build).
Structs§
- Args 🔒
- Opts 🔒
- Spec 🔒
- One
xil setuptarget.repo(URL, ref) is cloned next to the venv asMMAudioand installed editable beforepackages;torchis installed last so it wins over whateverpackagespulled in. - Step 🔒
Enums§
Constants§
- CHATTERBOX 🔒
- MMAUDIO 🔒
- MMAudio pins numpy<2.1, which has no Python 3.13 wheels: default to 3.12.
- MMAUDIO_
WEIGHTS 🔒 - The checkpoint of the worker’s model (
mmaudio_worker._DEFAULT_VARIANT). - WHISPER 🔒
Functions§
- command
- The clap definition behind
--help, for man pages. - detect_
cuda 🔒 - device_
name 🔒 - execute 🔒
- find_
installer 🔒 - find_
on_ 🔒path - header 🔒
- index_
url 🔒 - needs_
clone 🔒 - next_
steps 🔒 - no_
gpu_ 🔒warning - plan 🔒
- repo_
dir 🔒 - The MMAudio clone sits beside its venv.
- run
- target_
dir 🔒 - Where the venv goes:
--dir, else$XIL_CODEROOT, else the workspace. The same placesresolve_venv_pythonsearches. - use_
cuda 🔒 - venv_
parent 🔒 - The directory that holds the venv (Python’s
os.path.dirname). - venv_
python 🔒 - verify 🔒
Some(gpu_available)when the venv imports everything the worker needs.