Zum Inhalt springen
ModelAufgelistetExtern
Herunterladen

VoxCPM2 GGUF

GGUF-converted weights of openbmb/VoxCPM2 for the C++/ggml inference engine llama.cpp-omni (tools/omni/voxcpm2).

ArtOtherBasismodellopenbmb/VoxCPM2VersionRevision 169f64dBBewertung

Modellquelle

Art
Other
Dateigröße
1,61–3,02 GB
Basismodell
openbmb/VoxCPM2
Version
vRevision 169f64d
Aktualisiert
5. Okt. 2026
Downloads
5382
Quelle
Hugging Face

Quellenbeschreibung

VoxCPM2 — GGUF weights for llama.cpp-omni

GGUF-converted weights of openbmb/VoxCPM2 for the C++/ggml inference engine llama.cpp-omni (tools/omni/voxcpm2).

These let you run VoxCPM2 text-to-speech and zero-shot voice cloning natively on CPU / Metal / CUDA / Vulkan via ggml — no PyTorch runtime required.

Files

FileFormatSizeComponent
VoxCPM2-BaseLM-F16.ggufF16~3.0 GBBase language model (28-layer, n_embd=2048)
VoxCPM2-BaseLM-Q8_0.ggufQ8_0~1.6 GBBase language model, 8-bit quantized (recommended)
VoxCPM2-Acoustic-F16.ggufF16~1.7 GBAcoustic stack (ResidualLM + FSQ + LocEnc/LocDiT CFM + AudioVAE)

VoxCPM2 outputs 48 kHz mono audio. You need one BaseLM (F16 or Q8_0) + the Acoustic file. Q8_0 halves the BaseLM download size with negligible quality loss and a slight speed boost.

Getting Started

1. Clone

git clone https://github.com/tc-mb/llama.cpp-omni.git
cd llama.cpp-omni

2. Build

# macOS (Metal — auto-detected):
cmake -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build --target voxcpm2-cli -j

#Linux / Windows (CUDA):
cmake -B build -DCMAKE_BUILD_TYPE=Release -DGGML_CUDA=ON
cmake --build build --target voxcpm2-cli -j

# Linux / Windows (Vulkan):
cmake -B build -DCMAKE_BUILD_TYPE=Release -DGGML_VULKAN=ON
cmake --build build --target voxcpm2-cli -j

# CPU only:
cmake -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build --target voxcpm2-cli -j

3. Download GGUF Weights

You need one BaseLM (F16 or Q8_0) + the Acoustic file.

# Download Q8_0 (recommended)
huggingface-cli download DennisHuang648/VoxCPM2-
    VoxCPM2-BaseLM-Q8_0.gguf VoxCPM2-Acoustic-F16.gguf \
    --local-dir ./models

# Or download F16 (full precision)
huggingface-cli download DennisHuang648/VoxCPM2-GGUF \
    VoxCPM2-BaseLM-F16.gguf VoxCPM2-Acoustic-F16
    --local-dir ./models

Usage

Build voxcpm2-cli from llama.cpp-omni, then:

# Basic TTS (GPU by default; add --cpu to force CPU)
./voxcpm2-cli \
    -t "Hello, this is VoxCPM2 running through llama.cpp-omni." \
    -o output.wav \
    VoxCPM2-BaseLM-F16.gguf \
    VoxCPM2-Acoustic-F16.gguf

# Voice cloning (reference audio)
./voxcpm2-cli -t "Cloned voice." -r speaker.wav -o clone.wav \
    VoxCPM2-BaseLM-F16.gguf VoxCPM2-Acoustic-F16.gguf

# Reference-transcript ("ultimate") cloning
./voxcpm2-cli -t "Target text." --prompt-wav speaker.wav --prompt-text "transcript of speaker.wav" \
    -o clone.wav VoxCPM2-BaseLM-F16.gguf VoxCPM2-Acoustic-F16.gguf

Key flags: --cfg (guidance scale, default 2.0), --timesteps (CFM steps, default 10), --seed, --temperature, --stream. Voice design: prefix the text with (a calm female voice)....

Conversion

Produced with the official converter against the upstream PyTorch weights:

python tools/omni/voxcpm2/convert_voxcpm2_to_gguf.py \
    --model model.safetensors \
    --vae audiovae.pth \
    --config config.json \
    --output ./out

License & attribution

