[Fixed] wbits and groupsize values from model not shown (#2977)

This commit is contained in:
Salvador E. Tropea 2023-07-11 23:27:38 -03:00 committed by GitHub
parent e3810dff40
commit 324e45b848
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 3 deletions

View file

@ -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