1
mirror of https://github.com/comfyanonymous/ComfyUI.git synced 2025-08-02 23:14:49 +08:00

A few missing comfy ops in the VAE.

This commit is contained in:
comfyanonymous
2023-12-22 04:05:42 -05:00
parent d35267e85a
commit 261bcbb0d9
2 changed files with 4 additions and 3 deletions

View File

@@ -41,7 +41,7 @@ def nonlinearity(x):
def Normalize(in_channels, num_groups=32):
return torch.nn.GroupNorm(num_groups=num_groups, num_channels=in_channels, eps=1e-6, affine=True)
return ops.GroupNorm(num_groups=num_groups, num_channels=in_channels, eps=1e-6, affine=True)
class Upsample(nn.Module):