We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae65073 commit 9707724Copy full SHA for 9707724
invokeai/backend/model_manager/legacy_probe.py
@@ -572,6 +572,8 @@ def get_variant_type(self) -> ModelVariantType:
572
573
if in_channels is None:
574
# If we cannot find the in_channels, we assume that this is a normal variant. Log a warning.
575
+ # If this occurs, we should add a test case for the affected model here:
576
+ # tests/backend/flux/test_flux_state_dict_utils.py
577
logger.warning(
578
f"{self.model_path} does not have img_in.weight or model.diffusion_model.img_in.weight key. Assuming normal variant."
579
)
0 commit comments