forked from luohuan19/PTOTestingFramework
-
Notifications
You must be signed in to change notification settings - Fork 0
chore: Update submodules to latest versions #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
github-actions
wants to merge
17
commits into
main
Choose a base branch
from
auto-update-submodules
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Add CI workflow for automated testing across multiple Python versions - Test on Python 3.9 and 3.10 (3.11 temporarily disabled due to PyPTO TensorType API compatibility) - Build PyPTO and dependencies with ccache for faster builds - Run pytest with --codegen-only flag for code generation validation - Upload test artifacts on failure for debugging - Add code quality checks with black and isort - Format all Python code in src/ and tests/ to comply with CI checks - Ensure consistent code style across the project - Add documentation build verification - Verify README.md exists and is valid - Add automated submodule update workflow - Schedule: runs 3 times daily (UTC 00:00, 06:00, 12:00) - Auto-creates PR when submodules have updates - Tracks version changes for PyPTO and Simpler submodules - Fix Simpler module import verification - Use 'import pto_compiler' instead of 'import simpler' - Simpler is not a Python package (no __init__.py), only contains standalone modules Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
Add GitHub Actions CI/CD workflows
Problem: - Python 3.9 CI tests were failing due to build issues - Submodule update workflow failed with permission denied error - Missing commit specification documentation Solution: - Remove Python 3.9 from CI test matrix, keep only 3.10 - Add permissions (contents: write, pull-requests: write) to submodule workflow - Add comprehensive commit specification documentation Changes: - Update .github/workflows/ci.yml - Remove Python 3.9 from test matrix (only 3.10 now) - Python 3.11 remains disabled due to PyPTO TensorType API compatibility - Update .github/workflows/update-submodules.yml - Add permissions block to fix 403 error when pushing branches - Allow workflow to create PRs and push to repository - Add docs/specification/commit-specification.md - Define commit message format and types - Provide examples for different commit scenarios - Document PR squash requirements Impact: - CI now runs faster with single Python version - Automated submodule updates can now successfully create PRs - Contributors have clear guidelines for commit messages Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
Fix: Resolve CI workflow issues and add commit specification
Automated submodule update to latest versions: - PyPTO: 8e71317 -> 71a3555 - Simpler: f6e2e31 -> 88fec73
chore: Update submodules to latest versions
Automated submodule update to latest versions: - PyPTO: 71a3555 -> c422216 - Simpler: 88fec73 -> d07191f
chore: Update submodules to latest versions
Problem: - PRs can change submodule gitlinks and .gitmodules, causing CI to test against unreviewed submodule revisions or forked URLs Solution: - Checkout PR merge ref without submodules - Restore .gitmodules from base SHA and resync submodule config - Reset each submodule gitlink to the base branch recorded commit, then update submodules recursively Impact: - PR code changes are still tested, but submodule revisions are pinned to base branch state
Fix: Force PR CI to use base submodule gitlinks
Automated submodule update to latest versions: - PyPTO: c422216 -> 4e52fbc - Simpler: d07191f -> af5e309
chore: Update submodules to latest versions
- Fetch the latest base branch HEAD using base_ref instead of base.sha - Ensure submodule pointers align with current base branch state - Add logging to show which base version is being used - Optimize code formatting and conditional logic
ci: use latest base branch HEAD for PR submodule checks
- Replace KernelGenerator with ProgramCodeGenerator that uses PyPTO's ir.compile() for both kernel and orchestration code generation. - Updated directory structure for generated files - Update test cases and simplify TestRunner/StandaloneRunner. - Deprecate get_orchestration() method in favor of FunctionType.Orchestration pattern.
Refactor codegen to use PyPTO ir.compile() API
Automated submodule update to latest versions: - PyPTO: 4e52fbc -> 95f74e5
61e1e9c to
cb8c542
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Automated Submodule Update
This PR updates all submodules to their latest versions.
Changes:
Testing
Please review the changes and ensure all tests pass before merging.
🤖 Generated automatically by GitHub Actions