MCPcopy Create free account
hub / github.com/city96/ComfyUI-GGUF / GroupNorm

Class GroupNorm

ops.py:268–271  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

266 return torch.nn.functional.layer_norm(input, self.normalized_shape, weight, bias, self.eps)
267
268 class GroupNorm(GGMLLayer, comfy.ops.manual_cast.GroupNorm):
269 def forward_ggml_cast_weights(self, input):
270 weight, bias = self.cast_bias_weight(input)
271 return torch.nn.functional.group_norm(input, self.num_groups, weight, bias, self.eps)
272
273def move_patch_to_device(item, device):
274 if isinstance(item, torch.Tensor):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected