Skip to content

Releases: ultralytics/thop

v2.0.3 - Update docstrings for tests (#47)

18 Aug 10:04
b59a86a
Compare
Choose a tag to compare

🌟 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

Full Changelog: v2.0.2...v2.0.3

v2.0.2 - Use PAT for actions (#40)

17 Aug 18:23
ca35c9f
Compare
Choose a tag to compare

🌟 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 to GITHUB_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 or GITHUB_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

Full Changelog: v2.0.1...v2.0.2