-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Comments
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! |
Same issue here with demopart3 on Windows |
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)):
|
Same issue here on Ubuntu
Setting LD_LIBRARY_PATH did not to help |
I'm experiencing the same thing on my WSL2 Ubuntu environment. When I run the code below, it restarts the kernel. I'm currently using an RTX 4090 with 24GB Vram, so I don't think it's a hardware issue. reference_speaker = 'resources/example_reference.mp3' # This is the voice you want to clone |
I don't know if this might help anyone here, but I kept getting the error "Could not load library cudnn_ops_infer64_8.dll. Error code 126" when trying to run the code in the demopart3 jupyter notebook as a .py-file. If anyone has that Problem too, I was able to solve the error by doing the following:
Seems like this fixed it for me (using it on cpu) and thought, I'll post it here, if anyone runs into the same issue. |
To fix this on windows:
nvcc --version You should see information about the cuda compiler To verify cuDNN installation, you can write and compile a small cuda program that uses cuDNN, or you can use pytorch to check if it detects cuDNN.
Run a simple script: pip install torch
print("Is CUDA available: ", torch.cuda.is_available())
print("CUDA version: ", torch.version.cuda)
print("cuDNN version: ", torch.backends.cudnn.version())
print("Number of GPUs: ", torch.cuda.device_count()) If it detects your gpu and lists it, then your cuDNN installation is successful |
@vladlearns |
edit:
If you want to run in the current session. You need to manually update the Path variable for the current session to prioritize new cuda paths
|
Made a pull, solving all of this in Docker: #264 |
Works like a charm! Thanks so much! |
No worries! I'm happy to help! @mortsnort may we close this one? Looks like it is resolved |
yes
…On Mon, Aug 26, 2024 at 10:43 AM Vladyslav Tkachenko < ***@***.***> wrote:
No worries! I'm happy to help! @mortsnort <https://github.com/mortsnort>
may we close this one? Looks like it is resolved
—
Reply to this email directly, view it on GitHub
<#215 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGGR2IKVBSPXZCHE5VFNASTZTNSL7AVCNFSM6AAAAABHGFYDX6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMJQG4ZTIMJSGY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@mortsnort You are the only one who can close it, my friend. For those, who will be looking for a solution after this issue will be closed. Here is the link with a solution/fix: #215 (comment), also check #215 (comment) for additional info
|
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.
The text was updated successfully, but these errors were encountered: