Skip to content

[pass] Insert Quantize Op in FoldQuantOps pass#164

Merged
jinevening merged 2 commits into
Samsung:mainfrom
jinevening:fold_qdq_requant
Jun 20, 2025
Merged

[pass] Insert Quantize Op in FoldQuantOps pass#164
jinevening merged 2 commits into
Samsung:mainfrom
jinevening:fold_qdq_requant

Conversation

@jinevening

@jinevening jinevening commented Jun 19, 2025

Copy link
Copy Markdown
Contributor

This inserts Quantize Op in FoldQuantOps pass.

TICO-DCO-1.0-Signed-off-by: Hyukjin Jeong hj1.jeong@samsung.com


Related to: #165

This inserts Quantize Op in FoldQuantOps pass.

TICO-DCO-1.0-Signed-off-by: Hyukjin Jeong <hj1.jeong@samsung.com>
dq.replace_all_uses_with(q, propagate_meta=False)
logger.debug(f"{dq.name} is folded ({q.name} is left).")

logger.debug(f"{q.name} and {dq.name} are folded to {op.name}.")

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line is remained duplicate.

@mhs4670go mhs4670go left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dayo09 dayo09 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jinevening jinevening merged commit 79a6132 into Samsung:main Jun 20, 2025
5 checks passed
@jinevening jinevening deleted the fold_qdq_requant branch June 20, 2025 05:08
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.

3 participants