Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
schiceguy opened this issue Dec 25, 2023 · 1 comment

Comments

@schiceguy
Copy link

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
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants