Skip to content

Shape inference: GatherBlockQuantized dispatcher - #23748

Merged
jambayk merged 4 commits into
mainfrom
jambayk/gatherquantized-infer
Feb 21, 2025
Merged

Shape inference: GatherBlockQuantized dispatcher#23748
jambayk merged 4 commits into
mainfrom
jambayk/gatherquantized-infer

Conversation

@jambayk

@jambayk jambayk commented Feb 19, 2025

Copy link
Copy Markdown
Contributor

Description

Add shape infer dispatcher for GatherBlockQuantized contrib op. It reuses the dispatcher for Gather op since the first two inputs have the same specs. The output elem type comes from input 2 (scales) for GatherBlockQuantized.

Motivation and Context

Support shape inference for models with GatherBlockQuantized op.

@jambayk
jambayk requested a review from tianleiwu February 19, 2025 04:52
tianleiwu
tianleiwu previously approved these changes Feb 20, 2025
@microsoft microsoft deleted a comment from azure-pipelines Bot Feb 20, 2025
@jambayk

jambayk commented Feb 20, 2025

Copy link
Copy Markdown
Contributor Author

/azp run Linux CPU CI Pipeline, Linux CPU Minimal Build E2E CI Pipeline, Linux GPU CI Pipeline, Linux GPU TensorRT CI Pipeline, MacOS CI Pipeline, ONNX Runtime Web CI Pipeline, onnxruntime-binary-size-checks-ci-pipeline, Linux QNN CI Pipeline

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 8 pipeline(s).

@jambayk

jambayk commented Feb 20, 2025

Copy link
Copy Markdown
Contributor Author

/azp run Windows CPU CI Pipeline, Windows GPU CI Pipeline, Windows GPU TensorRT CI Pipeline, Windows ARM64 QNN CI Pipeline, Windows x64 QNN CI Pipeline, Big Models

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 5 pipeline(s).

@jambayk

jambayk commented Feb 20, 2025

Copy link
Copy Markdown
Contributor Author

/azp run Linux Android Emulator QNN CI Pipeline, Windows GPU CUDA CI Pipeline, Windows GPU DML CI Pipeline, Windows GPU Doc Gen CI Pipeline, Win_TRT_Minimal_CUDA_Test_CI

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 5 pipeline(s).

@jambayk

jambayk commented Feb 20, 2025

Copy link
Copy Markdown
Contributor Author

/azp run Linux OpenVINO CI Pipeline

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@jambayk
jambayk merged commit 6715d4c into main Feb 21, 2025
@jambayk
jambayk deleted the jambayk/gatherquantized-infer branch February 21, 2025 00:21
guschmue pushed a commit that referenced this pull request Mar 6, 2025
### Description
Add shape infer dispatcher for `GatherBlockQuantized` contrib op. It
reuses the dispatcher for `Gather` op since the first two inputs have
the same specs. The output elem type comes from input 2 (scales) for
`GatherBlockQuantized`.

### Motivation and Context
Support shape inference for models with `GatherBlockQuantized` op.
ashrit-ms pushed a commit that referenced this pull request Mar 17, 2025
### Description
Add shape infer dispatcher for `GatherBlockQuantized` contrib op. It
reuses the dispatcher for `Gather` op since the first two inputs have
the same specs. The output elem type comes from input 2 (scales) for
`GatherBlockQuantized`.

### Motivation and Context
Support shape inference for models with `GatherBlockQuantized` op.
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