-
Notifications
You must be signed in to change notification settings - Fork 3
DLL load failed while importing onnxruntime_pybind11_state #3
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
Comments
I knew the cosyvoice-xpu repo, the reason I chose yours is because his ver involve a lot of onxx conversion with directml. yours simply throw onxx to cpu, which is what origin did, slower but simpler. Didn't you have this code working with your intel GPU? |
i rollbacked to onnxruntime==1.15.1, no more dll error , but webui still didn't start server. |
I don't have an intel GPU. I have admittedly never run CosyVoice. I always work with PyTorch and AI, and I do have MLX. I like to help people, and it is code that I know by heart. I do intend to use it in the future for my own software, when that is ready.. I can see what you mean about DML in the eighteen-k code.. I don't know the logic behind that, and they haven't answered my PR yet. I am glad you see the benefit of the plain method. I will try to find where this stopped, if there is a more verbose diagnostic console log method it would help, this is sadly not too much to go on. I can look into the eighteen-k repo also for ideas on a bypass. Did you try switching to peft backend, or maybe installing ttsfrd as indicated? I presume you have https://www.intel.com/content/www/us/en/developer/articles/tool/pytorch-prerequisites-for-intel-gpu/2-7.html#driver-installation already. It also is documented that you should change input_frame_rate to 25 in the appropriate .yaml file ( these https://github.com/search?q=repo%3Aexdysa%2FCosyVoice+path%3Ayaml&type=code ) when you use 300m training. This could be another point of failure. |
update |
Since the initial DLL issue is resolved I'll close the issue, but I'm focusing on everything else mentioned today |
Uh oh!
There was an error while loading. Please reload this page.
Describe the bug
try to run python webui.py --port 50000 --model_dir pretrained_models/CosyVoice-300M
from FunAudioLLM#1075 (comment)
got
looks like onnx is expecting something here. This is with an Intel Arc A770 using XPU. Presumably this means we need XPU provider.
initial research:
FunAudioLLM#893
https://github.com/eighteen-k-gold-malow/CosyVoice-XPU/commit/05bab70168b92976d70ffbe647e7b22762cfea86
which reveals.... directml too???
line 99 export_onnx
providers = ['DmlExecutionProvider']
interesting. though this is an immediate fail in webui, it ought to be presumed that it needs to be changed all the way down the pipe... this xpu fork seems to be very involved, will try to manage this tomorrow
https://github.com/eighteen-k-gold-malow/CosyVoice-XPU/commits/main/
may need to also add MPS providers????
The text was updated successfully, but these errors were encountered: