tamarher's picture
Update model card: script paths, guidance notes
bc2e286 verified
|
Raw
History Blame Contribute Delete
3.12 kB
metadata
library_name: mlx
pipeline_tag: text-to-speech
base_model: meituan-longcat/LongCat-AudioDiT-3.5B
base_model_relation: quantized
license: mit
language:
  - zh
  - en
tags:
  - mlx
  - tts
  - speech
  - longcat
  - audiodit
  - diffusion
  - quantized
  - int8
  - apple-silicon

LongCat AudioDiT 3.5B — MLX 8-bit

This repository contains a self-contained MLX-native int8 conversion of LongCat AudioDiT 3.5B for local text-to-speech on Apple Silicon.

Note This repo is a community mirror of the canonical MLX conversion maintained by AppAutomaton at appautomaton/longcat-audiodit-3.5b-8bit-mlx.

Model Details

Bundle Contents

This bundle is self-contained and includes:

  • config.json
  • model.safetensors
  • tokenizer files (tokenizer.json, tokenizer_config.json, special_tokens_map.json)

How to Get Started

Command-line generation with mlx-speech:

python scripts/generate/longcat_audiodit.py \
  --text "Hello from LongCat AudioDiT." \
  --model-dir /path/to/longcat-audiodit-3.5b-8bit-mlx \
  --output-audio outputs/longcat.wav

Voice cloning:

python scripts/generate/longcat_audiodit.py \
  --text "Hello from LongCat AudioDiT." \
  --prompt-text "Original speaker text." \
  --prompt-audio /path/to/prompt.wav \
  --model-dir /path/to/longcat-audiodit-3.5b-8bit-mlx \
  --output-audio outputs/longcat_clone.wav \
  --guidance-method apg

Minimal Python usage:

from pathlib import Path

from mlx_speech.generation.longcat_audiodit import generate_longcat_audiodit

result = generate_longcat_audiodit(
    text="Hello from LongCat AudioDiT.",
    model_dir=Path("/path/to/longcat-audiodit-3.5b-8bit-mlx"),
    output_audio="outputs/longcat.wav",
)

Notes

  • This repo contains the quantized MLX runtime artifact only.
  • The conversion preserves the LongCat AudioDiT diffusion transformer and bundled VAE for waveform decode.
  • The current bundle is intended for local MLX runtime use and parity validation.
  • This mirror is a duplicated repo, not an automatically synchronized namespace mirror.

Links

License

MIT License — following the upstream license published with meituan-longcat/LongCat-AudioDiT-3.5B.