fix sdnq lora

This commit is contained in:
Disty0
2025-12-27 23:07:53 +03:00
parent b852ff42ef
commit 259a38a2ed
+1 -1
View File
@@ -213,7 +213,7 @@ def network_add_weights(self: Union[torch.nn.Conv2d, torch.nn.Linear, torch.nn.G
quantization_device=devices.device,
return_device=device,
param_name=getattr(self, 'network_layer_name', None),
).to(device)
)[0].to(device)
weight = None
del dequant_weight
except Exception as e: