-
Notifications
You must be signed in to change notification settings - Fork 323
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
Use dim_params in dynamic dimension analysis #2620
Conversation
Signed-off-by: Tung D. Le <[email protected]>
Signed-off-by: Tung D. Le <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, if you go through one more rebuild, would just add a bit of cements for the build functions as you have now 2, one that is called for normal ops and one for the function params. Lots of useful debug printouts so that helps understand the code too.
Thanks for this great addition, looking forward to see the improvements.
@jenkins-droid test this please |
Signed-off-by: Tung D. Le <[email protected]>
Yes, done. |
Jenkins Linux amd64 Build #13436 [push] Use dim_params in dynami... started at 03:58 |
Jenkins Linux s390x Build #13463 [push] Use dim_params in dynami... started at 04:58 |
Jenkins Linux ppc64le Build #12457 [push] Use dim_params in dynami... started at 05:07 |
Jenkins Linux ppc64le Build #12457 [push] Use dim_params in dynami... failed after 1 min 49 sec |
Jenkins Linux amd64 Build #13436 [push] Use dim_params in dynami... passed after 1 hr 11 min |
Jenkins Linux s390x Build #13463 [push] Use dim_params in dynami... passed after 1 hr 27 min |
* 'main' of github.ibm.com:zosdev/onnx-mlir: Use dim_params in dynamic dimension analysis (onnx#2620) Update rapidcheck to include the fix for missing <cstdint> include (onnx#2623) Initial changes for llvm uplift (onnx#2568) [build] Add cmake option to enable/disable Java components build (onnx#2613) [StableHLO] Lowers PadOp (constant mode) & GatherElements Op to StableHLO (onnx#2602) [DialectBuilder] add builder funcrions for ONNXSumOp and ONNXConvOp (onnx#2572) Import dim_param for model inputs and outputs (onnx#2616) Parse and set --mcpu in onnx-mlir-opt command (onnx#2614) Layernorm: convert instance norm and group norm to layer norm. (onnx#2595) [NNPA] Use F16 as element type for zTensor (onnx#2611) detect LayerNorm in presence of reciprocal and div of 1 (onnx#2609) # Conflicts: # test/mlir/conversion/onnx_to_krnl/NN/Normalization_O3_SIMD_canonicalize.mlir
This patch improves the dynamic dimension analysis by getting the relationship between input and output dimensions via
onnx.dim_params
attribute.