pytorch/torch/csrc/lazy
Aaron Gokaslan 5a1216bb2e [BE]: Update ruff to 0.4.1 (#124549)
Update ruff to 0.4.1 .
This version fixes a lot false negatives/false positives, is 20-40% faster, and has various other bug fixes.

Below is a before and after table showing the execution time of ruff lint and ruff format in milliseconds courtesy of https://astral.sh/blog/ruff-v0.4.0

| Repository                                         | Linter (v0.3) | Linter (v0.4) | Formatter (v0.3) | Formatter (v0.4) |
|----------------------------------------------------|---------------|---------------|------------------|------------------|
| [pytorch/pytorch](https://github.com/pytorch/pytorch) | 328.7         | 251.8         | 351.1            | 274.9            |

Pull Request resolved: https://github.com/pytorch/pytorch/pull/124549
Approved by: https://github.com/ezyang
2024-04-21 14:06:23 +00:00
..
backend [Reland2] fix missing-prototypes warnings in torch_cpu (Part 4) (#102228) 2023-06-02 22:04:44 +00:00
core [TorchGen] Use std::optional in generated code (#121454) 2024-03-29 14:11:09 +00:00
generated Rename tools/codegen to torchgen (#76275) 2022-04-25 01:38:06 +00:00
python Replaced CHECK with TORCH_CHECK in order to not abort, but throw a Ru… (#117653) 2024-01-18 07:47:22 +00:00
ts_backend Replaced CHECK with TORCH_CHECK in order to not abort, but throw a Ru… (#117653) 2024-01-18 07:47:22 +00:00
test_mnist.py [BE]: Update ruff to 0.4.1 (#124549) 2024-04-21 14:06:23 +00:00
tutorial.md [BE] [2/3] Rewrite super() calls in functorch and torch (#94588) 2023-02-10 21:16:33 +00:00