This commit is contained in:
layerdiffusion
2024-08-13 16:02:40 -07:00
parent 946e08f357
commit 88d0300883

View File

@@ -250,6 +250,9 @@ class ModelPatcher:
weight = model_state_dict[key]
if weight.dtype == torch.uint8:
raise NotImplementedError('LoRAs for NF4/FP4 models are under construction is not available now.\nSorry for the inconvenience!')
inplace_update = self.weight_inplace_update
if key not in self.backup: