mirror of
https://github.com/jamiepine/voicebox.git
synced 2026-10-03 17:15:19 -07:00
The override is documented in gpu-acceleration.mdx and listed as step 1 of the get_torch_device() precedence in tts-generation.mdx, but grepping the tree for VOICEBOX_FORCE_CPU matched only those two doc files - nothing read it. Users whose GPU has no compiled kernels in the bundled PyTorch had no way to fall back to CPU short of renaming the installed CUDA backend directory. Resolve it before torch is imported, so it still works when the installed build is itself the reason CPU is wanted.