[GH-ISSUE #211] OSError: libcudart.so.11.0: cannot open shared object file: No such file or directory #130

Open
opened 2026-10-15 18:04:50 +00:00 by bsakaguchi · 1 comment
Owner

Originally created by @schiceguy on GitHub (Dec 25, 2023).
Original GitHub issue: https://github.com/SillyTavern/SillyTavern-Extras/issues/211

I created the conda environment, and then installed the packages from requirements-rvc.txt, and then i didn't have flask or something so I installed the requirements.txt thing too and when i run it now it errors and I get something like this

sorry if im doing something wrong I'm really new and im on a xubuntu dualboot thingy right now and I use two graphics cards

i set it up after my 3rd time deleting everything like this:

conda activate ./extras && conda install python=3.11 git && pip install -r requirements.txt && pip install -r requirements.txt

this was when I ran it

(/SSD/A.I-SSD/SillyTavern-extras/extras) guy@guy-B560-DS3H-AC-Y1:/SSD/A.I-SSD/SillyTavern-extras$ python server.py --enable-modules=silero-tts --listen --cuda --cuda-device cuda:1
Using torch device: cuda:1
Initializing Silero TTS server
Traceback (most recent call last):
  File "/SSD/A.I-SSD/SillyTavern-extras/server.py", line 285, in <module>
    from silero_api_server import tts
  File "/SSD/A.I-SSD/SillyTavern-extras/extras/lib/python3.11/site-packages/silero_api_server/tts.py", line 7, in <module>
    import torchaudio
  File "/SSD/A.I-SSD/SillyTavern-extras/extras/lib/python3.11/site-packages/torchaudio/__init__.py", line 1, in <module>
    from . import (  # noqa: F401
  File "/SSD/A.I-SSD/SillyTavern-extras/extras/lib/python3.11/site-packages/torchaudio/_extension/__init__.py", line 45, in <module>
    _load_lib("libtorchaudio")
  File "/SSD/A.I-SSD/SillyTavern-extras/extras/lib/python3.11/site-packages/torchaudio/_extension/utils.py", line 64, in _load_lib
    torch.ops.load_library(path)
  File "/home/guy/.local/lib/python3.11/site-packages/torch/_ops.py", line 852, in load_library
    ctypes.CDLL(path)
  File "/SSD/A.I-SSD/SillyTavern-extras/extras/lib/python3.11/ctypes/__init__.py", line 376, in __init__
    self._handle = _dlopen(self._name, mode)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^
OSError: libcudart.so.11.0: cannot open shared object file: No such file or directory
(/SSD/A.I-SSD/SillyTavern-extras/extras) guy@guy-B560-DS3H-AC-Y1:/SSD/A.I-SSD/SillyTavern-extras$ 
Originally created by @schiceguy on GitHub (Dec 25, 2023). Original GitHub issue: https://github.com/SillyTavern/SillyTavern-Extras/issues/211 I created the conda environment, and then installed the packages from requirements-rvc.txt, and then i didn't have flask or something so I installed the requirements.txt thing too and when i run it now it errors and I get something like this sorry if im doing something wrong I'm really new and im on a xubuntu dualboot thingy right now and I use two graphics cards i set it up after my 3rd time deleting everything like this: ```sh conda activate ./extras && conda install python=3.11 git && pip install -r requirements.txt && pip install -r requirements.txt ``` this was when I ran it ```py (/SSD/A.I-SSD/SillyTavern-extras/extras) guy@guy-B560-DS3H-AC-Y1:/SSD/A.I-SSD/SillyTavern-extras$ python server.py --enable-modules=silero-tts --listen --cuda --cuda-device cuda:1 Using torch device: cuda:1 Initializing Silero TTS server Traceback (most recent call last): File "/SSD/A.I-SSD/SillyTavern-extras/server.py", line 285, in <module> from silero_api_server import tts File "/SSD/A.I-SSD/SillyTavern-extras/extras/lib/python3.11/site-packages/silero_api_server/tts.py", line 7, in <module> import torchaudio File "/SSD/A.I-SSD/SillyTavern-extras/extras/lib/python3.11/site-packages/torchaudio/__init__.py", line 1, in <module> from . import ( # noqa: F401 File "/SSD/A.I-SSD/SillyTavern-extras/extras/lib/python3.11/site-packages/torchaudio/_extension/__init__.py", line 45, in <module> _load_lib("libtorchaudio") File "/SSD/A.I-SSD/SillyTavern-extras/extras/lib/python3.11/site-packages/torchaudio/_extension/utils.py", line 64, in _load_lib torch.ops.load_library(path) File "/home/guy/.local/lib/python3.11/site-packages/torch/_ops.py", line 852, in load_library ctypes.CDLL(path) File "/SSD/A.I-SSD/SillyTavern-extras/extras/lib/python3.11/ctypes/__init__.py", line 376, in __init__ self._handle = _dlopen(self._name, mode) ^^^^^^^^^^^^^^^^^^^^^^^^^ OSError: libcudart.so.11.0: cannot open shared object file: No such file or directory (/SSD/A.I-SSD/SillyTavern-extras/extras) guy@guy-B560-DS3H-AC-Y1:/SSD/A.I-SSD/SillyTavern-extras$ ```
Author
Owner

@Cohee1207 commented on GitHub (Dec 25, 2023):

https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html

<!-- gh-comment-id:1868992268 --> @Cohee1207 commented on GitHub (Dec 25, 2023): https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html
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#130
No description provided.