Skip to content
This repository was archived by the owner on Feb 23, 2026. It is now read-only.

stemrollerapp/demucs-cxfreeze

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Warning: this repo is now deprecated in favor of https://www.github.com/stemrollerapp/demucs

demucs-cxfreeze

Freezing demucs

With CUDA support (Windows & Linux)

pip3 install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu116 demucs SoundFile cx-Freeze

CPU only (Any OS)

pip3 install torch torchvision torchaudio demucs SoundFile cx-Freeze

And then:

cxfreeze main.py --target-dir=dist --target-name=demucs-cxfreeze --packages=torch --includes=demucs.htdemucs

Copy venv/Lib/site-packages/_soundfile_data to dist/lib/_soundfile_data

Additional Dependenices (should be shipped with frozen Demucs; not included with this repository's releases)

ffmpeg and ffprobe

The directory containing ffmpeg and ffprobe binaries should be added to the PATH environment variable in the environment in which demucs is run.

Windows

https://www.gyan.dev/ffmpeg/builds/ffmpeg-release-essentials.zip

macOS

Models

Downloaded models and their corresponding YAML file should be placed in a directory, and that directory should be passed to Demucs via the --repo command line argument.

htdemucs_ft

List of all filenames (in case you need a model other than htdemucs_ft)

https://raw.githubusercontent.com/facebookresearch/demucs/main/demucs/remote/files.txt

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages