You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looks like the static shape requirement goes pretty deep through Reduction.cpp and Utils.cpp. Probably not worth it at the moment to try to support dynamic shapes. Will make the shapes static in the test cases.
renxida
changed the title
ReduceSum onnx->torch->linalg fails
test_reduce_sum_negative_axes_keepdims_exampleonnx->torch->linalg fails
Apr 23, 2024
A couple of lit tests:
fail to lower to linalg because:
Trying to match "(anonymous namespace)::ConvertReductionOp"
** Failure :
dim
argument must be a constant int list or Nonehttps://github.com/llvm/torch-mlir/blob/3c252cdd44f411ef67e3a759319be53b46396d44/lib/Conversion/TorchToLinalg/Reduction.cpp#L453
The text was updated successfully, but these errors were encountered: