https://github.com/rwightman/pytorch-image-models/blob/9a25fdf3ad0414b4d66da443fe60ae0aa14edc84/timm/models/layers/create_conv2d.py#L25 The value of `groups` should be set to `in_channels` instead of `out_channels`.