Downloads · 30 days
551
35% of all-time downloads
cstr/htdemucs-GGUF
htdemucs-GGUF is a audio-to-audio model from cstr. Use it for the audio-to-audio task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
GGUF conversions of Meta's HTDemucs (Hybrid Transformer Demucs) for use with CrispASR.
Downloads · 30 days
551
35% of all-time downloads
All-time downloads
1.6K
Public
Repo size
178 MB
Likes
0
Public
Click a slice to open those files.
.gguf178 MB · 100%
From the Hugging Face model README
GGUF conversions of Meta's HTDemucs (Hybrid Transformer Demucs) for use with CrispASR.
HTDemucs is a state-of-the-art music source separation model that splits audio into 4 stems: drums, bass, other, and vocals.
| File | Quant | Size | Notes |
|---|---|---|---|
htdemucs-f16.gguf | F16 | 81 MB | Full precision (conv weights F16, norms/biases F32) |
htdemucs-q8_0.gguf | Q8_0 | 53 MB | Transformer weights quantized, conv weights F16 |
htdemucs-q4_k.gguf | Q4_K | 38 MB | Aggressive quantization of transformer weights |
40 of 533 tensors are quantized (the CrossTransformer attention/FFN projections). Encoder/decoder conv weights remain at F16 (required by the ggml Conv2d kernel). Norms, biases, LayerScale, and frequency embeddings stay at F32.
# Separate audio into stems
crispasr --separate -m htdemucs-f16.gguf -f input.wav
# Auto-download
crispasr --separate --backend htdemucs --auto-download -f input.wav
# Select specific stems
crispasr --separate -m htdemucs-f16.gguf --stems vocals,drums -f input.wav
import crispasr
s = crispasr.Session("htdemucs-f16.gguf", backend="htdemucs")
stems = s.separate(stereo_pcm_44100hz)
# stems = {"drums": array, "bass": array, "other": array, "vocals": array}
Converted from the official htdemucs pretrained model using:
python models/convert-htdemucs-to-gguf.py --model htdemucs --output htdemucs-f16.gguf --dtype f16
crispasr-quantize htdemucs-f16.gguf htdemucs-q8_0.gguf q8_0
crispasr-quantize htdemucs-f16.gguf htdemucs-q4_k.gguf q4_k
mit. This repository redistributes under the same terms; it grants no rights the upstream licence does not.