{
 "schema_version": 1,
 "generated": "2026-10-26",
 "id": "nari-labs-nari-qwen3-tts--self-host-speech-api-on-h100",
 "repo": "nari-labs/nari-qwen3-tts",
 "repo_url": "https://github.com/nari-labs/nari-qwen3-tts",
 "repo_slug": "nari-labs-nari-qwen3-tts",
 "title": "Self-host a speech API on an H100 with Docker",
 "page_title": "How to self-host a speech API on an H100 with Docker with Nari Qwen3 TTS",
 "summary": "Run the published container on an H100 and expose an OpenAI-shaped speech endpoint on port 8000.",
 "who": "A backend developer whose app needs text-to-speech and who has an NVIDIA H100 host available for self-hosting.",
 "problem": "Calling a hosted speech service adds a third party to the request path, and the app needs a local endpoint it controls.",
 "outcome": "A running container that answers readiness checks and returns WAV audio for text sent to /v1/audio/speech.",
 "steps": [
  "Confirm the host has an NVIDIA H100, the NVIDIA Container Toolkit, and a CUDA 13.0 compatible driver.",
  "Run `docker run --rm --gpus all -p 8000:8000 -e HF_TOKEN -e QWEN3_TTS_PROFILE=ttfa -v nari-qwen3-tts-cache:/home/nari/.cache ghcr.io/nari-labs/nari-qwen3-tts:latest` (inferred, check the README)",
  "Wait for model loading and CUDA Graph capture to finish, then run `curl --fail http://127.0.0.1:8000/ready`",
  "Send a test request to `http://127.0.0.1:8000/v1/audio/speech` with model set to Qwen/Qwen3-TTS-12Hz-1.7B-CustomVoice and a short input."
 ],
 "agent_prompt": "In the nari-labs/nari-qwen3-tts repo, start the Docker container on this H100 host using the README run command, then poll `http://127.0.0.1:8000/ready` until it succeeds. Expected output: a ready response and a WAV file from a test request to `/v1/audio/speech`. Verify that the readiness check returns success only after the warm-up request has completed.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "1 hour",
 "basis": "readme",
 "caveat": "The README says the container requires an NVIDIA H100 and has been tested only with English as the primary language.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "python",
 "requirements": [
  "A Linux x86_64 host with an NVIDIA H100 GPU",
  "NVIDIA Container Toolkit and a driver compatible with CUDA 13.0 (for Docker)",
  "Docker, or uv with Python and the system packages build-essential, libsndfile1, and sox",
  "A Hugging Face token (HF_TOKEN) if the model files need to be downloaded"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [
  {
   "tag": "credentials",
   "notice": "The docker command passes HF_TOKEN into the container, so keep the token out of shared shell history and logs."
  }
 ],
 "best": true,
 "score": 1.0,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/nari-labs-nari-qwen3-tts/self-host-speech-api-on-h100/",
 "md": "https://dedupedai.com/use-cases/nari-labs-nari-qwen3-tts/self-host-speech-api-on-h100/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/nari-labs-nari-qwen3-tts--self-host-speech-api-on-h100.json",
 "api_version": "v1"
}
