[GH-ISSUE #168] Silero not loading #95

Open
opened 2026-10-15 18:04:23 +00:00 by bsakaguchi · 0 comments
Owner

Originally created by @Nephanor-of-Fraal on GitHub (Sep 26, 2023).
Original GitHub issue: https://github.com/SillyTavern/SillyTavern-Extras/issues/168

Not sure what is going on with this, I did the install of requirements complete, and the lib it's looking for is there, so not sure which dependancy it is looking for... This is the rrror

Initializing Silero TTS server
Traceback (most recent call last):
File "C:\Users\nepha\SillyTavern-dev\TavernAI-extras\server.py", line 268, in
from silero_api_server import tts
File "C:\Users\nepha\AppData\Roaming\Python\Python311\site-packages\silero_api_server\tts.py", line 6, in
import torchaudio
File "C:\Users\nepha\AppData\Roaming\Python\Python311\site-packages\torchaudio_init_.py", line 1, in
from torchaudio import ( # noqa: F401
File "C:\Users\nepha\AppData\Roaming\Python\Python311\site-packages\torchaudio_extension_init_.py", line 43, in
_load_lib("libtorchaudio")
File "C:\Users\nepha\AppData\Roaming\Python\Python311\site-packages\torchaudio_extension\utils.py", line 61, in load_lib
torch.ops.load_library(path)
File "C:\Users\nepha\AppData\Roaming\Python\Python311\site-packages\torch_ops.py", line 643, in load_library
ctypes.CDLL(path)
File "C:\ProgramData\miniconda3\envs\extras\Lib\ctypes_init
.py", line 376, in init
self._handle = _dlopen(self._name, mode)
^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: Could not find module 'C:\Users\nepha\AppData\Roaming\Python\Python311\site-packages\torchaudio\lib\libtorchaudio.pyd' (or one of its dependencies). Try using the full path with constructor syntax.

Originally created by @Nephanor-of-Fraal on GitHub (Sep 26, 2023). Original GitHub issue: https://github.com/SillyTavern/SillyTavern-Extras/issues/168 Not sure what is going on with this, I did the install of requirements complete, and the lib it's looking for is there, so not sure which dependancy it is looking for... This is the rrror Initializing Silero TTS server Traceback (most recent call last): File "C:\Users\nepha\SillyTavern-dev\TavernAI-extras\server.py", line 268, in <module> from silero_api_server import tts File "C:\Users\nepha\AppData\Roaming\Python\Python311\site-packages\silero_api_server\tts.py", line 6, in <module> import torchaudio File "C:\Users\nepha\AppData\Roaming\Python\Python311\site-packages\torchaudio\__init__.py", line 1, in <module> from torchaudio import ( # noqa: F401 File "C:\Users\nepha\AppData\Roaming\Python\Python311\site-packages\torchaudio\_extension\__init__.py", line 43, in <module> _load_lib("libtorchaudio") File "C:\Users\nepha\AppData\Roaming\Python\Python311\site-packages\torchaudio\_extension\utils.py", line 61, in _load_lib torch.ops.load_library(path) File "C:\Users\nepha\AppData\Roaming\Python\Python311\site-packages\torch\_ops.py", line 643, in load_library ctypes.CDLL(path) File "C:\ProgramData\miniconda3\envs\extras\Lib\ctypes\__init__.py", line 376, in __init__ self._handle = _dlopen(self._name, mode) ^^^^^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: Could not find module 'C:\Users\nepha\AppData\Roaming\Python\Python311\site-packages\torchaudio\lib\libtorchaudio.pyd' (or one of its dependencies). Try using the full path with constructor syntax.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
SillyTavern/SillyTavern-Extras#95
No description provided.