Skip to content
Other

Terutalk-models - ONNX models for voice isolation from noise on-device

2 min read

A collection of ready-to-use ONNX files converted from the open REAL-TSE and MossFormer2_SS_16K models for running directly on smartphones (iOS and Android) via ONNX Runtime (a cross-platform engine for running AI models). The models solve the task of extracting a target speaker's voice from overlapping speech using a short three-second sample. Weights are quantized to the int8 format (weight compression to speed up CPU execution), making them suitable for local audio processing in real time or in short fragments without sending data to the cloud.

Key features

  • Two architectures in one repository: causal REAL-TSE for streaming processing (latency around 16 ms) and MossFormer2_SS_16K for separating two voices at a 16 kHz sample rate.
  • Int8 quantization: MatMul weight matrices are dynamically quantized to int8, resulting in core weight files of only 66.6 MB (chunk_int8.onnx) and 95.6 MB (mossformer2_int8.onnx).
  • Voice authentication: REAL-TSE uses the ECAPA-TDNN speaker encoder from the WeSpeaker project, which requires about 3 seconds of a target voice recording to create an embedding.
  • Open licenses: the models themselves are distributed under Apache-2.0, while the built-in ECAPA-TDNN encoder is under CC BY 4.0.

What you can do

  • Build local noise suppression and specific speaker isolation into mobile calling apps, voice recorders, or voice assistants on iOS and Android.
  • Separate audio tracks with two speakers into two independent channels (s1 and s2) using mossformer2_int8.onnx for subsequent speech transcription.
  • Use the realtse_causal causal graph for streaming voice filtering in real time where minimum latency matters.

Example

Workflow scenario from the card: for streaming mode, a 3-second voice sample is first passed once through realtse_causal/enroll.onnx, after which the incoming audio stream is fed in chunks into realtse_causal/chunk_int8.onnx (the output signal returns with an output_gain = -1.0 gain coefficient). For mossformer2_int8.onnx, a mix tensor of shape (1, T) in float32 is fed to the input, yielding two separated s1 and s2 signals of the same shape.

Read moreDetails
Resources: when running mossformer2_int8.onnx on ONNX Runtime CPU, memory consumption grows with clip length and reaches about 1.4 GB for a 10-second fragment.
Limitations: due to memory growth, MossFormer2 is recommended to run on segments no longer than 10 seconds.
Export details: conversion was performed from PyTorch to ONNX (opset 17); for REAL-TSE, an export script from VoxLock v1.1.1 was used, and for MossFormer2, ClearerVoice-Studio code was used with testing on clips from 3.2 to 60 s.
Discuss Telegram 1

Will it run?

Runs in INT8

Fits without quantisation.

  • INT8recommendedweights 0.1 GB · ready files0.6 GB
  • 4-bitweights 0.1 GB0.6 GB

Tip: go 8-bit.INT8 is within about a percent of full precision in quality, takes half the memory and runs faster on RTX 40/50 and H100. Full precision only pays off for fine-tuning.

What to get for this model

Massed ComputeOpen Massed Compute

Your own GPU: INT8 — from RTX 2060

Massed Compute hourly prices, November 2026. The discounted price applies with the coupon at checkout.

Estimate: weights plus working memory. Long videos, high resolutions and long contexts need more.

Run it on Massed Compute

The script downloads the model to the rented machine. How to run it is in the model card.

  1. 1. Rent a machine with a fitting GPU

    Open Massed Compute
  2. 2. Paste the script into the machine's terminal

    Connect over SSH (the Massed Compute panel shows the command) or open a terminal on the machine's desktop.

    HF_TOKEN / CIVITAI_TOKENThe script starts with token lines: paste yours between the quotes. The Hugging Face token is for gated models, the Civitai one for Civitai models.

    # Teru1155/terutalk-models
    mkdir -p ~/models
    curl -LsSf https://astral.sh/uv/install.sh | sh
    source "$HOME/.local/bin/env"
    uv tool install "huggingface_hub[cli]"
    hf download Teru1155/terutalk-models --local-dir ~/models/terutalk-models
    # The model is in ~/models. How to run it is in the model card (link above).
    Add more LoRAs to terutalk-models
  3. 3. Use it

    The model is in ~/models. How to run it is in the model card (link above).

Stop the machine in the panel when you are done: it bills by the minute while it runs.

How to speed it up

Picked for this model type. Choose your hardware above to see what fits you exactly.

  • FlashAttention 44.0.0b41from November 25, 2026new release

    fastest exact attention on B200

    Kernels for Blackwell (beta). Exact attention without quantisation — fine for everything, LLMs included.

    How to enable: pip install flash-attn-4; vLLM and SGLang pick it up themselves.

    Earlier generations (2)
    • FlashAttention 3 — The Hopper (H100/H200) version with FP8.
    • FlashAttention 2 — The standard for RTX 30/40/50 and A100: exact attention without the memory cost of long contexts.
  • torch.compile2.15.0from October 28, 2026

    10–30% for free

    Compiles the model for your GPU. Slower first run, faster afterwards.

    How to enable: model = torch.compile(model); in ComfyUI the TorchCompileModel node.

Model family

New posts about versions of terutalk-models (quants, finetunes, LoRAs) will show up under the bell.

No known relatives of this model yet. All derivatives on Hugging Face

About the model

Teru1155/terutalk-models
Author
Teru1155
Category
Other
Released
Posted

On NeyroLearn

Hugging Face

01

Ask AI about this model

Answered by Gemini 4 · the chat is kept only in this tab

Comments