v2.0.3 - Update docstrings for tests (#47)
·
115 commits
to main
since this release
🌟 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