From 51278d8915d5f721209e38e31f3d123b97fce724 Mon Sep 17 00:00:00 2001 From: Zodsenpai <91971225+Robinbinu@users.noreply.github.com> Date: Mon, 26 Jan 2026 09:23:33 +0530 Subject: [PATCH] docs: add troubleshooting section to README --- README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/README.md b/README.md index 5509a74..f3ce8d0 100644 --- a/README.md +++ b/README.md @@ -95,6 +95,25 @@ python -m moshi.offline \ --output-text "output.json" ``` +### Troubleshooting + +**Torch not compiled with CUDA enabled** + +If you encounter an error like `AssertionError: Torch not compiled with CUDA enabled`, it means your PyTorch installation does not support CUDA or you are running on a machine without NVIDIA GPUs (e.g., macOS). You must explicitly specify the CPU device: +```bash +python -m moshi.server --ssl "$SSL_DIR" --device cpu +``` + +**401 Unauthorized / Gated Repo Error** + +If you see a 401 Unauthorized error when downloading models, ensure you have: +1. Created a Hugging Face account. +2. Accepted the model license on the [PersonaPlex model page](https://huggingface.co/nvidia/personaplex-7b-v1). +3. Logged in locally using the CLI: +```bash +huggingface-cli login +``` + ## Voices PersonaPlex supports a wide range of voices; we pre-package embeddings for voices that sound more natural and conversational (NAT) and others that are more varied (VAR). The fixed set of voices are labeled: