Model reference · open weights

distill-neucodec

Audio aoiandroid · community Audio→audio 1 build Open weights 532 dl/mo

distill-neucodec is an open-weight audio or speech model from aoiandroid. distill-neucodec (BF16) weighs 1.0 GB; the smallest configuration that runs it is RTX 3060 12 GB.

What it is

Released byaoiandroid
TypeAudio & music
TaskAudio→audio
Released2026-05-02
Popularity532 downloads / month
Weights1.0 GB (distill-neucodec (BF16), file size)
LicenceOpen weights

What it runs on

Memory and cards for distill-neucodec (BF16)

Weights 1.0 GB (file size) · overhead about 1.6 GB.

CardOne streamCounted
memory
RTX 3060 12 GBfits11.6 GB
RTX 4060 Ti 16 GBfits15.4 GB
RTX 3090 24 GBfits23.4 GB
RTX 4090 24 GBfits23.4 GB
RTX 5090 32 GBfits31.0 GB
L40S 48 GBfits44.0 GB
A100 80 GBfits78.2 GB
H100 80 GBfits78.1 GB
RTX PRO 6000 Blackwell 96 GBfits93.8 GB
DGX Spark (GB10) 128 GB unifiedfits107 GB
H200 141 GBfits138 GB
B200 180 GBfits176 GB

Estimates, not measurements: the weights are the build's file size. A speech model's decoder keeps a small cache for every stream it transcribes, so memory grows with the streams and beams at once. Counted memory is 92 % of what CUDA reports for the card.

From the model card

What aoiandroid says about distill-neucodec

Distill-NeuCodec is a version of NeuCodec with a compatible, distilled encoder.

The distilled encoder is 10x smaller in parameter count and uses ~7.5x less MACs at inference time.

The distilled model makes the following adjustments to the model:

Our work is largely based on extending the work of X-Codec2.0 and SQCodec.

Read the full model card
  • Developed by: Neuphonic
  • Model type: Neural Audio Codec
  • License: apache-2.0
  • Repository: https://github.com/neuphonic/neucodec
  • Paper: arXiv
  • Pre-encoded Datasets:

Get Started

Use the code below to get started with the model.

To install from pypi in a dedicated environment, using Python 3.10 or above:

conda create -n neucodec python=3.10
conda activate neucodec
pip install neucodec

Then, to use in python:

import librosa
import torch
import torchaudio
from torchaudio import transforms as T
from neucodec import DistillNeuCodec

model = DistillNeuCodec.from_pretrained("neuphonic/distill-neucodec")
model.eval().cuda()

y, sr = torchaudio.load(librosa.ex("libri1"))
if sr != 16_000:
    y = T.Resample(sr, 16_000)(y)[None, ...] # (B, 1, T_16)

with torch.no_grad():
    fsq_codes = model.encode_code(y)
    # fsq_codes = model.encode_code(librosa.ex("libri1")) # or directly pass your filepath!
    print(f"Codes shape: {fsq_codes.shape}")
    recon = model.decode_code(fsq_codes).cpu() # (B, 1, T_24)

torchaudio.save("reconstructed.wav", recon[0, :, :], 24_000)

Training Details

The model was trained using the same data as the full model, with an additional distillation loss (MSE between distilled and original encoder ouputs).

Quoted from the model card on Hugging Face — the full card is behind the Hugging Face link above.

How it works

How audio & music work

Audio or textinputAudio modelrecognise / synthesiseText or audiooutputSpeech-to-text turns audio into text; text-to-speech and music models turn text into audio.
© 2026 AxForge · EU-hosted AI infrastructure Pricing Docs Trust Privacy Terms