| 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 | |
| 273 | def move_patch_to_device(item, device): |
| 274 | if isinstance(item, torch.Tensor): |
nothing calls this directly
no outgoing calls
no test coverage detected