mirror of
https://github.com/lllyasviel/stable-diffusion-webui-forge.git
synced 2026-03-07 14:09:47 +00:00
better prints
This commit is contained in:
@@ -303,7 +303,7 @@ class LoraLoader:
|
||||
|
||||
# Patch
|
||||
|
||||
for key, current_patches in (tqdm(self.patches.items(), desc='Patching LoRAs') if len(self.patches) > 0 else self.patches):
|
||||
for key, current_patches in (tqdm(self.patches.items(), desc=f'Patching LoRAs for {type(self.model).__name__}') if len(self.patches) > 0 else self.patches):
|
||||
try:
|
||||
parent_layer, weight = utils.get_attr_with_parent(self.model, key)
|
||||
assert isinstance(weight, torch.nn.Parameter)
|
||||
|
||||
Reference in New Issue
Block a user