OpenMOSS / OpenMOSS/MOSS-TTS-Nano

Rust/Candle Port of MOSS-TTS-Nano – Seeking Feedback!

Open
#56 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
4.4k
Forks
554
PR merge metrics
No merged PRs in 30d

Description

Hi MOSS Team and Community! 👋

First off, huge thanks for open-sourcing MOSS-TTS-Nano! The model quality, architecture elegance, and the paper itself have been incredible resources.

I'm an independent developer who was inspired to build a high-performance Rust port of your work using the Hugging Face Candle framework. The result: numerical parity with the Python reference, a ~10 MB static binary, and ~0.2s startup time (vs ~5s Python).

🔗 Rust Port Repo: https://github.com/ramishi/moss-tts-nano-rust-candle

Key Features
✅ Voice cloning & continuation mode (parity verified)
✅ Stereo 48kHz Float32 WAV output
✅ Zero Python dependency (single binary deployment)
✅ HuggingFace auto-download + offline mode
✅ Full sampling controls (temp, top-p, seed, etc.)
🚧 CUDA/MPS GPU support (planned)
🚧 Streaming API (planned)
Why This Might Interest You
Embedded/Edge deployment: No Python runtime needed
Production API servers: Rust's async ecosystem (axum/actix)
Research: Easy to extend/modify the Rust codebase
Performance: ~0.07x RTF on Apple M4 (CPU)
Call for Feedback
I'd love your thoughts on:

Numerical parity: I've verified tensor-level match, but more edge cases?
Architecture: Any Rust-specific optimizations you'd suggest?
Features: What should be prioritized next? (CUDA? Streaming? ONNX export?)
Collaboration: Would the team be open to cross-pollination or mentions in docs?
The repo includes 30 passing tests, Clippy-clean code, and a GitHub Actions CI pipeline. If you have any feedback, issues, or want to contribute, please visit the repo or drop a comment here!

Again, massive kudos to @YitianGong, @BotianJiang, and the entire OpenMOSS team. This project wouldn't exist without your pioneering work.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the linked Rust/Candle port and its documented numerical parity with the Python reference. The issue names no file, test, or concrete change in MOSS-TTS-Nano, and it does not define what completion would look like; a contributor would need a scoped follow-up task before starting.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, rust
Domain
audio-video-rtc, machine-learning
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.