[GH-ISSUE #30] Wrong dependencies for XTTS when AMD GPU is used #7

Closed
opened 2026-10-15 18:06:08 +00:00 by bsakaguchi · 2 comments
Owner

Originally created by @ostr00000 on GitHub (Dec 29, 2023).
Original GitHub issue: https://github.com/SillyTavern/SillyTavern-Launcher/issues/30

Originally assigned to: @deffcolony on GitHub.

My OS/Hardware

OS: Linux (Ubuntu 23.10)
GPU: AMD

Problem description

When installing XTTS, the dependencies are installed using pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118.
This will install CUDA for only NVIDIA GPU. For AMD GPU this needs to be replaced to pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/rocm5.6.
(This is based on interactive command generator.)

Fix suggestion

For a conda environment extras there is a nice option picker for GPU. I think that this picker should be moved before XTTS installation and there should be if based on user response.

Originally created by @ostr00000 on GitHub (Dec 29, 2023). Original GitHub issue: https://github.com/SillyTavern/SillyTavern-Launcher/issues/30 Originally assigned to: @deffcolony on GitHub. ### My OS/Hardware OS: Linux (Ubuntu 23.10) GPU: AMD ### Problem description When installing XTTS, the dependencies are installed using `pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118`. This will install CUDA for only NVIDIA GPU. For AMD GPU this needs to be replaced to `pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/rocm5.6`. (This is based on [interactive command generator](https://pytorch.org/get-started/locally/#start-locally).) ### Fix suggestion For a `conda` environment `extras` there is a nice option picker for GPU. I think that this picker should be moved before XTTS installation and there should be `if` based on user response.
Author
Owner

@deffcolony commented on GitHub (Mar 28, 2024):

@ostr00000 Please update the scripts with git pull
your request has been added at: github.com/SillyTavern/SillyTavern-Launcher@471fb15041/install.sh (L434)

<!-- gh-comment-id:2025478754 --> @deffcolony commented on GitHub (Mar 28, 2024): @ostr00000 Please update the scripts with `git pull` your request has been added at: https://github.com/SillyTavern/SillyTavern-Launcher/blob/471fb15041ce31a7a2584277c9a9dba3605d7e79/install.sh#L434
Author
Owner

@ostr00000 commented on GitHub (Mar 28, 2024):

I tested a clean installation. Choice for selecting GPU (or even CPU) works perfect.
The issue is solved.

<!-- gh-comment-id:2026158201 --> @ostr00000 commented on GitHub (Mar 28, 2024): I tested a clean installation. Choice for selecting GPU (or even CPU) works perfect. The issue is solved.
Sign in to join this conversation.
No description provided.