touvidia
发表于 2025-2-1 22:07:13
无言以对 发表于 2025-1-30 20:58
需要安装cuda 12.X并将12.X设置为当前使用CUDA
我已经手动添加到PATH里了,而且用nvcc --version验证过:
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2024 NVIDIA Corporation
Built on Wed_Oct_30_01:18:48_Pacific_Daylight_Time_2024
Cuda compilation tools, release 12.6, V12.6.85
Build cuda_12.6.r12.6/compiler.35059454_0
但是尝试运行后还是出现:
failed to import ttsfrd, use WeTextProcessing instead
Special tokens have been added in the vocabulary, make sure the associated word embeddings are fine-tuned or trained.
Special tokens have been added in the vocabulary, make sure the associated word embeddings are fine-tuned or trained.
2025-01-30 20:06:42.7489137 D:\a\_work\1\s\onnxruntime\core\session\provider_bridge_ort.cc:1209 onnxruntime:roviderLibrary::Get : 1 : FAIL : LoadLibrary failed with error 126 "" when trying to load "E:\AiTools\CosyVoiceV6\deepface\lib\site-packages\onnxruntime\capi\onnxruntime_providers_cuda.dll"
要怎样做才算是“将12.X设为当前的CUDA”呢?
touvidia
发表于 2025-2-3 14:22:28
盟主不在了吗?我还是找不到原因啊。
touvidia
发表于 2025-2-4 23:10:18
touvidia 发表于 2025-2-1 22:07
我已经手动添加到PATH里了,而且用nvcc --version验证过:
nvcc: NVIDIA (R) Cuda compiler driver
Copyr ...
大家猜怎么着,我搞定了。
问题根本就没出在CUDA上,而是缺少.DLL文件。
我从报错信息中发现有个.DLL文件的依赖有问题,就用DLL检验工具找。凡是缺少的都一个一个去下。补足了4个.DLL文件后一切就都正常了。
NewBee
发表于 2025-2-8 10:33:24
感谢大佬
用户
发表于 2025-2-20 17:38:09
touvidia 发表于 2025-2-4 23:10
大家猜怎么着,我搞定了。
问题根本就没出在CUDA上,而是缺少.DLL文件。
我从报错信息中发现有个.DLL文件 ...
我也遇到同样的问题了,你是用什么检验工具查找的阿~
dxhaibin
发表于 2025-2-25 08:39:47
百度网盘可以下载么,楼主辛苦了
18883879192
发表于 2025-3-5 18:11:10
干不起哦
touvidia
发表于 2025-3-6 02:10:40
用户 发表于 2025-2-20 17:38
我也遇到同样的问题了,你是用什么检验工具查找的阿~
https://deepface.cc/thread-523-1-1.html
这个帖子里有说明,是一个叫Dependencies 的软件,能检索缺了多少dll。
aqusky
发表于 2025-3-7 20:30:51
failed to import ttsfrd.use WeTextProcessing insteadSpecial tokens have beenadded in the vocabulary, make sure theembeddingsare fine-tunedassociatedWordOÃtrainedadded in the vocabulary,special tokens have beenmake sure the associatedwordembeddings are fine-tuned0rtrained2025-03-07 20:18:07.2958929 **************EP Error D: al_work 1\s onnxrunt imelpython onnxruntime_pybind_state.cc:857 onnxrunt ime: :python: :CreateExecutionproviderInstance CuDA PATH is set but CuoA wasnt able to be loaded. please install the correct version of cuDA andcuDwN as mentioned in the GpU requirements page (tps://onnxruntime.ai/docs/execution-providers/CuDA-Executionprovider.html#requirements),make sure they're in the PATH,and that your GPU is supported.when using ['CUDAExecutionProvider'Falling back to ['CUDAExecutionProvider''CPUExecutionProvider'] and retrying**************************************2025-03-07 20:18:07.4503467 D:a _work 1's onnxruntime core session provider bridge ort.cc:1209 onnxruntime::ProviderLibrary::Get :1 : FAIL : LoadLibrary failed with error 126 "" when trying to load "D: \cosyvoicev2\cosyvoice-V6\cosyVoice-V6\deepfacelTraceback(most recent call last):\onnxruntime_providers_cuda.dll"File "D: cosyvoiceV2\CosyVoice-V6\CosyVoice-V6\deepface\lib\site-packages\onnxruntimecapi\onnxruntimeinference co.ection.py",line 419,in_initself,._create_inference_session(providers, provider_options, disabled_optimizers
老师,这个报错是什么原因?
无言以对
发表于 2025-3-7 20:32:16
aqusky 发表于 2025-3-7 20:30
failed to import ttsfrd.use WeTextProcessing insteadSpecial tokens have beenadded in the vocabulary, ...
https://deepface.cc/thread-34-1-1.html