Typo: dot should be comma

This commit is contained in:
Billy
2025-06-19 10:47:24 +10:00
parent 12f65d800d
commit 4e98e7d0a2

View File

@ -79,7 +79,7 @@ class LoRALoader(ModelLoader):
state_dict = torch.load(model_path, map_location="cpu")
if config.format == ModelFormat.OMI:
state_dict = convert_to_omi(state_dict.config.base) # type: ignore
state_dict = convert_to_omi(state_dict, config.base) # type: ignore
# Apply state_dict key conversions, if necessary.
if self._model_base == BaseModelType.StableDiffusionXL: