-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Arc Installation - OSError: [WinError 126] The specified module could not be found. Error loading "backend_with_compiler.dll" or one of its dependencies. #5123
Comments
Same issue here, using A750 instead. |
Same issue, using Arc A770 LE. |
Some progress, maybe... Installing the OneAPI Base ToolKit and downloading libuv from here then placing the .lib and .dll files in \env\lib\site-packages\torch\lib seemed to resolve the aforementioned missing dll error. Ooba now loads but with a "No CUDA runtime is found" message, resulting in the use of the CPU. |
@discreteness I have the Intel OneAPI Base Toolkit installed and I placed the .lib and .dll files in the path you mentioned, but still resulting in a Traceback. Am I doing something wrong? What .lib and .dll should I place, I mean, what name of the .lib and .dll? |
@TinJon06 uv.dll, uv.lib, uv_a.lib You might need to set your Windows PATHs to the OneAPI directory that contains the intel extension for pytorch DLLs listed here. Or, directly place the files (sycl7.dll;pi_level_zero.dll;pi_win_proxy_loader.dll;mkl_core.2.dll;mkl_sycl_blas.4.dll;mkl_sycl_lapack.4.dll;mkl_sycl_dft.4.dll;mkl_tbb_thread.2.dll;libmmd.dll;svml_dispmd.dll) in env/lib/site-packages/intel_extension_for_pytorch/bin Also, try installing these (run cmd_windows.bat first to get into your Ooba environment shell): And, while you're at it, downloading and installing the Intel Distribution for Python 3 and adding them to your Windows PATHs. Note: Running "conda install -c intel intelpython3_full" didn't work for me (gave errors). If you figure out how to get it to use the GPU afterwards, please let us know. I'm still stuck there. :) |
A bit of an update, I can get it to run on the Arc GPU by using the Transformer loader, but with huge caveats. 2024-01-02.21-07-20.mp4The Caveats are the following:
In the recording, I used Pygmalion 2.7B which can be loaded and generate without problems. I want to load the 6B variant but without auto-devices or load-in-8bit, I cannot test this. Also, I haven't tested other loaders as of writing. |
@TinJon06 |
Llama.cpp is in the process of adding Arc support, so there may be some relief with GGUF models and the like. And it looks like bitsandbytes is adding support for Arc as well. |
I hope those goes all well, and hoping that it will be added here on the webui soon. |
I was able to compile llama.cpp from source with CLBlast (instructions here) and get it running on my Arc. And, I was also able to compile and install llama_cpp_python into Ooba, however there appears to be a problem loading the resulting llama.dll and/or it's dependencies, similar to the issues others experienced here. So, I'm stuck there. |
Retry with the latest |
It builds now but on starting I get the attached errors The Nvidia version runs just fine. (same version, rebuilt, both builds tested from C drive (logs are D drive build but same errors)) Running Windows Server 2019 |
It now builds and interface loads from main branch version. Not sure how to run models from the card though, AWQ and GPTQ don't work at all and error out and GGUF just works from the CPU. |
This issue has been closed due to inactivity for 2 months. If you believe it is still relevant, please leave a comment below. You can tag a developer in your comment. |
Hi all, have the same problem but have no skills to solve it myself. May I ask your for help? I used llm-ipex and intel guides too, but with no significant success. |
Describe the bug
I receive the below error after installing OobaBooga using the default Arc install option on Windows. The install seemed to go well but running it results in the below DLL load error. Other threads that mentioned this loading error suggested it might be a PATH issue. I tried adding a few paths to the OS environment but couldn't resolve it.
It's an Arc A770 on Windows 10. Intel® Graphics Driver 31.0.101.5081/31.0.101.5122 (WHQL Certified). I also tried rolling back to driver 4676 and doing a clean install with the same results. Some of the paths I added were those listed here. I'm also not seeing any of the DLL's listed at that link in those directories. Instead, I have intel-ext-pt-gpu.dll and intel-ext-pt-python.dll in "%PYTHON_ENV_DIR%\lib\site-packages\intel_extension_for_pytorch\bin" and no DLL's in "%PYTHON_ENV_DIR%\lib\site-packages\torch\lib". backend_with_compiler.dll does exist at that location.
Is there an existing issue for this?
Reproduction
3a) Select "D" for the Arc install.
Screenshot
No response
Logs
System Info
Windows 10 Pro. Arc a770 (shows in Computer Management/Task Manager) Not using WSL
The text was updated successfully, but these errors were encountered: