pytorch/benchmarks/gpt_fast
Yuanyuan Chen fdab48a7c1 Enable all PIE rules on ruff (#165814)
This PR enables all PIE rules on ruff, there are already some enabled rules from this family, the new added rules are
```
PIE796  Enum contains duplicate value: {value}
PIE808  Unnecessary start argument in range
```

Pull Request resolved: https://github.com/pytorch/pytorch/pull/165814
Approved by: https://github.com/ezyang
2025-10-18 07:36:18 +00:00
..
benchmark.py Fix broken gpt_fast micro benchmark after #144315 (#145235) 2025-01-21 17:42:24 +00:00
common.py [9/N] Apply ruff UP035 rule (#165515) 2025-10-17 00:09:51 +00:00
generate.py [BE] fix typos in benchmarks/ (#156077) 2025-06-17 13:12:18 +00:00
mixtral_moe_model.py Reduce the number of layers for mixtral moe model to adapt CI memory limitation (#125608) 2024-05-06 21:52:25 +00:00
mixtral_moe_quantize.py Enable all PIE rules on ruff (#165814) 2025-10-18 07:36:18 +00:00
model.py [BE][CI] bump ruff to 0.9.2: multiline assert statements (#144546) 2025-02-27 20:46:16 +00:00
quantize.py Fix unused Python variables outside torch/ and test/ (#136359) 2024-12-11 17:10:23 +00:00