Native pure-PyTorch ComfyUI custom nodes for Fish Audio Drama 3 (fishaudio/drama-3-int4 and fishaudio/drama-3) — no SGLang, vLLM, Linux, Triton, dac, or CUDA-only GPTQ-Marlin extensions required.
Runs out-of-the-box on Windows AMD ROCm (e.g. Radeon AI PRO R9700 / RDNA3 / RDNA4), NVIDIA CUDA, and multi-GPU setups.
- Native
drama3-int4W4A16 loader: keeps all 30,720 routed MoE experts packed as 4-bituint8nibbles in VRAM and unpacks only the 8 active experts per token on the fly. - Dense weight modes: choose
dequant_bf16(dequantizes the 130 dense attention/GDN layers tobfloat16for fastest attention, ~24 GB total VRAM) orpacked_int4(keeps them packed in 4-bit, ~22 GB total VRAM). - Balanced Multi-GPU support:
multi-gpu (balanced)automatically splits the 40-layer backbone evenly across all visible GPUs (~12–13 GB per GPU on dual 32 GB R9700s). - Self-contained 44.1 kHz ModdedDAC codec: full encode (for voice cloning) and decode included in pure PyTorch (
drama3/codec.py). - Multi-speaker dialogue & performance tags: supports
<|speaker:0|>through<|speaker:15|>and inline cues ([sighs],[laughs],[whispering], etc.), with automatic long-text chunking and crossfading.
- Clone or copy this folder into your ComfyUI
custom_nodesdirectory:cd ComfyUI/custom_nodes git clone https://github.com/mnector/ComfyUI-Drama3.git - Install dependencies inside your ComfyUI Python environment (do not overwrite your ROCm/CUDA PyTorch wheel):
(
pip install safetensors tokenizers huggingface_hub numpy
torchandtorchaudioare already provided by ComfyUI; iftorchaudiois missing,drama3/codec.pyfalls back to pure-PyTorch resampling.)
On first run, Drama 3 Model Loader can auto-download fishaudio/drama-3-int4 (~22.1 GB, skipping eval/, media/, and samples/) into ComfyUI/models/drama3/fishaudio--drama-3-int4.
You can also download manually ahead of time with hf download / huggingface-cli:
hf download fishaudio/drama-3-int4 --local-dir ComfyUI/models/drama3/drama-3-int4 --exclude "eval/*" "eval_ab/*" "media/*" "samples/*"| Node | Purpose |
|---|---|
| Drama 3 Model Loader | Loads and caches the Drama 3 backbone, codebook tower, tokenizer, and codec.pth. |
| Drama 3 Voice Reference | Attaches a reference AUDIO clip + transcript (chainable for multi-speaker cloning). |
| Drama 3 Dialogue Builder | Builds `< |
| Drama 3 Text-to-Speech | Generates 44.1 kHz AUDIO with chunking, history conditioning, crossfade, and progress bar. |
| Drama 3 Unload Model | Pass-through node that clears the cached model and frees VRAM. |
fishaudio/drama-3-int4(dequant_bf16): ~24 GB VRAM + KV cache — fits comfortably on a single 32 GB GPU (auto (single GPU)) or split ~12–13 GB per GPU withmulti-gpu (balanced).fishaudio/drama-3-int4(packed_int4): ~22 GB VRAM + KV cache.- AMD ROCm on Windows:
use_cuda_graph="auto"automatically uses eager decode on HIP/ROCm and multi-GPU setups. Reference audio resampling runs on CPU so CPU-onlytorchaudiowheels work without device-mismatch errors.
This custom node code is provided under Apache-2.0. The fishaudio/drama-3 and fishaudio/drama-3-int4 weights are governed by the Fish Audio Community License v1.0 (free for research/non-commercial use and commercial use under USD 500k annual revenue; no impersonation without consent; see the model card on Hugging Face).