Lyken17 / pytorch-OpCounter

Count the MACs / FLOPs of your PyTorch model.
MIT License
4.9k stars 528 forks source link

Source distribution (sdist) and Git tags #222

Open ShamrockLee opened 6 months ago

ShamrockLee commented 6 months ago

Thank you for this great project!

When trying to package ultralytics for Nixpkgs, I discovered that this project's current CI only publishes versioned wheels on PyPI but not the source distribution (sdist). In addition, there's no obvious way to get the corresponding Git revision of each version.

It would be beneficial for software package maintainers to have access to each release's source code, as it provides better flexibility compared to built formats like wheel.