Repository navigation
Samsung Exynos AI LiteCore - test annoate qparam - #24659
Conversation
* Fix QDQ walk and tests for AnnotateQparamsPass _walk_qdq_chain_to_terminals dropped the terminal when a Q/DQ node fed both other Q/DQ nodes and direct float consumers, leaving the float branch's SharedQuant op silently unannotated (accuracy drop only). Also add GraphBuilder-based pass tests (backward/fan-out/negative cases) and wire them into CI before the device gate. Co-authored-by: Jintaek Noh <jintech.noh@samsung.com> Signed-off-by: Jiseong.Oh <jiseong.oh@samsung.com>
Requantization parameters were misapplied due to inconsistent node ordering between _get_last_dqs and _collect_dq_nodes. This discrepancy arose from direct SharedQuant operations and differences in terminal node positions based on user order. To resolve this, _get_last_dqs was unified with _walk_qdq_chain_to_terminals to ensure a single, consistent terminal order. Direct consumers are now propagated separately, and requantize parameters are looked up using this synchronized order. Signed-off-by: Jiseong Oh <jiseong.oh@samsung.com>
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/24659
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 41dcb3c with merge base 818f25f ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This PR needs a
|
|
This PR was required from #22725 (comment) |
Summary
_walk_qdq_chain_to_terminals dropped the terminal when a Q/DQ node fed both other Q/DQ nodes and direct float consumers, leaving the float branch's SharedQuant op silently unannotated (accuracy drop only). Also add GraphBuilder-based pass tests (backward/fan-out/negative cases) and wire them into CI before the device gate.
Test plan
cc @SS-JIA @digantdesai @kimishpatel