Pocket Voice Cleanup Demucs Htdemucs Coreml
Core ML export of the real-valued separator core from Meta's Demucs 4.0.1 htdemucs model.
Fuente del modelo
- Tipo
- Other
- Tamaño del archivo
- 99,8 MB
- Versión
- vRevision eb960d7
- Actualizado
- 11 oct 2026
- Descargas
- 8
- Fuente
- Hugging Face
Descripción de la fuente
HTDemucs Core ML Voice Cleanup
Core ML export of the real-valued separator core from Meta's Demucs 4.0.1
htdemucs model.
Model choice
Demucs 4.0.1 is still the latest stable Demucs release. The upstream repository
documents an unreleased 4.1.0a1 section, but the stable package remains 4.0.1.
The base htdemucs checkpoint is used here instead of htdemucs_ft because the
fine-tuned variant is a heavier bag of per-source models.
Upstream model details:
- Demucs version:
4.0.1 - Model id:
htdemucs - Checkpoint:
955717e8 - Source order:
drums,bass,other,vocals - Vocals source index:
3 - Weights: upstream Demucs
htdemucs
Why this is a separator-core export
The full waveform HTDemucs graph uses complex-valued STFT and ISTFT tensors.
Core ML does not accept those complex tensors through the PyTorch converter, so
the export boundary is the internal cac=True separator boundary:
- Preprocessing performs the Demucs STFT and feeds real/imaginary channels.
- Core ML runs the learned separator core.
- Postprocessing reconstructs the vocals waveform and downmixes it.
Files
manifest.json: runtime preprocessing contract.htdemucs_separator_core.mlpackage: Core ML model package.scripts/export_htdemucs_coreml_core.py: export script used to generate the Core ML package and manifest.
The package was exported with coremltools as an ML Program targeting iOS 26
and checked with xcrun coremlcompiler compile.
Reference processing flow
- Decode the input sample to PCM.
- Resample to 44.1 kHz.
- Duplicate mono to stereo.
- Chunk and pad to
343980samples. - Build the Demucs STFT tensor.
- Run the Core ML model.
- Reconstruct the vocals stem.
- Downmix to mono.
License
This Core ML package contains the upstream Demucs htdemucs weights, which are
provided for research purposes only under the upstream Demucs terms.
Fuentes
1 fuente
Fuentes
1 fuenteVerificado 14 ago
Artefactos del modelo
1 artefacto
Artefactos del modelo
1 artefactohtdemucs_separator_core.mlpackage/Data/com.apple.CoreML/weights/weight.bin
bin · 99,8 MB · SHA-256 2575fe7ab6e4…19ff · Hugging Face
DescargarExtractos de fuentes
2 extractos
Extractos de fuentes
2 extractos--- license: other tags: - coreml - demucs - audio-source-separation - ios pipeline_tag: audio-to-audio --- # HTDemucs Core ML Voice Cleanup Core ML export of the real-valued separator core from Meta's Demucs 4.0.1 `htdemucs` model. ## Model choice Demucs 4.0.1 is still the latest stable Demucs release. The upstream repository documents an unreleased `4.1.0a1` section, but the stable package remains 4.0.1. The base `htdemucs` checkpoint is used here instead of `htdemucs_ft` because the fine-tuned variant is a heavier bag of per-source models. Upstream model details: - Demucs version: `4.0.1` - Model id: `htdemucs` - Checkpoint: `955717e8` - Source order: `drums`, `bass`, `other`, `vocals` - Vocals source index: `3` - Weights: upstream Demucs `htdemucs` ## Why this is a separator-core export The full waveform HTDemucs graph uses complex-valued STFT and ISTFT tensors. Core ML does not accept those complex tensors through the PyTorch converter, so the export boundary is the internal `cac=True` separator boundary: - Preprocessing performs the Demucs STFT and feeds real/imaginary channels. - Core ML runs the learned separator core. - Postprocessing reconstructs the vocals waveform and downmixes it. ## Files - `manifest.json`: runtime preprocessing contract. - `htdemucs_separator_core.mlpackage`: Core ML model package. - `scripts/export_htdemucs_coreml_core.py`: export script used to generate the Core ML package and manifest. The package was exported with `coremltools` as an ML Program targeting iOS 26 and checked with `xcrun coremlcompiler compile`. ## Reference processing flow 1. Decode the input sample to PCM. 2. Resample to 44.1 kHz. 3. Duplicate mono to stereo. 4. Chunk and pad to `343980` samples. 5. Build the Demucs STFT tensor. 6. Run the Core ML model. 7. Reconstruct the vocals stem. 8. Downmix to mono. ## License This Core ML package contains the upstream Demucs `htdemucs` weights, which are provided for research purposes only under the upstream Demucs terms.
Source context: 8 downloads · 0 likes · Pipeline audio-to-audio · Repo reiscook/pocket-voice-cleanup-demucs-htdemucs-coreml
