Files
Lucas Kabela eade936b99 [BE] Apply PEP 604 type annotations to rest of torch/_* (#175870)
Convert Union[X, Y] to X | Y and Optional[X] to X | None using ruff rules UP007 and UP045 in torch/_inductor. This covers the rest of torch/_

Pull Request resolved: https://github.com/pytorch/pytorch/pull/175870
Approved by: https://github.com/aorenste
2026-03-01 03:21:37 +00:00
..