Fix Cadence test failures (#18655)#18655
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/18655
Note: Links to docs will display an error until the docs builds have been completed. ✅ You can merge normally! (2 Unrelated Failures)As of commit 5b756b9 with merge base 3a6314e ( BROKEN TRUNK - The following jobs failed but were present on the merge base:👉 Rebase onto the `viable/strict` branch to avoid these failures
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This PR needs a
|
5ef8120 to
9b7a505
Compare
- Fix test_pass_filter.py: use clear()+update() instead of rebinding ALL_CADENCE_PASSES in tearDown to keep the same dict object reference - Fix test_g3_ops.py: remove obsolete run_and_compare flag - Thread file_name through export_and_run_model → runtime.run_and_compare → runtime.run → Executor so the runner loads the correct .bpte file - Fix facto_util.py: import random_manager instead of seeded_random_manager to match the current FACTO submodule
10250e0 to
5b756b9
Compare
Summary:
ALL_CADENCE_PASSES in tearDown to keep the same dict object reference
→ runtime.run → Executor so the runner loads the correct .bpte file
to match the current FACTO submodule
Test Plan:
OSS:
python -m pytest backends/cadence/aot/tests/ -v— 488 passedReviewed By: zonglinpeng
Differential Revision: D99168797
Pulled By: aliafzal