Skip to content

Feature: Add Fun-CosyVoice3-0.5B-2512 native TensorRT support #1263

Description

@ErliCai

Request type

New model or checkpoint support.

Problem and use case

Add a native CosyVoice3 family for reference-voice-conditioned text-to-speech. Users should be able to prepare a reference voice and generate speech through TensorRT-Model-Connect without a PyTorch or ONNX Runtime fallback for learned inference.

Proposed outcome

  • Keep checkpoint mapping, TensorRT graphs, reference frontend, orchestration, and validation owned by families/cosyvoice3.
  • Provide native CAMPPlus and speech-tokenizer reference preparation, speech-token LLM generation, conditioning, Flow, and HiFT waveform generation.
  • Support FP32, single-GPU, batch-one offline synthesis with 24 kHz mono output and one prepared voice per bundle.
  • Package component engines for native C++ audio generation, with explicit profile limits and errors for oversized requests or generation that reaches its limit without a stop token.
  • Retain component validation and native runtime/tokenizer contracts, and distinguish synthesis smoke checks from numerical parity and audio-quality qualification.

Model and target details

  • Checkpoint: FunAudioLLM/Fun-CosyVoice3-0.5B-2512.
  • Pinned revision: 29e01c4e8d000f4bcd70751be16fa94bf3d85a18.
  • Task: text-to-speech .
  • Initial precision: FP32.
  • Initial validation target: RTX 4070 Laptop GPU (8 GB), TensorRT 11.1 / CUDA 13.
  • Initial runtime path: explicit component build, voice preparation, and packaging, followed by native C++ generate-audio. Generic trtmc build integration remains follow-up work.

Submission checks

  • I searched open and closed issues and found no duplicate request.
  • I removed secrets, private/internal evidence, personal paths, and restricted artifacts.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions