mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2025-09-10 17:14:36 +00:00
fixed savedatafile bug, try remove unneeded old clblast code path
This commit is contained in:
parent
103d60ed2c
commit
6e086bd309
2 changed files with 24 additions and 23 deletions
|
@ -49,7 +49,7 @@ logit_bias_max = 512
|
|||
dry_seq_break_max = 128
|
||||
|
||||
# global vars
|
||||
KcppVersion = "1.87.1"
|
||||
KcppVersion = "1.87.2"
|
||||
showdebug = True
|
||||
kcpp_instance = None #global running instance
|
||||
global_memory = {"tunnel_url": "", "restart_target":"", "input_to_exit":False, "load_complete":False}
|
||||
|
@ -5678,6 +5678,7 @@ def kcpp_main_process(launch_args, g_memory=None, gui_launcher=False):
|
|||
filepath = os.path.abspath(args.savedatafile) # Ensure it's an absolute path
|
||||
if not filepath.endswith(".jsondb"):
|
||||
filepath += ".jsondb"
|
||||
args.savedatafile += ".jsondb"
|
||||
try:
|
||||
with open(filepath, 'r+', encoding='utf-8', errors='ignore') as f:
|
||||
loaded = json.load(f)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue