-
-
Notifications
You must be signed in to change notification settings - Fork 664
Open
Description
Running first step I got this error, I have an old AMD gpu that ROCM doesn't support.
I temporally fixed by removing such check into epub2tts_kokoro/epub2tts_kokoro.py.
((.venv) ) user@fedora-pc-scrivania:~/epub2tts-kokoro$ epub2tts-kokoro '/home/user/ebook.epub'
Traceback (most recent call last):
File "/home/user/epub2tts-kokoro/.venv/bin/epub2tts-kokoro", line 7, in <module>
sys.exit(main())
^^^^^^
File "/home/user/epub2tts-kokoro/.venv/lib/python3.12/site-packages/epub2tts_kokoro/epub2tts_kokoro.py", line 532, in main
elif torch.backends.rocm.is_available():
^^^^^^^^^^^^^^^^^^^
File "/home/user/epub2tts-kokoro/.venv/lib/python3.12/site-packages/torch/backends/__init__.py", line 60, in __getattr__
return self.m.__getattribute__(attr)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'torch.backends' has no attribute 'rocm'
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels