Model reference · open weights

MOSS-TTS-Local-Transformer

Audio OpenMOSS-Team Text→speech 2 builds Open weights 173k dl/mo

MOSS-TTS-Local-Transformer is an open-weight audio or speech model from OpenMOSS-Team. MOSS-TTS-Local-Transformer-v1.5 (BF16) weighs 9.1 GB; the smallest configuration that runs it is RTX 3060 12 GB.

  • MOSS-TTS-Local-Transformer-v1.5 is a 4.6B parameter text-to-speech model developed by OpenMOSS-Team and released under the Apache 2.0 license.
  • It supports 31 languages, including Chinese, English, and Arabic, and features zero-shot voice cloning, long-form speech generation, and explicit pause control.
  • The model utilizes a stereo audio tokenizer for 48 kHz output and offers improved multilingual synthesis and speaker similarity compared to its predecessor.

Summary of the OpenMOSS-Team/MOSS-TTS-Local-Transformer-v1.5 model card, 2026-10-01

What it is

Released byOpenMOSS-Team
Released2026-06-04
Parameters4.6B
VRAM9.1 GB for the weights

What it runs on

Memory and cards for MOSS-TTS-Local-Transformer-v1.5 (BF16)

9.1 GBweights, file size
1.6 GBruntime overhead
CardOne streamMemory
RTX 3060 12 GBtight11.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

Builds

Sizes, precisions & builds

BuildParamsPrecisionWeightsSmallest setup
MOSS-TTS-Local-Transformer-v1.5 (above) ↗ 4.6BBF16 9.1 GBRTX 3060 12 GB
MOSS-TTS-Local-Transformer ↗ 3.1BBF16 6.1 GBRTX 3060 12 GB

From the model card

What OpenMOSS-Team says about MOSS-TTS-Local-Transformer

Read the model card

    

MOSS-TTS-Local-Transformer-v1.5

MOSS-TTS-Local-Transformer-v1.5 is continued from MOSS-TTS-Local-Transformer-v1.0. It preserves the main 1.0 capabilities, including zero-shot voice cloning, long-form speech generation, token-level duration control, Pinyin/IPA pronunciation control, multilingual synthesis, and code-switching. For the full 1.0 feature walkthrough, input schema, and evaluation tables, please refer to the MOSS-TTS-Local-Transformer-v1.0 README.

Compared with MOSS-TTS-Local-Transformer-v1.0, v1.5 focuses on the following improvements:

  • Higher-fidelity stereo audio modeling: v1.5 uses MOSS-Audio-Tokenizer-v2 as the audio tokenizer, supporting native 48 kHz stereo input and output for richer spatial detail and more natural perceived audio quality. Since the codec output is stereo, save the [channels, samples] tensor returned by processor.decode(...) directly.
  • Stronger multilingual synthesis with language tags: when the language field is omitted, v1.5 may improve some languages and regress slightly on others compared with 1.0. When the language is specified, v1.5 is stronger than 1.0 on almost all supported languages. Set the tag when building the user message, for example processor.build_user_message(text=text_fr, language="French").
  • More stable voice cloning: v1.5 improves speaker similarity and reduces cloning variance, making repeated generations more consistent.
  • Better long-reference, short-text cloning: v1.5 handles scenarios where the reference audio is much longer than the target text more reliably than 1.0.
  • More stable punctuation-following prosody: v1.5 follows punctuation-driven pauses more closely, especially in long sentences.
  • Explicit pause control: v1.5 supports inline pause markers such as "[pause 3.2s]". For example, 我今天学习了一首中国的古诗,它的名字是[pause 3.2s]静夜思! inserts an explicit 3.2s pause before 静夜思.

Supported Languages

MOSS-TTS Local Transformer v1.5 supports 31 languages. It keeps the 20 languages supported by MOSS-TTS-Local-Transformer-v1.0 and extends multilingual continued training to additional languages including Cantonese, Dutch, Finnish, Hindi, Macedonian, Malay, Romanian, Swahili, Tagalog, Thai, and Vietnamese.

