Skip to content

Conversation

@psychedelicious
Copy link
Contributor

What type of PR is this? (check all applicable)

  • Bug Fix

Have you discussed this change with the InvokeAI team?

  • Yes
  • No, because:

Description

Error when updating a model:

[2023-08-07 14:44:35,042]::[uvicorn.access]::INFO --> 127.0.0.1:56588 - "PATCH /api/v1/models/sd-1/main/aimanhwa_v10 HTTP/1.1" 409
[2023-08-07 14:44:35,094]::[uvicorn.access]::INFO --> 127.0.0.1:56598 - "GET /api/v1/models/?base_models=sd-1&base_models=sd-2&base_models=sdxl&base_models=sdxl-refiner&model_type=main HTTP/1.1" 200
[2023-08-07 14:44:35,096]::[uvicorn.access]::INFO --> 127.0.0.1:56612 - "GET /api/v1/models/?base_models=sd-1&base_models=sd-2&base_models=sdxl&base_models=sdxl-refiner&model_type=onnx HTTP/1.1" 200
[2023-08-07 14:45:03,580]::[InvokeAI]::ERROR --> 1 validation error for ParsingModel[Union[ONNXStableDiffusion1ModelConfig, StableDiffusion1ModelCheckpointConfig, StableDiffusion1ModelDiffusersConfig, VaeModelConfig, LoRAModelConfig, Co\
ntrolNetModelCheckpointConfig, ControlNetModelDiffusersConfig, TextualInversionModelConfig, ONNXStableDiffusion2ModelConfig, StableDiffusion2ModelCheckpointConfig, StableDiffusion2ModelDiffusersConfig, StableDiffusionXLModelCheckpointCo\
nfig, StableDiffusionXLModelDiffusersConfig]]
__root__
  none is not an allowed value (type=type_error.none.not_allowed)

I typo'd a conditional check.

whoops!

Related Tickets & Documents

QA Instructions, Screenshots, Recordings

You should be able to update models per usual in the MM UI. Try renaming, adding description.

@psychedelicious
Copy link
Contributor Author

Whoops, I missed that @lstein had already fixed this in #4192 . Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants