mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-07 12:21:27 +01:00
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 |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| _functions.py | ||
| activation.py | ||
| adaptive.py | ||
| batchnorm.py | ||
| channelshuffle.py | ||
| container.py | ||
| conv.py | ||
| distance.py | ||
| dropout.py | ||
| flatten.py | ||
| fold.py | ||
| instancenorm.py | ||
| lazy.py | ||
| linear.py | ||
| loss.py | ||
| module.py | ||
| normalization.py | ||
| padding.py | ||
| pixelshuffle.py | ||
| pooling.py | ||
| rnn.py | ||
| sparse.py | ||
| transformer.py | ||
| upsampling.py | ||
| utils.py | ||