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

[AutoBump] Merge with fixes of c1892de6 (Dec 05) (128) #518

Merged
merged 15 commits into from
Feb 10, 2025

Conversation

mgehre-amd
Copy link
Collaborator

No description provided.

sahas3 and others added 7 commits December 5, 2024 11:47
ConvOp defined with padding = "same"/"valid" produces the padding
variant of the op, such as `conv2d.padding` for 2d convolution. This PR
adds these conv variations to torch-mlir registry and a decomposition of
these ops to `aten.convolution` to be able to go through the different
pass pipelines.
This commit disables the LTC build from the Torch-MLIR CI since after
the recent GH runner version upgrade the Torch-MLIR build in CI is
failing with an LTC related error.

The tracking issue for the same can be found here:
llvm#3910

Signed-off-by: Vivek Khandelwal <[email protected]>
)

Dense Resources cannot have `-` characters as part of the resource keys.
Many ONNX models, however, do have these characters in `TensorProto` or
initializer names.

This patch adds an unconditional replace function in the sanitization of
initializer names that replaces all `-` characters with `_`
(underscores) when the dense resources are created, which allows
successful parsing of the IR.

In case the name was legal before sanitization, the function has no
effect. Unnecessary additional time complexity is avoided by omitting an
`if` condition to check containment.
Refactors llvm#3901 by merging
illegal character sanitization into the regex and removing call to
`replace()`.
Base automatically changed from bump_to_92d0f042 to feature/backport_ea1_ops February 7, 2025 08:17
@mgehre-amd mgehre-amd merged commit d18df3d into feature/backport_ea1_ops Feb 10, 2025
4 checks passed
@mgehre-amd mgehre-amd deleted the bump_to_c1892de6 branch February 10, 2025 13:00
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.

5 participants