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

Add contrib Q/DQ ops to symbolic shape inference tool #19340

Merged
merged 4 commits into from Jan 31, 2024

Conversation

adrianlizarraga
Copy link
Contributor

Description

Adds type/shape inferencing support for MSFT domain QuantizeLinear and DequantizeLinear operators to symbolic_shape_infer.py

Motivation and Context

Need a way to infer the types and shapes of Q/DQ ops in models that use the MSFT domain versions (e.g., int16 quantization).

@adrianlizarraga adrianlizarraga marked this pull request as ready for review January 31, 2024 06:32
Copy link
Contributor

@tianleiwu tianleiwu left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@HectorSVC HectorSVC left a comment

Choose a reason for hiding this comment

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

:shipit:

@jywu-msft jywu-msft requested a review from yf711 January 31, 2024 18:30
@adrianlizarraga adrianlizarraga merged commit ca8d445 into main Jan 31, 2024
98 checks passed
@adrianlizarraga adrianlizarraga deleted the adrianl/add-qdq-to-sym-shape-infer branch January 31, 2024 18:38
@sophies927 sophies927 added the triage:approved Approved for cherrypicks for release label Feb 7, 2024
YUNQIUGUO pushed a commit that referenced this pull request Feb 8, 2024
### Description
Adds type/shape inferencing support for MSFT domain QuantizeLinear and
DequantizeLinear operators to symbolic_shape_infer.py


### Motivation and Context
Need a way to infer the types and shapes of Q/DQ ops in models that use
the MSFT domain versions (e.g., int16 quantization).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release:1.17.1 triage:approved Approved for cherrypicks for release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants