frgfm / torch-scan

Seamless analysis of your PyTorch models (RAM usage, FLOPs, MACs, receptive field, etc.)
https://frgfm.github.io/torch-scan/latest
Apache License 2.0
208 stars 22 forks source link

build(deps-dev): bump ruff to 0.6.4 & update CI #87

Closed frgfm closed 1 month ago

frgfm commented 1 month ago

This PR bumps ruff & update the CI orchestration

socket-security[bot] commented 1 month ago

New dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
pypi/mypy@1.10.0 environment, eval, filesystem, network, shell, unsafe +163 1.6 GB ambv, guido, hauntsaninja, ...8 more
pypi/ruff@0.6.4 environment, eval, filesystem, network, shell, unsafe 0 33.1 MB astral-bot, crmarsh, zanie

View full report↗︎

codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 96.66667% with 2 lines in your changes missing coverage. Please review.

Project coverage is 93.08%. Comparing base (2dc4d3d) to head (b67ecb5). Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
torchscan/modules/receptive.py 60.00% 2 Missing :warning:
Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/frgfm/torch-scan/pull/87/graphs/tree.svg?width=650&height=150&src=pr&token=CjKt53YqCX&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=F-G+Fernandez)](https://app.codecov.io/gh/frgfm/torch-scan/pull/87?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=F-G+Fernandez) ```diff @@ Coverage Diff @@ ## main #87 +/- ## ========================================== - Coverage 93.10% 93.08% -0.03% ========================================== Files 10 10 Lines 653 651 -2 ========================================== - Hits 608 606 -2 Misses 45 45 ``` | [Files with missing lines](https://app.codecov.io/gh/frgfm/torch-scan/pull/87?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=F-G+Fernandez) | Coverage Δ | | |---|---|---| | [torchscan/crawler.py](https://app.codecov.io/gh/frgfm/torch-scan/pull/87?src=pr&el=tree&filepath=torchscan%2Fcrawler.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=F-G+Fernandez#diff-dG9yY2hzY2FuL2NyYXdsZXIucHk=) | `84.32% <ø> (ø)` | | | [torchscan/modules/flops.py](https://app.codecov.io/gh/frgfm/torch-scan/pull/87?src=pr&el=tree&filepath=torchscan%2Fmodules%2Fflops.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=F-G+Fernandez#diff-dG9yY2hzY2FuL21vZHVsZXMvZmxvcHMucHk=) | `97.51% <100.00%> (ø)` | | | [torchscan/modules/macs.py](https://app.codecov.io/gh/frgfm/torch-scan/pull/87?src=pr&el=tree&filepath=torchscan%2Fmodules%2Fmacs.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=F-G+Fernandez#diff-dG9yY2hzY2FuL21vZHVsZXMvbWFjcy5weQ==) | `100.00% <100.00%> (ø)` | | | [torchscan/modules/memory.py](https://app.codecov.io/gh/frgfm/torch-scan/pull/87?src=pr&el=tree&filepath=torchscan%2Fmodules%2Fmemory.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=F-G+Fernandez#diff-dG9yY2hzY2FuL21vZHVsZXMvbWVtb3J5LnB5) | `100.00% <100.00%> (ø)` | | | [torchscan/utils.py](https://app.codecov.io/gh/frgfm/torch-scan/pull/87?src=pr&el=tree&filepath=torchscan%2Futils.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=F-G+Fernandez#diff-dG9yY2hzY2FuL3V0aWxzLnB5) | `100.00% <100.00%> (ø)` | | | [torchscan/modules/receptive.py](https://app.codecov.io/gh/frgfm/torch-scan/pull/87?src=pr&el=tree&filepath=torchscan%2Fmodules%2Freceptive.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=F-G+Fernandez#diff-dG9yY2hzY2FuL21vZHVsZXMvcmVjZXB0aXZlLnB5) | `83.78% <60.00%> (ø)` | |