Releases: ultralytics/thop
Releases · ultralytics/thop
v2.0.3 - Update docstrings for tests (#47)
🌟 Summary
The v2.0.3 release features improvements in the release automation process and provides detailed test documentation for better understanding and usage of THOP components.
📊 Key Changes
- GitHub Actions Update: The workflow file was updated to run on the latest Ubuntu version instead of macOS for improved compatibility and efficiency.
- Python Version Flexibility: The Python environment setup now supports any version in the 3.x series, instead of a fixed 3.11, enhancing compatibility.
- Testing Enhancements: Documentation was added to test utility classes explaining their purpose in profiling the performance of neural network components.
🎯 Purpose & Impact
- Faster and More Reliable CI/CD: Switching to Ubuntu and allowing any Python 3.x version makes the continuous integration and deployment process more robust and reduces job failures due to environment mismatches. 🚀
- Greater Clarity in Testing: By adding docstrings to test files, developers and users gain a better understanding of how tests assess the performance and efficiency of neural network layers. This transparency aids in debugging and optimizing code. 🧑💻
- Ease of Adaptation: The flexible Python version setup ensures that future updates and user environments remain compatible without needing constant adjustments to the workflow file. 🔧
What's Changed
- Remove fetch-depth 0 on publish by @glenn-jocher in #41
- Update publish.yml to remove || true by @glenn-jocher in #42
- Update publish.yml by @glenn-jocher in #43
- Prettier reformat publish.yml by @glenn-jocher in #44
- Fix publish.yml repo name by @glenn-jocher in #45
- Update publish.yml to GPT4o-08-06 by @glenn-jocher in #46
- Update docstrings for tests by @glenn-jocher in #47
Full Changelog: v2.0.2...v2.0.3
v2.0.2 - Use PAT for actions (#40)
🌟 Summary
Version 2.0.2 brings critical updates for GitHub Actions and versioning improvements.
📊 Key Changes
- Modified GitHub Actions workflow to prefer
PERSONAL_ACCESS_TOKEN
or fallback toGITHUB_TOKEN
for authentication. - Incremented the library version from 2.0.1 to 2.0.2.
🎯 Purpose & Impact
-
💼 Improved Workflow: By allowing the use of
PERSONAL_ACCESS_TOKEN
orGITHUB_TOKEN
, it ensures more flexible and reliable authentication in GitHub Actions.- Impact: Ensures smoother automated processes and reduces potential authentication errors during repository actions.
-
🆙 Versioning Update: Updating the version number to 2.0.2 reflects the latest changes and fixes.
- Impact: Users and developers get clear visibility of the latest stable release, ensuring they work with the most up-to-date version of the software.
What's Changed
- Use PAT for actions by @glenn-jocher in #40
Full Changelog: v2.0.1...v2.0.2