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

Kernel died #215

Open
mortsnort opened this issue May 3, 2024 · 4 comments
Open

Kernel died #215

mortsnort opened this issue May 3, 2024 · 4 comments

Comments

@mortsnort
Copy link

I always get a "The kernel for OpenVoice/demo_part3.ipynb appears to have died. It will restart automatically." when running the demopart3 jupyter notebook in a linux environment. This happens during the ### Obtain Tone Color Embedding cell. I have 16GB VRAM. Is this not enough for voice cloning? It would be helpful if the system hardware (and Torch version) requirements were documented.

@hungtooc
Copy link

hungtooc commented May 5, 2024

Same issue. openVoise v1 is OK, but v2:

Loaded checkpoint 'checkpoints_v2/converter/checkpoint.pth'
missing/unexpected keys: [] []
OpenVoice version: v2
Could not load library libcudnn_cnn_infer.so.8. Error: libcudnn_cnn_infer.so.8: cannot open shared object file: No such file or directory
Please make sure libcudnn_cnn_infer.so.8 is in your library path!

@4ssil
Copy link

4ssil commented May 6, 2024

Same issue here with demopart3 on Windows

@MarkuzK
Copy link

MarkuzK commented May 6, 2024

I just ran into the same issue. Here's how I resolved it (on Ubuntu 20.04 w Python 3.10 using a python virtual environment (venv)):

  • context: PyTorch already comes bundled with cuDNN. One option to resolving this error is to ensure PyTorch can find the bundled cuDNN. The error above indicates that your LD_LIBRARY_PATH doesn't point to the location that contains the bundled cuDNN library.
  • locate the file: e.g., via $ find ~ -name "libcudnn_cnn_infer.so.8", which pointed me to /home/xxx/dev/openvoicev2_venv/lib/python3.10/site-packages/nvidia/cudnn/lib/libcudnn_cnn_infer.so.8
  • set LD_LIBRARY_PATH: e.g., via $ export LD_LIBRARY_PATH=/home/xxx/dev/openvoicev2_venv/lib/python3.10/site-packages/nvidia/cudnn/lib:$LD_LIBRARY_PATH
  • afterwards, I can run the demo script on the command line as well as in jupyter-lab w/o errors.

@salvador-blanco
Copy link

Same issue here on Ubuntu

Loaded checkpoint 'checkpoints_v2/converter/checkpoint.pth'
missing/unexpected keys: [] []

Setting LD_LIBRARY_PATH did not to help

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

5 participants