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)

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)
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