{"data":{"slug":"openmoss-moss-tts","name":"MOSS-TTS","tagline":"MOSS‑TTS Family is an open‑source speech and sound generation model family from MOSI.AI and the OpenMOSS team. It is designed for high‑fidelity, high‑expressiveness, and complex real‑world scenarios, ","github_url":"https://github.com/OpenMOSS/MOSS-TTS","owner":"OpenMOSS","repo":"MOSS-TTS","owner_avatar_url":"https://avatars.githubusercontent.com/u/156300419?v=4","primary_language":"Python","stars":3758,"forks":330,"topics":["audio","audio-tokenizer","llm","multimodal","text-to-speech","voice-cloning"],"archived":false,"github_pushed_at":"2026-06-22T11:51:50+00:00","maintenance_label":"Active","url":"https://www.graphcanon.com/tools/openmoss-moss-tts","markdown_url":"https://www.graphcanon.com/tools/openmoss-moss-tts.md","api_url":"https://www.graphcanon.com/api/graphcanon/tools/openmoss-moss-tts","graph_url":"https://www.graphcanon.com/api/graphcanon/graph?tool=openmoss-moss-tts","description":"MOSS‑TTS Family is an open‑source speech and sound generation model family from MOSI.AI and the OpenMOSS team. It is designed for high‑fidelity, high‑expressiveness, and complex real‑world scenarios, covering stable long‑form speech, multi‑speaker dialogue, voice/character design, environmental sound effects, and real‑time streaming TTS.","homepage_url":"https://mosi.cn/models/moss-tts","license":"Apache-2.0","open_issues":12,"watchers":19,"ai_summary":null,"readme_excerpt":"# Install uv first: https://docs.astral.sh/uv/getting-started/installation/\ngit clone https://github.com/OpenMOSS/MOSS-TTS.git\ncd MOSS-TTS\nuv venv --python 3.12 .venv\nsource .venv/bin/activate\nuv pip install --torch-backend cu128 -e \".[torch-runtime]\"\n```\n\n#### (Optional) Install FlashAttention 2\n\nFor better speed and lower GPU memory usage, you can install FlashAttention 2 if your hardware supports it.\n\nIf you use Conda/pip:\n\n```bash\npip install --extra-index-url https://download.pytorch.org/whl/cu128 -e \".[torch-runtime,flash-attn]\"\n```\n\nIf your machine has limited RAM and many CPU cores, you can cap build parallelism:\n\n```bash\nMAX_JOBS=4 pip install --extra-index-url https://download.pytorch.org/whl/cu128 -e \".[torch-runtime,flash-attn]\"\n```\n\nIf you use `uv`:\n\n```bash\nuv pip install --torch-backend cu128 -e \".[torch-runtime,flash-attn]\"\n```\n\nIf your machine has limited RAM and many CPU cores, you can cap build parallelism:\n\n```bash\nMAX_JOBS=4 uv pip install --torch-backend cu128 -e \".[torch-runtime,flash-attn]\"\n```\n\nNotes:\n- Dependencies are managed in `pyproject.toml`, which currently pins `torch==2.9.1+cu128` and `torchaudio==2.9.1+cu128`.\n- In `uv`, `--torch-backend cu128` lets uv fetch compatible PyTorch CUDA wheels and resolve the rest from PyPI with the default safe index strategy.\n- If you need another backend, replace `cu128` with your target (for example, `cpu`, `cu126`).\n- If FlashAttention 2 fails to build on your machine, you can skip it and use the default attention backend.\n- FlashAttention 2 is only available on supported GPUs and is typically used with `torch.float16` or `torch.bfloat16`.\n\n\n<a id=\"moss-tts-basic-usage\"></a>\n\n---\n\n# 1. Install (torch-free)\npip install -e \".[llama-cpp-onnx]\"\n\n---\n\n### Installation Profiles\n\n| Profile | Install Command | Dependencies | Use Case |\n|---------|----------------|--------------|----------|\n| **Torch-free (ONNX)** | `pip install -e \".[llama-cpp-onnx]\"` | numpy, onnxruntime-gpu, tokenizers | Recommended starting point |\n| **Torch-free (TRT)** | `pip install -e \".[llama-cpp-trt]\"` | numpy, tensorrt, cuda-python | Maximum audio tokenizer speed (build engines yourself) |\n| **Torch-accelerated** | `pip install -e \".[llama-cpp-onnx,llama-cpp-torch]\"` | + torch | GPU-accelerated LM heads (~30x faster) |\n\n> **Want to convert weights yourself?** See the [conversion guide](moss_tts_delay/llama_cpp/conversion/README.md) for step-by-step instructions on extracting, converting, and quantizing MOSS-TTS weights with llama.cpp.\n\n---\n\n## LICENSE\n\nModels in MOSS-TTS Family are licensed under the Apache License 2.0.","github_created_at":"2026-02-07T14:05:49+00:00","created_at":"2026-07-11T12:07:38.17234+00:00","updated_at":"2026-07-11T12:07:53.275197+00:00","categories":[{"slug":"llm-frameworks","name":"LLM Frameworks","url":"https://www.graphcanon.com/categories/llm-frameworks","markdown_url":"https://www.graphcanon.com/categories/llm-frameworks.md","api_url":"https://www.graphcanon.com/api/graphcanon/categories/llm-frameworks"},{"slug":"model-training","name":"Model Training","url":"https://www.graphcanon.com/categories/model-training","markdown_url":"https://www.graphcanon.com/categories/model-training.md","api_url":"https://www.graphcanon.com/api/graphcanon/categories/model-training"},{"slug":"inference-serving","name":"Inference & Serving","url":"https://www.graphcanon.com/categories/inference-serving","markdown_url":"https://www.graphcanon.com/categories/inference-serving.md","api_url":"https://www.graphcanon.com/api/graphcanon/categories/inference-serving"}],"tags":[{"slug":"audio-tokenizer","name":"audio-tokenizer"},{"slug":"voice-cloning","name":"voice-cloning"},{"slug":"llm","name":"llm"},{"slug":"text-to-speech","name":"text-to-speech"},{"slug":"python","name":"python"},{"slug":"audio","name":"audio"},{"slug":"multimodal","name":"multimodal"}],"trust":{"provenance":{"is_fork":false,"github_id":1152193330,"owner_type":"Organization","methodology":"github_public_v1","parent_repo":null,"near_duplicate_slugs":[]},"computed_at":"2026-07-11T12:07:38.808Z","maintenance":{"label":"Active","score":82,"methodology":"github_public_v1","releases_90d":0,"days_since_push":19,"last_release_at":null},"security_summary":{"status":"no_lockfile","scanner":null,"low_count":0,"high_count":0,"last_scan_at":"2026-07-11T12:07:46.739Z","medium_count":0,"scan_profile":"none","critical_count":0}},"capability_facts":{"scan":{"source":"repo_scan","observed_at":"2026-07-11T12:07:46.310Z"},"has_cli":{"value":true,"source":"pyproject.toml:[project.scripts]","observed_at":"2026-07-11T12:07:46.310Z"},"languages":{"value":["python"],"source":"github.language+pyproject.toml","observed_at":"2026-07-11T12:07:46.310Z"},"license_spdx":{"value":"Apache-2.0","source":"github.license","observed_at":"2026-07-11T12:07:46.310Z"}}}}