LanguageCodeFlagLanguageCodeFlagLanguageCodeFlag
Chinesezh🇨🇳Cantoneseyue🇭🇰Englishen🇺🇸
Arabicar🇸🇦Czechcs🇨🇿Danishda🇩🇰
Dutchnl🇳🇱Finnishfi🇫🇮Frenchfr🇫🇷
Germande🇩🇪Greekel🇬🇷Hebrewhe🇮🇱
Hindihi🇮🇳Hungarianhu🇭🇺Italianit🇮🇹
Japaneseja🇯🇵Koreanko🇰🇷Macedonianmk🇲🇰
Malayms🇲🇾Persian (Farsi)fa🇮🇷Polishpl🇵🇱
Portuguesept🇵🇹Romanianro🇷🇴Russianru🇷🇺
Spanishes🇪🇸Swahilisw🇹🇿Swedishsv🇸🇪
Tagalogtl🇵🇭Thaith🇹🇭Turkishtr🇹🇷
Vietnamesevi🇻🇳

Quick Start

Environment Setup

We recommend a clean, isolated Python environment with Transformers 5.0.0, or a recent Transformers version with Qwen3 support, to avoid dependency conflicts.

conda create -n moss-tts python=3.12 -y
conda activate moss-tts

Install all required dependencies:

git clone https://github.com/OpenMOSS/MOSS-TTS.git
cd MOSS-TTS
pip install --extra-index-url https://download.pytorch.org/whl/cu128 -e ".[torch-runtime]"
(Optional) Install FlashAttention 2

For better speed and lower GPU memory usage, you can install FlashAttention 2 if your hardware supports it.

pip install --extra-index-url https://download.pytorch.org/whl/cu128 -e ".[flash-attn]" --no-build-isolation

If your machine has limited RAM and many CPU cores, you can cap build parallelism:

MAX_JOBS=4 pip install --extra-index-url https://download.pytorch.org/whl/cu128 -e ".[flash-attn]" --no-build-isolation

Notes:

  • Dependencies are managed in pyproject.toml, which currently pins torch==2.9.1+cu128 and torchaudio==2.9.1+cu128.
  • If FlashAttention 2 fails to build on your machine, you can skip it and use the default attention backend.
  • FlashAttention 2 is only available on supported GPUs and is typically used with torch.float16 or torch.bfloat16.

Basic Usage

Tip: MOSS-TTS-Local-Transformer-v1.5 uses a fixed 12-codebook RVQ depth. Do not set n_vq_for_inference to a value different from config.n_vq.

MOSS-TTS-Local-Transformer-v1.5 provides the standard Hugging Face AutoProcessor and AutoModel interface. The examples below cover:

  1. Direct generation with language tags
  2. Voice cloning
  3. Duration control
  4. Explicit pause control with [pause X.Ys]
from pathlib import Path
from tqdm import tqdm
import importlib.util

import torch
import torchaudio
from transformers import AutoModel, AutoProcessor

# Disable the broken cuDNN SDPA backend on some CUDA/PyTorch combinations.
torch.backends.cuda.enable_cudnn_sdp(False)
# Keep these enabled as fallbacks.
torch.backends.cuda.enable_flash_sdp(True)
torch.backends.cuda.enable_mem_efficient_sdp(True)
torch.backends.cuda.enable_math_sdp(True)

pretrained_model_name_or_path = "OpenMOSS-Team/MOSS-TTS-Local-Transformer-v1.5"
device = "cuda" if torch.cuda.is_available() else "cpu"
dtype = torch.bfloat16 if device == "cuda" else torch.float32

def resolve_attn_implementation() -> str:
    # Prefer FlashAttention 2 when package + device conditions are met.
    if (
        device == "cuda"
        and importlib.util.find_spec("flash_attn") is not None

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

© 2026 AxForge · EU-hosted AI infrastructure Pricing Docs Trust Privacy Terms