Skip to content

Inference defaults fails to save settings / all settings disappear #1460

@anchillabc

Description

@anchillabc

What happened?

When saving inference defaults for a model, I expect it to be saved and remain saved.
In reality, sometimes the UI works, saving the settings, other times, the settings do not get saved at all and the entire configuration simply vanishes when leaving the model page or the checkpoint manager.
Worse, at this point, all of my previously saved inference defaults for all models have disappeared.

Steps to reproduce

  • Open the checkpoint manager
  • Choose a checkpoint model
  • Activate "Inference defaults" and enter desired settings for a combination of sampler, scheduler, steps, cfg and dimension
  • Alternatively to the above, enter desired settings first and enable "Inference defaults" afterwards.
  • Leave the model page by clicking one of Next / Previous model, the checkpoint manager button or another button on the navigation bar, or the Civit AI link inside the model page (all tested)
  • Switch to inference, using txt2img, choose model. Instead of just entered settings, the model comes with the default settings selected.
  • Re-enter the model page; settings have disappeared, inference defaults is now turned off.
  • Check all models, observe that all inference defaults settings are lost.

Relevant logs

Version

2.15.4

What Operating System are you using?

Windows

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions