Skip to content

Conversation

fajin-corp
Copy link
Contributor

@fajin-corp fajin-corp commented Jun 3, 2024

Description

Added blocked quantization to DequantizeLinear op kernel. All existing input types and output types are supported. All axes are supported.

The implementation in the PR is naive - single thread and scalar instructions. Multi-threading and vector instructions are planned in the future based on the needs.

Motivation and Context

onnx introduced blocked quantization in opset 21 for DequantizeLinear. This PR adds the spec support in onnx runtime.

@fajin-corp fajin-corp requested a review from a team as a code owner June 3, 2024 04:02
yufenglee
yufenglee previously approved these changes Jun 4, 2024
Copy link
Member

@yufenglee yufenglee left a comment

Choose a reason for hiding this comment

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

:shipit:

Copy link
Member

@yufenglee yufenglee left a comment

Choose a reason for hiding this comment

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

:shipit:

@fajin-corp fajin-corp merged commit 3ecb012 into main Jun 4, 2024
@fajin-corp fajin-corp deleted the fajin/dqblockquant- branch June 4, 2024 21:44
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.

2 participants