-
Notifications
You must be signed in to change notification settings - Fork 277
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
ReActor fails in Forge: "DLL load failed while importing onnx_cpp2py_export" #524
Comments
Supposed to be fixed by this commit here, but I am also still getting the same issue. Also tried reinstalling the extension, no luck. Additionally I manually edited the requirements.txt to use an older version of onxxruntime, which did not solve the issue either. |
Thanks for verifying; I had updated as well because of gradio and thought it would be fixed. |
I have managed to solve the issue for me. I completely installed Forge from scratch, only keeping my "models" folder. I've been using a rather old install that I updated from the normal A1111 webui and that also didn't include the bundled python environment it does now. Something there was likely broken. |
since weeks on web forge ui on start is all ok BUT if i will use it: 100%|██████████████████████████████████████████████████████████████████████████████████| 13/13 [00:19<00:00, 1.54s/it] Total progress: 13it [00:23, 1.80s/it] if i reduce the detecton level 0.2: 100%|████████████████████████████████████████████████████████████████████████████████████| 18/18 [00:05<00:00, 3.20it/s] Total progress: 100%|████████████████████████████████████████████████████████████████████| 18/18 [00:06<00:00, 2.69it/s] >>>>_ if i change from |
That's interestin, I downloaded Forge a few weeks ago can't recall if it was the all-in-one package or not. I'll have to reinstall as a last resort. Someone on Reddit said they solved the issue for Forge and FaceSwapLab, so maybe I'll check that out too. |
I can't even get it to load though. |
i dont remember , possible i installed it by hand |
I've been suffering from the same error constantly. If i reinstall forge, it appears to work during that session, but once a new session begins, I get the ImportError: DLL load failed while importing onnx_cpp2py_export: A dynamic link library (DLL) initialization routine failed error again. |
Good to know, I was just about to reinstall. Seems to be a real bug affecting more than a few people |
Whats now even more strange, is if I launch re-forge, it works in there, but not in forge. Exact same settings... |
one hint ... try it at first with one face image ... |
Forge uses CUDA 12.1 so you need to install an onnxruntime-gpu version that supports CUDA 12.1 If you are on Windows, you can try this: Go to the forge installation directory and activate the venv
Install a supported onnxruntime-gpu version
Restart forge and see if it works now |
for me dont work f i change from |
First, confirm
What happened?
I am unable to load ReActor in Forge due to errors in the DLL for ONNX_CPP2PY_EXPORT. Forge will start, but the extension does not appears at all.
Steps to reproduce the problem
Sysinfo
This is on Windows 10 Pro (22H2) in Firefox with either RTX 3060 12 GB VRAm or 4060 Ti 16 GB VRAM cards. See sysinfo below.
sysinfo-2024-09-04-01-25.json
Relevant console log
Additional information
I have done the following with no success:
The text was updated successfully, but these errors were encountered: