Skip to content

Releases: ultralytics/thop

v2.0.10 - Python 3.13 update (#68)

29 Oct 21:39
d895cdc

Choose a tag to compare

🌟 Summary

The release of version 2.0.10 introduces support for Python 3.13 and improvements in release automation processes.

📊 Key Changes

  • Python 3.13 Support: The project now officially supports Python 3.13, as indicated in the metadata.
  • Version Upgrade: The internal version is updated from 2.0.9 to 2.0.10 to reflect these changes.
  • Updated Publish Workflow: The GitHub Actions publish workflow has been optimized:
    • Replaced requests library with ultralytics-actions to simplify dependencies.
    • Transitioned to using a utility function check_pypi_version() for version management.
    • Implemented ultralytics-actions-summarize-release for release note automation.

🎯 Purpose & Impact

  • Enhanced Compatibility: By supporting Python 3.13, the project ensures users can leverage the latest features and improvements of the Python language in their work, promoting greater flexibility and longevity in software development. 🐍
  • Streamlined Workflow: The workflow enhancements provide a more efficient and secure process for managing and publishing new versions, reducing potential errors and dependency on manual operations. 🚀
  • Improved Maintainability: Utilization of standard utilities and functions helps maintain clean, organized, and reusable code, ultimately leading to a more robust and reliable codebase. 📦

What's Changed

Full Changelog: v2.0.9...v2.0.10

v2.0.9 - Update publish.yml to trusted publisher (#64)

05 Oct 13:03
d304ceb

Choose a tag to compare

🌟 Summary

The release v2.0.9 primarily enhances the publishing workflow for the Ultralytics THOP repository, focusing on improving security and streamlining processes.

📊 Key Changes

  • Updated the GitHub Actions workflow to incorporate trusted publisher permissions for PyPI.
  • Separated the build and publish steps to optimize the workflow process.
  • Adopted a more straightforward method using GitHub Actions for publishing packages to PyPI.
  • Incremented the software version from 2.0.8 to 2.0.9.

🎯 Purpose & Impact

  • Enhanced Security: By employing token permissions, the release ensures a secure method of publishing to PyPI, safeguarding against unauthorized access and enhancing trustworthiness. 🛡️
  • Streamlined Publishing: The transition to using a dedicated action for PyPI publication simplifies the process, reducing the chances of errors and making it more efficient and reliable. 🚀
  • Version Consistency: Updating the version number ensures that changes are clearly communicated and that users are working with the latest improvements. 🔄

What's Changed

Full Changelog: v2.0.8...v2.0.9

v2.0.8 - `ultralytics-thop 2.0.8` (#59)

22 Sep 15:58
87f13d1

Choose a tag to compare

🌟 Summary

New version release for thop: updated from v2.0.7 to v2.0.8 🎉

📊 Key Changes

  • Incremented the version number in the __init__.py, marking the new release.
  • Updated project maintainer details in pyproject.toml.

🎯 Purpose & Impact

  • Version Update: This update indicates either minor tweaks, bug fixes, or small feature improvements, promoting enhanced performance or resolving any identified issues.
  • Improved Correspondence: Updating the maintainer to "Ultralytics" with a new email contact standardizes communication lines and enhances organizational clarity.
  • User Impact: All users should upgrade to ensure compatibility and potentially experience improved functionality.

What's Changed

Full Changelog: v2.0.7...v2.0.8

v2.0.7 - Update pyproject.toml URLs (#57)

22 Sep 14:59
5b566a3

Choose a tag to compare

🌟 Summary

v2.0.7 enhances the project by improving metadata accessibility and ensuring clarity through focused code updates.

📊 Key Changes

  • Updated pyproject.toml to include new links for Homepage, Source, Documentation, and Changelog.
  • Bumped the project version from 2.0.6 to 2.0.7.
  • Refined code with updated string formatting to use modern f-strings.
  • Improved error message logging for clarity in thop/profile.py.
  • Fixed tensor size logic in count_convNd_ver2 function.

🎯 Purpose & Impact

  • Enhanced User Navigation: 🖱️ The addition of direct links to the project's homepage, source, and documentation provides users with easy access to essential resources.
  • Transparency and Tracking: 📜 A new Changelog URL helps users keep track of changes and updates conveniently.
  • Readability and Maintenance: 🧹 Transition to f-strings improves code readability, making it easier for developers to work with and maintain.
  • Error Identification: 🚨 Improved logging messages help developers quickly identify and resolve issues.
  • Robust Performance: 🏋️ Bug fixes in tensor handling ensure accurate performance measurements in convolutional operations, maintaining integrity in computational processes.

What's Changed

Full Changelog: v2.0.6...v2.0.7

v2.0.6 - Update __init__.py (#54)

31 Aug 23:35
a39771d

Choose a tag to compare

🌟 Summary

This release (v2.0.6) focuses on enhancing performance, improving workflow efficiency, and ensuring clearer and more consistent version handling. Additionally, a Reddit badge has been added to increase community engagement visibility.

📊 Key Changes

  • 🚀 Code refactoring to improve performance and readability.
  • 🏷️ Updated version tagging for enhanced clarity in workflows.
  • 🌐 Added a Reddit badge in the README to connect with community updates.
  • 📜 Streamlined GitHub publish workflow by removing OpenAI dependency and using a pre-fetched summarization script.
  • 🗃️ Changed the thop library version from 2.0.5 to 2.0.6 for minor updates.

🎯 Purpose & Impact

  • Performance Boost: By optimizing functions and simplifying complex code, the software now runs faster and is easier to maintain, benefitting both developers and users alike.
  • Workflow Efficiency: Removal of the OpenAI dependency reduces potential errors and speeds up the release process by fetching a tested script, making the software deployment more reliable.
  • Clarity and Consistency: Updated version tagging makes it easier for developers to track changes and understand which versions are being referenced, reducing confusion and improving communication in deployment notifications.
  • Community Engagement: The addition of a Reddit badge encourages more community interaction and provides an easy way for users to follow discussions and updates.
  • Software Maintenance: Keeping the library version updated ensures users benefit from the latest bug fixes and optimizations, leading to a smoother experience.

What's Changed

Full Changelog: v2.0.5...v2.0.6

v2.0.5 - Use PAT for PR details (#50)

19 Aug 09:15
0862a91

Choose a tag to compare

🌟 Summary

Version 2.0.5 includes improvements to the GitHub workflow for processing pull requests and a version bump in the THOP library.

📊 Key Changes

  • 🛠️ Enhanced the GitHub Actions workflow to better handle pull request events and extract details more efficiently.
  • 🔢 Updated the version of the THOP library from 2.0.3 to 2.0.5.

🎯 Purpose & Impact

  • 🚀 Improved Workflow Efficiency: By refining the method of extracting pull request details, the process is now more robust and can handle different event types like pull_request and pull_request_target. This ensures that the right information is captured, which simplifies release procedures and enhances automation reliability.
  • 🔄 Library Update: Incrementing the version number signifies minor updates or improvements to THOP, typically signaling to users that bug fixes or minor enhancements may have been introduced, contributing to a smoother integration or performance.

What's Changed

Full Changelog: v2.0.4...v2.0.5

v2.0.4 - Update publish.yml (#49)

19 Aug 09:10
a4ebdd4

Choose a tag to compare

🌟 Summary

The v2.0.4 update introduces enhancements in the automation of GitHub workflows and a version bump for the package.

📊 Key Changes

  • Improved GitHub Actions workflow to handle pull request events more comprehensively.
  • Updated version number in the thop library from 2.0.3 to 2.0.4.

🎯 Purpose & Impact

  • Enhanced Workflow Automation: The update ensures that pull request targets (pull_request_target) are correctly processed along with standard pull requests, leading to more robust and versatile workflow automation. This change can improve the efficiency of release processes and ensure accurate extraction of pull request details, minimizing manual intervention. ⚙️
  • Version Update: This change indicates either bug fixes or minor improvements to the thop library, signaling reliability and improved functionality to its users. 📦

Overall, these changes streamline developer operations and ensure consistency in processing updates and version control. 🌐

What's Changed

Full Changelog: v2.0.3...v2.0.4

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

18 Aug 10:04
b59a86a

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

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