Repository navigation
Backlog
Description
Before you proceed, please:
- Read the Wiki to see if your question is answered - https://github.com/LostRuins/koboldcpp/wiki ,done
- Search for past issues if someone else has already found a solution,done
GetSystemTime crash
When launching with these parameters:
@echo off
koboldcpp-oldpc.exe --model D:\Models\Qwen3-4B-Instruct-2507-Q4_K_M.gguf --usecublas lowvram --gpulayers 99 --contextsize 16384 --flashattention --quantkv 1 --blasbatchsize 256 --port 5001
pause
it crashes with the following error:
The procedure entry point GetSystemTimePreciseAsFileTime could not be located in the dynamic link library KERNEL32.dll.
Welcome to KoboldCpp - Version 1.125.1
Loading Chat Completions Adapter: K:\AppData\Local\Temp\_MEI52242\kcpp_adapters\AutoGuess.json
Chat Completions Adapter Loaded
System: Windows 6.1.7601 AMD64 Intel64 Family 6 Model 42 Stepping 7, GenuineIntel
Detected Available GPU Memory: 2988 MB
Detected Available RAM: 4752 MB
Initializing dynamic library: koboldcpp_cublas.dll
Traceback (most recent call last):
File "PyInstaller\loader\pyimod03_ctypes.py", line 53, in __init__
File "ctypes\__init__.py", line 373, in __init__
OSError: [WinError 127] The specified procedure could not be found
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "koboldcpp.py", line 16087, in <module>
main(launch_args=launch_args,default_args=parser.parse_args([]))
File "koboldcpp.py", line 14437, in main
kcpp_main_process(args,global_memory,using_gui_launcher)
File "koboldcpp.py", line 15146, in kcpp_main_process
init_library() # Note: if blas does not exist and is enabled, program will crash.
File "koboldcpp.py", line 1129, in init_library
handle = ctypes.CDLL(os.path.join(dir_path, libname))
File "PyInstaller\loader\pyimod03_ctypes.py", line 55, in __init__
pyimod03_ctypes.PyInstallerImportError: Failed to load dynlib/dll 'K:\\AppData\\Local\\Temp\\_MEI52242\\koboldcpp_cublas.dll'. Most likely this dynlib/dll
was not found when the application was frozen.
[7980] Failed to execute script 'koboldcpp' due to unhandled exception!
Additional Information:
win7
i5-2400
1060 3gb, latest ver of koboldcpp_oldpc as of creation time. cant find crash logs.
Metadata
Metadata
Assignees
Labels
No labels

Activity
henk717 commentedon Nov 25, 2026
Can you confirm your windows 7 has all updates? And can you also confirm this crash happens on non cuda?
LostRuins commentedon Nov 25, 2026
@henk717 it works for your win7 correct?
Theo1996 commentedon Nov 26, 2026
@henk717 -usevulkan works but from what i understand its worse than cublas because of the context limit , enabling vxkex for koboldcppoldp-pc and disabling it for child processes works for some reason.
my updates:
updates.txt
LostRuins commentedon Nov 26, 2026
Context limit on both are the same
Theo1996 commentedon Nov 26, 2026
@LostRuins doesnt cublass have lowvram option which lets you offload context limit to RAM so it becomes 32K? vulcan doesnt have this. right?
LostRuins commentedon Nov 26, 2026
Yes, but vulkan has it too
Theo1996 commentedon Nov 26, 2026
@LostRuins thx i didnt notice that.