Weights derive from openbmb/VoxCPM2; their original license/terms apply. Conversion tooling and inference engine: llama.cpp-omni.

Quellen

1 Quelle
Hugging FacePrimärVersion 169f64d8b98bbaab1761e4ca3a83e6af653456cc
huggingface.co/DennisHuang648/VoxCPM2-GGUF/tree/169f64d8b98bbaab1761e4ca3a83e6af653456cc

Verifiziert 23. Aug.

Modellartefakte

3 Artefakte

VoxCPM2-Acoustic-F16.gguf

gguf · 1,70 GB · SHA-256 5bde898488ad…8e85 · Hugging Face

Herunterladen

VoxCPM2-BaseLM-F16.gguf

gguf · 3,02 GB · SHA-256 8be62e899f8f…c59e · Hugging Face

Herunterladen

VoxCPM2-BaseLM-Q8_0.gguf

gguf · 1,61 GB · SHA-256 0113177abd11…a962 · Hugging Face

Herunterladen

Quellenauszüge

2 Auszüge

--- license: apache-2.0 base_model: openbmb/VoxCPM2 tags: - text-to-speech - tts - voice-cloning - gguf - llama.cpp - voxcpm language: - zh - en library_name: gguf --- # VoxCPM2 — GGUF weights for llama.cpp-omni GGUF-converted weights of [openbmb/VoxCPM2](https://huggingface.co/openbmb/VoxCPM2) for the C++/ggml inference engine [llama.cpp-omni](https://github.com/tc-mb/llama.cpp-omni) (`tools/omni/voxcpm2`). These let you run VoxCPM2 text-to-speech and zero-shot voice cloning **natively on CPU / Metal / CUDA / Vulkan** via ggml — no PyTorch runtime required. ## Files | File | Format | Size | Component | |------|--------|------|-----------| | `VoxCPM2-BaseLM-F16.gguf` | F16 | ~3.0 GB | Base language model (28-layer, n_embd=2048) | | `VoxCPM2-BaseLM-Q8_0.gguf` | Q8_0 | ~1.6 GB | Base language model, 8-bit quantized (recommended) | | `VoxCPM2-Acoustic-F16.gguf` | F16 | ~1.7 GB | Acoustic stack (ResidualLM + FSQ + LocEnc/LocDiT CFM + AudioVAE) | VoxCPM2 outputs 48 kHz mono audio. You need one BaseLM (F16 or Q8_0) + the Acoustic file. Q8_0 halves the BaseLM download size with negligible quality loss and a slight speed boost. ## Getting Started ### 1. Clone ```bash git clone https://github.com/tc-mb/llama.cpp-omni.git cd llama.cpp-omni ``` ### 2. Build ```bash # macOS (Metal — auto-detected): cmake -B build -DCMAKE_BUILD_TYPE=Release cmake --build build --target voxcpm2-cli -j #Linux / Windows (CUDA): cmake -B build -DCMAKE_BUILD_TYPE=Release -DGGML_CUDA=ON cmake --build build --target voxcpm2-cli -j # Linux / Windows (Vulkan): cmake -B build -DCMAKE_BUILD_TYPE=Release -DGGML_VULKAN=ON cmake --build build --target voxcpm2-cli -j # CPU only: cmake -B build -DCMAKE_BUILD_TYPE=Release cmake --build build --target voxcpm2-cli -j ``` ### 3. Download GGUF Weights You need one BaseLM (F16 or Q8_0) + the Acoustic file. ```bash # Download Q8_0 (recommended) huggingface-cli download DennisHuang648/VoxCPM2- VoxCPM2-BaseLM-Q8_0.gguf VoxCPM2-Acoustic-F16.gguf \ --local-dir ./models # Or download F16 (full precision) huggingface-cli download DennisHuang648/VoxCPM2-GGUF \ VoxCPM2-BaseLM-F16.gguf VoxCPM2-Acoustic-F16 --local-dir ./models ``` ## Usage Build `voxcpm2-cli` from llama.cpp-omni, then: ```bash # Basic TTS (GPU by default; add --cpu to force CPU) ./voxcpm2-cli \ -t "Hello, this is VoxCPM2 running through llama.cpp-omni." \ -o output.w...

Source context: 5382 downloads · 13 likes · Pipeline text-to-speech · Library gguf · Repo DennisHuang648/VoxCPM2-GGUF