Skip to content

[webgpu] fix program variable data type and revise ProgramInput#24533

Merged
fs-eire merged 2 commits intomicrosoft:mainfrom
fs-eire:fs-eire/wgpu1
Apr 24, 2025
Merged

[webgpu] fix program variable data type and revise ProgramInput#24533
fs-eire merged 2 commits intomicrosoft:mainfrom
fs-eire:fs-eire/wgpu1

Conversation

@fs-eire
Copy link
Contributor

@fs-eire fs-eire commented Apr 24, 2025

Description

This PR fixes the program variable data type and revise ProgramInput:

  • add support for int4/uint4
  • fix inconsistency of dealing with number of components for int8/uint8 in ToProgramVariableDataType
  • add a constructor for ProgramInput to allow "flatten" the shape easily.
  • fix dequantize linear

guschmue
guschmue previously approved these changes Apr 24, 2025
@fs-eire fs-eire merged commit 19f7ef3 into microsoft:main Apr 24, 2025
72 of 84 checks passed
ankitm3k pushed a commit to intel/onnxruntime that referenced this pull request May 12, 2025
…osoft#24533)

### Description

This PR fixes the program variable data type and revise ProgramInput:
- add support for int4/uint4
- fix inconsistency of dealing with number of components for int8/uint8
in ToProgramVariableDataType
- add a constructor for `ProgramInput` to allow "flatten" the shape
easily.
- fix dequantize linear
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