Skip to content

RuntimeError: Library cublas64_12.dll is not found or cannot be loaded #130

Description

@DT05YT

i tried this, and first attempt at it resulted in this:

(.venv) C:\Users\me\Downloads\UltraSinger-main\src>UltraSinger.py -i "song.mp3"

[UltraSinger] *****************************
[UltraSinger] UltraSinger Version: 0.0.9
[UltraSinger] *****************************
[UltraSinger] Checking GPU support for tensorflow and pytorch.
[UltraSinger] tensorflow - using cuda gpu.
[UltraSinger] pytorch - using cuda gpu.
[UltraSinger] full automatic mode
[UltraSinger] Searching song in musicbrainz
[UltraSinger] cant find title whip in song
[UltraSinger] No match found
[UltraSinger] Creating output folder. -> output\song (1)
[UltraSinger] Creating output folder. -> output\song (1)\cache
[UltraSinger] Separating vocals from audio with demucs and cuda as worker.
Important: the default model was recently changed to `htdemucs` the latest Hybrid Transformer Demucs model. In some cases, this model can actually perform worse than previous models. To get back the old default model use `-n mdx_extra_q`.
Selected model is a bag of 1 models. You will see that many progress bars per track.
Separated tracks will be stored in C:\Users\me\Downloads\UltraSinger-main\src\separated\htdemucs
Separating track output\song (1)\song.mp3
100%|██████████████████████████████████████████████████████████████████████| 181.35/181.35 [00:06<00:00, 26.18seconds/s]
[UltraSinger] Converting wav to mp3
[UltraSinger] Reduce noise from vocal audio with ffmpeg.
[UltraSinger] Converting audio for AI
[UltraSinger] Mute audio parts with no singing
[UltraSinger] Loading whisper with model large-v2 and cuda as worker
No language specified, language will be first be detected for each audio file (increases inference time).
Lightning automatically upgraded your loaded checkpoint from v1.5.4 to v2.2.1. To apply the upgrade to your files permanently, run `python -m pytorch_lightning.utilities.upgrade_checkpoint C:\Users\me\.cache\torch\whisperx-vad-segmentation.bin`
Model was trained with pyannote.audio 0.0.1, yours is 3.1.1. Bad things might happen unless you revert pyannote.audio to 0.x.
Model was trained with torch 1.10.0+cu102, yours is 2.0.1+cu117. Bad things might happen unless you revert torch to 1.x.
[UltraSinger] Transcribing output\song (1)\cache\song_mute.wav
Traceback (most recent call last):
  File "C:\Users\me\Downloads\UltraSinger-main\src\UltraSinger.py", line 984, in <module>
    main(sys.argv[1:])
  File "C:\Users\me\Downloads\UltraSinger-main\src\UltraSinger.py", line 883, in main
    run()
  File "C:\Users\me\Downloads\UltraSinger-main\src\UltraSinger.py", line 392, in run
    detected_language, transcribed_data = transcribe_audio()
  File "C:\Users\me\Downloads\UltraSinger-main\src\UltraSinger.py", line 515, in transcribe_audio
    transcribed_data, detected_language = transcribe_with_whisper(
  File "C:\Users\me\Downloads\UltraSinger-main\src\modules\Speech_Recognition\Whisper.py", line 61, in transcribe_with_whisper
    result = loaded_whisper_model.transcribe(
  File "C:\Users\me\Downloads\UltraSinger-main\.venv\lib\site-packages\whisperx\asr.py", line 194, in transcribe
    language = language or self.detect_language(audio)
  File "C:\Users\me\Downloads\UltraSinger-main\.venv\lib\site-packages\whisperx\asr.py", line 252, in detect_language
    encoder_output = self.model.encode(segment)
  File "C:\Users\me\Downloads\UltraSinger-main\.venv\lib\site-packages\whisperx\asr.py", line 86, in encode
    return self.model.encode(features, to_cpu=to_cpu)
RuntimeError: Library cublas64_12.dll is not found or cannot be loaded

What does it all mean

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions