microsoft / microsoft/onnxruntime

Element wise operations are missing some (u)int implementations

Open
#23,051 0 comments 0 reactions 0 assignees View on GitHub
feature request
Dominant language
C++
Stars
21.9k
Forks
4.2k
Avg merge
4d 11h
Merged PRs (30d)
184

Description

Since onnx opset 14 Add/Sub/Mul/Div element wise operations are supposed to support (u)int16 and (u)int8 types. These implementations are currently missing for the cpu and cuda execution providers. Additionally the cpu execution providers implementations for uint32 and uint64 are missing.

Contributor guide

Open the contributing guide

Research direction

Start by locating the CPU and CUDA execution-provider implementations for the Add, Sub, Mul, and Div element-wise operations, then inspect existing integer-type coverage. Add support for the listed uint8, uint16, uint32, and uint64 cases where applicable, and verify that opset 14 type coverage works for each operation and provider.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
backend, machine-learning
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.