Replies: 3 comments 7 replies
-
Sorry,as far as I can tell there's so way so far for that, -Related ref I'll look into it and update you on anything I can find though, The things we'd need to get working on AMD would be:-BOOKNLP for book preprocessing |
Beta Was this translation helpful? Give feedback.
-
was just looking at PyTorch Lightning at https://rocm.blogs.amd.com/artificial-intelligence/pytorch-lightning/README.html |
Beta Was this translation helpful? Give feedback.
-
Here's the DealPytorch does support AMD GPUs, which means that xtts potentially supports AMD as well. Pytorch supports AMD, Nvidia, Metal, and CPU devices. Your Goal: If you can get this code running on your computer and show me how you did it, I’ll be able to modify VoxNovel to work on your setup. This code is the default and best TTS engine used by VoxNovel.Get the following script running on your computer with detection of your AMD GPU as the device. You can modify the code as needed. import torch
from TTS.api import TTS
# Get device
device = "cuda" if torch.cuda.is_available() else "cpu"
print(f"Device selected is: {device}")
# List available TTS models
print(TTS().list_models())
# Initialize TTS
tts = TTS("tts_models/multilingual/multi-dataset/xtts_v2").to(device)
# Run TTS
# Note: Since this is a multilingual voice cloning model, you must set the target speaker WAV and language
# Text to speech - list of amplitude values as output
wav = tts.tts(text="Hello world!", speaker_wav="my/cloning/audio.wav", language="en")
# Text to speech - save to a file
tts.tts_to_file(text="Hello world!", speaker_wav="my/cloning/audio.wav", language="en", file_path="output.wav") This code is based on the TTS GitHub repository. For convenience, here is a test I’ll continue to investigate, but I may not be available next week due to school and limited time for side projects. ChatGPT or Claude might also be able to help, but I may not have much time to assist with getting romC running on your computer, especially since I don’t have one on hand at the moment. :( |
Beta Was this translation helpful? Give feedback.
-
How can I make VoxNovel run with AMD either integrated or discreet GPU?
Beta Was this translation helpful? Give feedback.
All reactions