Skip to content

test(pt_expt): apply fast AOTI config to generated pt2 fixtures#5546

Draft
njzjz-bot wants to merge 1 commit into
deepmodeling:masterfrom
njzjz-bothub:openclaw/fast-pt2-cc-fixtures
Draft

test(pt_expt): apply fast AOTI config to generated pt2 fixtures#5546
njzjz-bot wants to merge 1 commit into
deepmodeling:masterfrom
njzjz-bothub:openclaw/fast-pt2-cc-fixtures

Conversation

@njzjz-bot

Copy link
Copy Markdown
Contributor

Problem

Change

  • Move the fast test-only AOTInductor settings into a shared tests.pt_expt.aoti_config helper.
  • Apply the helper from pt_expt pytest conftest.py.
  • Apply the same helper from source/tests/infer/gen_common.py, which is used by all C/C++/LAMMPS .pt2 fixture generation scripts.

Notes

  • This is a draft PR to measure CI timing impact.
  • Local verification is limited to python3 -m py_compile and git diff --check; this environment does not have PyTorch installed.

Authored by OpenClaw (model: custom-chat-jinzhezeng-group/gpt-5.5)

@codecov

codecov Bot commented Jun 16, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.20%. Comparing base (69409c5) to head (42b6b46).
⚠️ Report is 3 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5546      +/-   ##
==========================================
- Coverage   82.22%   82.20%   -0.02%     
==========================================
  Files         892      892              
  Lines      101548   101562      +14     
  Branches     4242     4243       +1     
==========================================
+ Hits        83493    83494       +1     
- Misses      16754    16765      +11     
- Partials     1301     1303       +2     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@njzjz njzjz force-pushed the openclaw/fast-pt2-cc-fixtures branch from b3b2882 to 306fcef Compare June 17, 2026 02:25
C++ and LAMMPS tests generate their .pt2 fixtures via source/tests/infer/gen_*.py, which do not load pytest conftest.py. Apply the same fast AOTInductor settings through the shared generation helper so those fixtures skip expensive optimization passes too.

Authored by OpenClaw (model: custom-chat-jinzhezeng-group/gpt-5.5)
@njzjz njzjz force-pushed the openclaw/fast-pt2-cc-fixtures branch from 306fcef to 42b6b46 Compare June 17, 2026 03:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant