mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2025-09-10 17:14:36 +00:00
fixed templates not setting gpu when swapped with admin mode
This commit is contained in:
parent
88660dd59d
commit
26e1653255
1 changed files with 2 additions and 0 deletions
|
@ -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}")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue