Skip to content
New issue

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

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

Already on GitHub? # to your account

CUDNN error when running CosyVoice2 #321

Open
xwitf opened this issue Jan 12, 2025 · 0 comments
Open

CUDNN error when running CosyVoice2 #321

xwitf opened this issue Jan 12, 2025 · 0 comments

Comments

@xwitf
Copy link

xwitf commented Jan 12, 2025

Traceback (most recent call last):
File "webui.py", line 189, in
cosyvoice = CosyVoice2(args.model_dir) if 'CosyVoice2' in args.model_dir else CosyVoice(args.model_dir)
File "D:\Downloads\CosyVoice_V2\cosyvoice\cli\cosyvoice.py", line 146, in init
self.frontend = CosyVoiceFrontEnd(configs['get_tokenizer'],
File "D:\Downloads\CosyVoice_V2\cosyvoice\cli\frontend.py", line 54, in init
self.speech_tokenizer_session = onnxruntime.InferenceSession(speech_tokenizer_model, sess_options=option,
File "D:\Downloads\CosyVoice_V2\walkingwithai\lib\site-packages\onnxruntime\capi\onnxruntime_inference_collection.py", line 419, in init
self._create_inference_session(providers, provider_options, disabled_optimizers)
File "D:\Downloads\CosyVoice_V2\walkingwithai\lib\site-packages\onnxruntime\capi\onnxruntime_inference_collection.py", line 471, in create_inference_session
sess.initialize_session(providers, provider_options, disabled_optimizers)
onnxruntime.capi.onnxruntime_pybind11_state.RuntimeException: [ONNXRuntimeError] : 6 : RUNTIME_EXCEPTION : Exception during initialization: D:\a_work\1\s\onnxruntime\core\providers\cuda\cuda_call.cc:121 onnxruntime::CudaCall D:\a_work\1\s\onnxruntime\core\providers\cuda\cuda_call.cc:114 onnxruntime::CudaCall CUDNN failure 4: CUDNN_STATUS_INTERNAL_ERROR ; GPU=0 ; hostname=DESKTOP-8DCH4H4 ; file=D:\a_work\1\s\onnxruntime\core\providers\cuda\cuda_execution_provider.cc ; line=173 ; expr=cudnnSetStream(cudnn_handle, stream);

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

No branches or pull requests

1 participant