mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2025-09-10 17:14:36 +00:00
fixed thread count <=0 , fixed clip skip <= 0
This commit is contained in:
parent
8c701d7ded
commit
26bf5b446d
2 changed files with 2 additions and 2 deletions
|
@ -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}")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue