mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-09-09 06:19:14 +02:00
fixed thread count <=0 , fixed clip skip <= 0
This commit is contained in:
+1
-1
@@ -6392,7 +6392,7 @@ def kcpp_main_process(launch_args, g_memory=None, gui_launcher=False):
|
||||
print("No GPU backend found, or could not automatically determine GPU layers. Please set it manually.")
|
||||
args.gpulayers = 0
|
||||
|
||||
if args.threads == -1:
|
||||
if args.threads <= 0:
|
||||
args.threads = get_default_threads()
|
||||
print(f"Auto Set Threads: {args.threads}")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user