Ultralytics-thop

Latest version: v2.0.13

Safety actively analyzes 693883 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 2

2.0.7

๐ŸŒŸ 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
* PyUpgrade 3.8 updates by glenn-jocher in https://github.com/ultralytics/thop/pull/55
* Update pyproject.toml URLs by glenn-jocher in https://github.com/ultralytics/thop/pull/57


**Full Changelog**: https://github.com/ultralytics/thop/compare/v2.0.6...v2.0.7

2.0.6

๐ŸŒŸ 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
* Add https://www.reddit.com/r/Ultralytics/ badge by glenn-jocher in https://github.com/ultralytics/thop/pull/51
* Update publish.yml by glenn-jocher in https://github.com/ultralytics/thop/pull/52
* Update publish.yml by glenn-jocher in https://github.com/ultralytics/thop/pull/53
* Update __init__.py by glenn-jocher in https://github.com/ultralytics/thop/pull/54


**Full Changelog**: https://github.com/ultralytics/thop/compare/v2.0.5...v2.0.6

2.0.5

๐ŸŒŸ 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
* Use PAT for PR details by glenn-jocher in https://github.com/ultralytics/thop/pull/50


**Full Changelog**: https://github.com/ultralytics/thop/compare/v2.0.4...v2.0.5

2.0.4

๐ŸŒŸ 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
* Update publish.yml by glenn-jocher in https://github.com/ultralytics/thop/pull/49


**Full Changelog**: https://github.com/ultralytics/thop/compare/v2.0.3...v2.0.4

2.0.3

๐ŸŒŸ 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 https://github.com/ultralytics/thop/pull/41
* Update publish.yml to remove || true by glenn-jocher in https://github.com/ultralytics/thop/pull/42
* Update publish.yml by glenn-jocher in https://github.com/ultralytics/thop/pull/43
* Prettier reformat publish.yml by glenn-jocher in https://github.com/ultralytics/thop/pull/44
* Fix publish.yml repo name by glenn-jocher in https://github.com/ultralytics/thop/pull/45
* Update publish.yml to GPT4o-08-06 by glenn-jocher in https://github.com/ultralytics/thop/pull/46
* Update docstrings for tests by glenn-jocher in https://github.com/ultralytics/thop/pull/47


**Full Changelog**: https://github.com/ultralytics/thop/compare/v2.0.2...v2.0.3

2.0.2

๐ŸŒŸ 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
* Use PAT for actions by glenn-jocher in https://github.com/ultralytics/thop/pull/40


**Full Changelog**: https://github.com/ultralytics/thop/compare/v2.0.1...v2.0.2

Page 2 of 2

ยฉ 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.