Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Eliminate packaging dependency #12

Merged
merged 2 commits into from
May 31, 2024
Merged

Eliminate packaging dependency #12

merged 2 commits into from
May 31, 2024

Conversation

glenn-jocher
Copy link
Member

@glenn-jocher glenn-jocher commented May 31, 2024

πŸ› οΈ PR Summary

Made with ❀️ by Ultralytics Actions

🌟 Summary

Major updates to Ultralytics THOP for enhanced PyTorch model analysis πŸš€

πŸ“Š Key Changes

  • Automation in Publishing: Simplified the criteria to publish new versions automatically. Now, every new version increment triggers a publish. πŸ”„
  • Dynamic Versioning: Shifted to dynamic versioning, aligning with the package version directly in the code, removing the need for a separate version file. πŸ†š
  • Improved Package Description: Updated the package description for better clarity on its purpose. πŸ“
  • License Update: Changed the license specification format in the package metadata. πŸ“œ
  • Dependency Streamlining: Removed an unnecessary dependency (packaging), making the package lighter. πŸ—‘οΈ
  • Adaptation to PyTorch Versions: Removed version checks for PyTorch, assuming compatibility with current versions. 🀹
  • Enhanced Operation Support: Included support for nn.SyncBatchNorm across all compatible PyTorch versions. πŸ”©

🎯 Purpose & Impact

  • These changes aim to streamline the development and release process, making it easier for the Ultralytics team to maintain and update the package. 🚀
  • Dynamic versioning and automatic publishing ensure the users always have access to the latest features and fixes without manual intervention. 🌈
  • By updating the description and removing unnecessary dependencies, the package becomes more user-friendly and lightweight, enhancing the user experience. 🎈
  • Ensuring broader operation support and compatibility with current PyTorch versions allows users to analyze more comprehensive models without worrying about manual compatibility checks. 🧰

This update solidifies Ultralytics THOP as a go-to tool for analyzing PyTorch models, making it more accessible, user-friendly, and up-to-date with current PyTorch ecosystems.

@glenn-jocher glenn-jocher merged commit 3a47aa3 into main May 31, 2024
@glenn-jocher glenn-jocher deleted the eliminate-deps branch May 31, 2024 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants