[Fixed] wbits and groupsize values from model not shown (#2977)
This commit is contained in:
parent
e3810dff40
commit
324e45b848
2 changed files with 6 additions and 3 deletions
|
@ -99,7 +99,10 @@ def apply_model_settings_to_state(model, state):
|
|||
|
||||
for k in model_settings:
|
||||
if k in state:
|
||||
state[k] = model_settings[k]
|
||||
if k in ['wbits', 'groupsize']:
|
||||
state[k] = str(model_settings[k])
|
||||
else:
|
||||
state[k] = model_settings[k]
|
||||
|
||||
return state
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue