mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-09-19 01:05:09 +02:00
fixed templates not setting gpu when swapped with admin mode
This commit is contained in:
@@ -5180,6 +5180,8 @@ def reload_from_new_args(newargs):
|
||||
setattr(args,"prompt","")
|
||||
setattr(args,"config",None)
|
||||
setattr(args,"launch",None)
|
||||
if "istemplate" in newargs and newargs["istemplate"]:
|
||||
auto_set_backend_cli()
|
||||
except Exception as e:
|
||||
print(f"Reload New Config Failed: {e}")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user