In PyTorch before 2.7.0, when inductor is used, nn.Fold has an assertion error.
"https://github.com/pypa/advisory-database/blob/main/vulns/torch/PYSEC-2025-199.yaml"