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

[CoreML MLProgram] Support Float16 (1/N) #22068

Merged
merged 39 commits into from
Sep 30, 2024
Merged

[CoreML MLProgram] Support Float16 (1/N) #22068

merged 39 commits into from
Sep 30, 2024

Conversation

wejoncy
Copy link
Contributor

@wejoncy wejoncy commented Sep 12, 2024

Description

Support Float16 for CoreML MLProgram EP.
Operations:
"Add", "Mul", "Sub", "Div", "Pow", "Sqrt", "Reciprocal",
"Sigmoid", "Tanh", "Relu", "LeakyRelu", "Concat", "GridSample", "GlobalAveragePool",
"Clip", "DepthToSpace", "Resize", "Slice", "Conv",
"ConvTranspose", "GlobalMaxPool", "Gemm", "MatMul",
"AveragePool", "MaxPool", "Reshape", "Split", "Transpose"

Motivation and Context

@wejoncy wejoncy marked this pull request as ready for review September 20, 2024 09:07
wejoncy and others added 6 commits September 25, 2024 10:51
Co-authored-by: Scott McKay <skottmckay@gmail.com>
Co-authored-by: Scott McKay <skottmckay@gmail.com>
…r.cc

Co-authored-by: Scott McKay <skottmckay@gmail.com>
Co-authored-by: Scott McKay <skottmckay@gmail.com>
Co-authored-by: Scott McKay <skottmckay@gmail.com>
onnxruntime/test/providers/cpu/nn/conv_fp16_test.cc Outdated Show resolved Hide resolved
onnxruntime/test/providers/cpu/tensor/grid_sample_test.cc Outdated Show resolved Hide resolved
onnxruntime/test/providers/cpu/math/gemm_test.cc Outdated Show resolved Hide resolved
onnxruntime/test/providers/cpu/tensor/resize_op_test.cc Outdated Show resolved Hide resolved
onnxruntime/test/providers/cpu/nn/conv_fp16_test.cc Outdated Show resolved Hide resolved
wejoncy and others added 2 commits September 30, 2024 11:02
@wejoncy wejoncy merged commit 2cfe1f0 into main Sep 30, 2024
81 checks passed
@wejoncy wejoncy deleted the jicwen/coreml_fp16 branch September 30, 2024 09:56
tianleiwu pushed a commit that referenced this pull request Oct 11, 2024
### Description
ROCm CI fails since adding test for BFloat16, Sqrt op (introduced in
#22068).
guschmue pushed a commit that referenced this pull request Oct 18, 2024
### Description
ROCm CI fails since adding test for BFloat16, Sqrt op (introduced in
#22068).
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