Skip to content

Commit

Permalink
remove last USE_MIGRAPHX
Browse files Browse the repository at this point in the history
Signed-off-by: Liqun Fu <[email protected]>
  • Loading branch information
liqunfu committed Jan 4, 2024
1 parent 6623cc7 commit ee1d8ad
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3575,10 +3575,9 @@ TEST(ReductionOpTest, OptimizeShapeForFastReduce_ReduceDimWithZero2) {
ASSERT_EQ(fast_axes, expected_fast_axes);
}

#ifndef USE_MIGRAPHX
TEST(ReductionOpTest, ReduceDimWithZero2) {
// TODO: Unskip when fixed #41968513
if (DefaultDmlExecutionProvider().get() != nullptr || DefaultMIGraphXExecutionProvider().get() != nullptr || DefaultRocmExecutionProvider().get() != nullptr) {
if (DefaultDmlExecutionProvider().get() != nullptr || DefaultRocmExecutionProvider().get() != nullptr) {
GTEST_SKIP() << "Skipping because of the following error: Can't reduce on dim with value of 0 if 'keepdims' is false. Invalid output shape would be produced. input_shape:{?,0,?}";

Check warning on line 3581 in onnxruntime/test/providers/cpu/reduction/reduction_ops_test.cc

View workflow job for this annotation

GitHub Actions / cpplint

[cpplint] onnxruntime/test/providers/cpu/reduction/reduction_ops_test.cc#L3581

Lines should be <= 120 characters long [whitespace/line_length] [2]
Raw output
onnxruntime/test/providers/cpu/reduction/reduction_ops_test.cc:3581:  Lines should be <= 120 characters long  [whitespace/line_length] [2]
}

Expand All @@ -3593,6 +3592,7 @@ TEST(ReductionOpTest, ReduceDimWithZero2) {
kCoreMLExecutionProvider,
kCudaExecutionProvider,
kDnnlExecutionProvider,
kMIGraphXExecutionProvider,
kOpenVINOExecutionProvider,
kQnnExecutionProvider,
kTensorrtExecutionProvider,
Expand All @@ -3607,7 +3607,6 @@ TEST(ReductionOpTest, ReduceDimWithZero2) {
test2.AddOutput<float>("reduced", {}, {0.0f});
run(test2);
}
#endif

TEST(ReductionOpTest, OptimizeShapeForFastReduce_ReduceDimWithZero3) {
FastReduceKind fast_kind;
Expand Down

0 comments on commit ee1d8ad

Please sign in to comment.