Closed ImNotAlexander closed 3 months ago
Okay, I think this is likely caused by a missing runtime dll on your system. The strange thing is that no new cuda related dlls were added between the abovementioned versions.
Here's what you can try:
MEI_
). Find the koboldcpp_cublas.dll
file and open it.It should look like this:
This will help narrow down what dependencies you are missing.
Can do.
Everything seems to be in order (although some are listed in my temp folder, not in system32) other than MSVCP140_CODECVT_IDS.dll
.
Yep that is the culprit. MSVCP140_CODECVT_IDS.dll
is missing. I'll include that runtime into the next version which should hopefully solve the issue.
For now, can you try the CI build at this link: https://github.com/LostRuins/koboldcpp/actions/runs/8649876498/artifacts/1405863309
Another option is manually installing the VC redist packages (e.g. here https://learn.microsoft.com/en-US/cpp/windows/latest-supported-vc-redist?view=msvc-170)
I tried the build you linked and it works great so far- loads models, processes and generates all with CuBLAS enabled just fine. Thank you for the help and the speedy explanation and patch.
After a system rebuild and fresh Windows install recently I reinstalled all my programs only to find koboldcpp has a problem where it apparently can't find the correct file in the temp directory it creates. Running the exe normally leads to a crash upon pressing launch with CuBLAS enabled- and only with that enabled- and running from the command line to see what's going on as the FAQ instructs gives this:
After some Googling, I found one other result that stood out, where a user had a similar result from a different error: https://github.com/LostRuins/koboldcpp/issues/599 Their problem turned out to be their CPU not supporting AVX2, which is a cause that has shown up in other results- however, while my GPU (GTX 1060 6GB, Nvidia drivers 551.86) is outdated, it does still support CUDA and my CPU (i5-12600KF) is certainly new enough to support AVX2, as did the old system it replaced. The system info line during a successful launch reads:
Assuming that maybe having a non-standard Windows install (Win10 Enterprise LTSC) could be causing problems, I tried all other options and went back to older releases of koboldcpp to see where the error may have began:
Frankly I'm at a loss here and I'm left scratching my head, so if there's any extra information that would help I'd be glad to provide it.