mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-09-14 05:25:23 +00:00
Disable default weight values in unet conv2d for faster loading.
This commit is contained in:
@@ -15,3 +15,7 @@ class Linear(torch.nn.Module):
|
||||
|
||||
def forward(self, input):
|
||||
return torch.nn.functional.linear(input, self.weight, self.bias)
|
||||
|
||||
class Conv2d(torch.nn.Conv2d):
|
||||
def reset_parameters(self):
|
||||
return None
|
||||
|
Reference in New Issue
Block a user