There is the following issue on this page: https://docs.pytorch.org/docs/stable/generated/torch.nn.LayerNorm.html
The variance is calculated via the biased estimator, equivalent to torch.var(input, unbiased=False).
The unbiased argument to torch.var should instead be correction=0.
cc @svekars @sekyondaMeta @AlannaBurke