SillyTavern / SillyTavern-Extras

Extensions API for SillyTavern.
GNU Affero General Public License v3.0
563 stars 133 forks source link

OSError: libcudart.so.11.0: cannot open shared object file: No such file or directory #211

Open schiceguy opened 10 months ago

schiceguy commented 10 months ago

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$ 
Cohee1207 commented 10 months ago

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