-
Notifications
You must be signed in to change notification settings - Fork 303
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
DLL not found #599
Comments
It seems like the DLL file was not able to be loaded, the error says file not found, so I'm wondering if you might have any software that could be blocking or removing it. Does this happen with the other backends such as clblast/openblas too, or is it only the cublas one that fails? The next time it fails, try navigating to the extracted temp directory (e.g. |
I've been getting the same issue, fresh install on 1.54 but it spazzes out on those dlls. I get the same message as sgjohnson, regarding koboldcpp_cublas.dll
The executable seems to wipe the temp folder in question, so you can briefly see it show up in temp, but it vanishes in about a second. GPU and drive are nice and new (RTX 4070 and an EVO 980), but my CPU and motherboard are from 2012, not sure if that's an issue. |
@LostRuins I don't think it's merely an issue of file not found, from the output at least. It says the file not found was caused by failed initialization. The output isn't verbose enough to understand why. It seems something similar to @Edobois is occurring. The folder shows up when the executable starts, along with all the files, including the one it's looking for. But it gets deleted when the executable errors out. Output for openblas:
Output for clblast:
I have an older CPU as well. CLBlast with noavx2 doesn't work either. Get the same Windows Error as the other clblast option. |
@sgjohnson1981 Yeah if the DLL file shows up when it starts, but gets DELETED and disappears when executed, it sounds like a windows defender thing - or some other false positive from an antimalware software. What antivirus/antimalware software does your PC have? @henk717 any ideas? |
Just windows defender. I've built llama.cpp successfully. It worked for cpu-only inference, even though there was no AVX support. Nothing got deleted out of my llama.cpp/build folders. From what i can tell, nothing gets deleted in this case until AFTER the exe crashes with the unhandled exception. You know your code better than I do. Do the tracebacks indicate anything? Seems there's a different line of code that errors out depending on which support I choose. It appears the cublas support wouldn't even initialize but the other two at least got to loading the models. The model I'm trying is a quantized phi-2 model, quantized with llama.cpp's quantize.exe to int8. |
The binary cleans up once its done executing so its correct the files are gone after the crash. They were there while the crash happens I do not suspect an AV here. I do suspect the CPU is to old, which one is it? |
Looked up the dell machine from the path. Doesn't have AVX support so you will need to use the failsave mode. |
Xeon X5690. 2011. Is the CPU an issue if I just want to use the GPU? What is Kobold United? I was interested in Kobold.cpp because it was compatible with MemGPT. |
The CPU is an issue because the dll's require AVX. KoboldAI United is the koboldai in my account (not koboldcpp) which is huggingface based. Its CPU requirements are milder. |
@LostRuins knows why we can't provide GPU support without AVX for Koboldcpp. From memory the dll's that interact with the GPU were also AVX. |
Ah. Going to go ahead and close the issue. For my reference, why were those DLLs chosen? Were they required for modern CUDA? Might help me in understanding what inference libraries will or won't work for my PC. |
Yeah if its just without AVX2 you can still use CLBlast (select noavx2 mode). But without AVX(1), you can only use the failsafe mode - although you can try self-compiling in GPU support but it doesn't come prebuilt (this is untested). The prebuilt DLLs are chosen for the widest range of supported devices, with the reasoning that any device modern enough to want to run with compatible GPU support would also have at minimum AVX1 support. |
Trying to run with cublas for an RTX 2070 Super. Updated graphics driver and CUDA 11.4 is installed. That subfolder doesn't exist in the Temp folder. Is that the correct version of CUDA for my card?
The text was updated successfully, but these errors were encountered: