Skip to content

Releases: ultralytics/thop

v2.0.12 - Slack v2 API usage (#73)

19 Nov 09:50
df9519d
Compare
Choose a tag to compare

🌟 Summary

The release v2.0.12 enhances Slack integration for notifications and updates the project's version.

📊 Key Changes

  • Slack Integration Update: The Slack GitHub action is upgraded from version v1.26.0 to v2.0.0, changing the configuration syntax for more robust notifications.
  • Version Update: The project version is incremented from 2.0.11 to 2.0.12, reflecting these updates.

🎯 Purpose & Impact

  • Improved Notification Stability: The update to Slack's latest version ensures more reliable notifications for workflow successes and failures, leveraging enhancements from the Slack action update.
  • Version Bump for Maintenance: Upgrading the version helps users and developers track changes easily, underscoring minor improvements or bug fixes without major functional shifts.

What's Changed

Full Changelog: v2.0.11...v2.0.12

v2.0.11 - Add environment to publish.yml (#70)

07 Nov 14:35
b01f82c
Compare
Choose a tag to compare

🌟 Summary

The v2.0.11 release for the ultralytics/thop project focuses on refining the deployment process through improved GitHub Actions workflows and enhanced notification clarity.

📊 Key Changes

  • GitHub Actions Enhancement: Updated the publish.yml with an environment section detailing deployment specifications, including environment name and URL for better tracking via GitHub's Deployments tab.
  • Version Number Update: Incremented the version number from 2.0.10 to 2.0.11 to reflect these updates.
  • Notification Improvements: Enhanced Slack notifications in GitHub Actions to display the current release tag being published, improving the context of updates.

🎯 Purpose & Impact

  • Streamlined Deployment: The addition of environment details in the workflow increases transparency and organization in the deployment process, aiding developers in effectively managing and tracking releases. 🌐
  • Clear Versioning: The version bump to 2.0.11 signals minor improvements, assisting users in pinpointing updates and maintaining software consistency. 🆙
  • Improved Communication: Updating Slack notifications with more precise information helps team members quickly recognize and respond to the latest package releases, enhancing the team's operational efficiency. 📢🚀

What's Changed

Full Changelog: v2.0.10...v2.0.11

v2.0.10 - Python 3.13 update (#68)

29 Oct 21:39
d895cdc
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
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