Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend QDQPropagation transformer to handle multiple consumers #21313

Merged
merged 21 commits into from
Jul 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
0532cfb
First working version
adrianlizarraga Jul 9, 2024
65166b8
Simplify edge group loop
adrianlizarraga Jul 9, 2024
d9d76fc
Clean up edge case handling
adrianlizarraga Jul 9, 2024
66d7a9a
Use a queue to traverse groups of edges
adrianlizarraga Jul 10, 2024
b555755
Merge branch 'main' into adrianl/slice-qdq-fixup
adrianlizarraga Jul 10, 2024
ecddb01
Move validation and logging to separate functions
adrianlizarraga Jul 10, 2024
e347c11
Add QDQTransformerTest
adrianlizarraga Jul 11, 2024
865d3f3
Support propagating DQ when op with multiple consumers also generates…
adrianlizarraga Jul 11, 2024
db3fd97
Merge branch 'main' into adrianl/slice-qdq-fixup
adrianlizarraga Jul 11, 2024
c72e374
Don't propagate DQ forward if any edge after the data-movement op end…
adrianlizarraga Jul 11, 2024
1853f28
Move check for edge that ends in Q out of function
adrianlizarraga Jul 11, 2024
1490f5c
Add comment for BFS traversal of edge groups
adrianlizarraga Jul 11, 2024
aa0733d
Update onnxruntime/core/optimizer/qdq_transformer/qdq_propagation.cc
adrianlizarraga Jul 11, 2024
4db508e
Merge branch 'main' into adrianl/slice-qdq-fixup
adrianlizarraga Jul 22, 2024
8717796
Copy node attributes when propagating Q or DQ ops.
adrianlizarraga Jul 22, 2024
f4390e7
Revise comments to explain that edge groups share the same NodeArg
adrianlizarraga Jul 22, 2024
51ace3a
Update comment
adrianlizarraga Jul 22, 2024
8fbe4e3
Fix GitHub cpplint warnings
adrianlizarraga Jul 23, 2024
cb77b8d
Merge branch 'main' into adrianl/slice-qdq-fixup
adrianlizarraga Jul 24, 2024
0d58b26
Review suggestion: simplify edge validation by checking node args
adrianlizarraga Jul 24, 2024
a3a36ed
Update onnxruntime/core/optimizer/qdq_transformer/qdq_propagation.cc
adrianlizarraga Jul 24, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Loading