mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-05-07 09:02:04 +00:00
handle case differences
This commit is contained in:
parent
46891b3c0a
commit
07fb18a04b
1 changed files with 3 additions and 0 deletions
|
|
@ -4507,6 +4507,9 @@ Change Mode<br>
|
|||
gen_new_keys = {k: v for k, v in gendefaults.items() if k not in genparams}
|
||||
#special handling for some params that should be overwritten if equal to literal string default
|
||||
special_fields = ["sampler_name", "scheduler"]
|
||||
for field in special_fields:
|
||||
if field in genparams and isinstance(genparams[field], str):
|
||||
genparams[field] = genparams[field].lower()
|
||||
special_fields_overwrite = {}
|
||||
if not args.gendefaultsoverwrite:
|
||||
for field in special_fields:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue