Skip to content

[feat] switch create_test_model to unified single-stage AOTI export#477

Open
tiankongdeguiji wants to merge 1 commit intoalibaba:masterfrom
tiankongdeguiji:unified-aot-test-model
Open

[feat] switch create_test_model to unified single-stage AOTI export#477
tiankongdeguiji wants to merge 1 commit intoalibaba:masterfrom
tiankongdeguiji:unified-aot-test-model

Conversation

@tiankongdeguiji
Copy link
Copy Markdown
Collaborator

Summary

  • Replace legacy two-stage AOT export (split_model + export_model_aot) with unified single-stage export_unified_model_aot in create_test_model, so unit tests exercise the same fused sparse+dense AOTI compilation path used in production.
  • Remove unused split_model import from test_util.py.

Test plan

  • MultiTowerDINTest.test_multi_tower_din_3 (AOT_INDUCTOR) — passed (18s, real AOTI compilation)
  • DlrmHSTUTest.test_dlrm_hstu (Hypothesis with AOT_INDUCTOR examples) — passed (190s)
  • All 4 multi_tower_din graph type variants (NORMAL, FX_TRACE, JIT_SCRIPT, AOT_INDUCTOR) — passed
  • Ruff lint — passed

🤖 Generated with Claude Code

Replace legacy two-stage AOT export (split_model + export_model_aot) with
unified export_unified_model_aot in create_test_model, so unit tests exercise
the same one-stage fused sparse+dense AOTI compilation path used in production.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant