Closed
Description
Describe the bug
the RMN norm implementation seems to use the variance (torch.var
) instead of the root mean square:
pytorch-image-models/timm/layers/fast_norm.py
Lines 111 to 130 in 790decc
This yields a different result from the PyTorch RMSNorm implementation in my tests.
Expected behavior
Same results between native Pytorch operator and timm operator.
Desktop (please complete the following information):
- OS: macOS
- This repository version: 1.0.12
- PyTorch version: 2.5