Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions kernels/test/op_add_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -816,8 +816,8 @@ TEST_F(OpAddOutKernelTest, DynamicShapeUpperBoundLargerThanExpected) {
EXPECT_TENSOR_CLOSE(out, expected_result);
}

TEST_F(OpAddOutKernelTest, DynamicShapeUnbound) {
GTEST_SKIP() << "Dynamic shape not supported";
// DISABLED: Dynamic shape not supported
TEST_F(OpAddOutKernelTest, DISABLED_DynamicShapeUnbound) {
TensorFactory<ScalarType::Float> tf;

Tensor x = tf.make(
Expand Down
4 changes: 2 additions & 2 deletions kernels/test/op_addmm_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -529,8 +529,8 @@ TEST_F(OpAddmmOutTest, DynamicShapeUpperBoundLargerThanExpected) {
EXPECT_TENSOR_CLOSE(out, expected_result);
}

TEST_F(OpAddmmOutTest, DynamicShapeUnbound) {
GTEST_SKIP() << "Dynamic shape unbound not supported";
// DISABLED: Dynamic shape unbound not supported
TEST_F(OpAddmmOutTest, DISABLED_DynamicShapeUnbound) {
TensorFactory<ScalarType::Float> tf;

Tensor x = tf.make(
Expand Down
4 changes: 2 additions & 2 deletions kernels/test/op_bitwise_not_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,8 @@ TEST_F(OpBitwiseNotOutTest, DynamicShapeUpperBoundLargerThanExpected) {
EXPECT_TENSOR_EQ(out, expected);
}

TEST_F(OpBitwiseNotOutTest, DynamicShapeUnbound) {
GTEST_SKIP() << "Dynamic shape unbound not supported";
// DISABLED: Dynamic shape unbound not supported
TEST_F(OpBitwiseNotOutTest, DISABLED_DynamicShapeUnbound) {
/* %python
out_args = "{1, 1}, torch::executor::TensorShapeDynamism::DYNAMIC_UNBOUND"
%rewrite(unary_op) */
Expand Down
4 changes: 2 additions & 2 deletions kernels/test/op_bmm_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -407,8 +407,8 @@ TEST_F(OpBmmOutTest, DynamicShapeUpperBoundLargerThanExpected) {
EXPECT_TENSOR_CLOSE(out, expected_result);
}

TEST_F(OpBmmOutTest, DynamicShapeUnbound) {
GTEST_SKIP() << "Dynamic shape unbound not supported";
// DISABLED: Dynamic shape unbound not supported
TEST_F(OpBmmOutTest, DISABLED_DynamicShapeUnbound) {
TensorFactory<ScalarType::Float> tf;

auto x = tf.make(
Expand Down
8 changes: 4 additions & 4 deletions kernels/test/op_clamp_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -457,8 +457,8 @@ TEST_F(OpClampOutTest, DynamicShapeUpperBoundSameAsExpected) {
EXPECT_TENSOR_CLOSE(out, expected_result);
}

TEST_F(OpClampOutTest, DynamicShapeUpperBoundLargerThanExpected) {
GTEST_SKIP() << "Dynamic shape not supported";
// DISABLED: Dynamic shape not supported
TEST_F(OpClampOutTest, DISABLED_DynamicShapeUpperBoundLargerThanExpected) {
TensorFactory<ScalarType::Float> tf;

auto x = tf.make(
Expand All @@ -480,8 +480,8 @@ TEST_F(OpClampOutTest, DynamicShapeUpperBoundLargerThanExpected) {
EXPECT_TENSOR_CLOSE(out, expected_result);
}

TEST_F(OpClampOutTest, DynamicShapeUnbound) {
GTEST_SKIP() << "Dynamic shape not supported";
// DISABLED: Dynamic shape not supported
TEST_F(OpClampOutTest, DISABLED_DynamicShapeUnbound) {
TensorFactory<ScalarType::Float> tf;

auto x = tf.make(
Expand Down
4 changes: 2 additions & 2 deletions kernels/test/op_clone_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -209,8 +209,8 @@ TEST_F(OpCloneTest, DynamicShapeUpperBoundLargerThanExpected) {
EXPECT_TENSOR_CLOSE(out, expected_result);
}

TEST_F(OpCloneTest, DynamicShapeUnbound) {
GTEST_SKIP() << "Dynamic shape unbound not supported";
// DISABLED: Dynamic shape unbound not supported
TEST_F(OpCloneTest, DISABLED_DynamicShapeUnbound) {
TensorFactory<ScalarType::Float> tf;

Tensor x = tf.make(
Expand Down
4 changes: 2 additions & 2 deletions kernels/test/op_cumsum_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -260,8 +260,8 @@ TEST_F(OpCumSumOutTest, DynamicShapeUpperBoundLargerThanExpected) {
EXPECT_TENSOR_CLOSE(out, expected_result);
}

TEST_F(OpCumSumOutTest, DynamicShapeUnbound) {
GTEST_SKIP() << "Dynamic shape unbound not supported";
// DISABLED: Dynamic shape unbound not supported
TEST_F(OpCumSumOutTest, DISABLED_DynamicShapeUnbound) {
TensorFactory<ScalarType::Float> tf;

Tensor x = tf.make(
Expand Down
4 changes: 2 additions & 2 deletions kernels/test/op_detach_copy_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -190,8 +190,8 @@ TEST_F(OpDetachCopyOutTest, DynamicShapeUpperBoundLargerThanExpected) {
EXPECT_TENSOR_CLOSE(out, expected_result);
}

TEST_F(OpDetachCopyOutTest, DynamicShapeUnbound) {
GTEST_SKIP() << "Dynamic shape unbound not supported";
// DISABLED: Dynamic shape unbound not supported
TEST_F(OpDetachCopyOutTest, DISABLED_DynamicShapeUnbound) {
TensorFactory<ScalarType::Float> tf;

Tensor x = tf.make(
Expand Down
4 changes: 2 additions & 2 deletions kernels/test/op_div_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -526,8 +526,8 @@ TEST_F(OpDivOutTest, BroadcastNDTest) {
test_broadcast_3D<ScalarType::BFloat16>();
}

TEST_F(OpDivOutTest, DynamicShapeUnbound) {
GTEST_SKIP() << "Dynamic shape not supported";
// DISABLED: Dynamic shape not supported
TEST_F(OpDivOutTest, DISABLED_DynamicShapeUnbound) {
TensorFactory<ScalarType::Float> tf;

Tensor x = tf.make(
Expand Down
28 changes: 14 additions & 14 deletions kernels/test/op_floor_divide_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,8 @@ TEST_F(OpFloorDivideTest, MismatchedOutputShapesDies) {
ET_EXPECT_KERNEL_FAILURE(context_, op_floor_divide_out(a, b, out));
}

TEST_F(OpFloorDivideTest, BroadcastDimSizeIsOneAB) {
GTEST_SKIP() << "Dynamic shape not supported";
// DISABLED: Dynamic shape not supported
TEST_F(OpFloorDivideTest, DISABLED_BroadcastDimSizeIsOneAB) {
TensorFactory<ScalarType::Float> tf;

Tensor x = tf.make(
Expand All @@ -195,8 +195,8 @@ TEST_F(OpFloorDivideTest, BroadcastDimSizeIsOneAB) {
EXPECT_TENSOR_CLOSE(out, expected_result);
}

TEST_F(OpFloorDivideTest, BroadcastDimSizeMissingAB) {
GTEST_SKIP() << "Dynamic shape not supported";
// DISABLED: Dynamic shape not supported
TEST_F(OpFloorDivideTest, DISABLED_BroadcastDimSizeMissingAB) {
TensorFactory<ScalarType::Float> tf;

Tensor x = tf.make(
Expand All @@ -215,8 +215,8 @@ TEST_F(OpFloorDivideTest, BroadcastDimSizeMissingAB) {
EXPECT_TENSOR_CLOSE(out, expected_result);
}

TEST_F(OpFloorDivideTest, BroadcastDimSizeIsOneBA) {
GTEST_SKIP() << "Dynamic shape not supported";
// DISABLED: Dynamic shape not supported
TEST_F(OpFloorDivideTest, DISABLED_BroadcastDimSizeIsOneBA) {
TensorFactory<ScalarType::Float> tf;

Tensor x = tf.make({1, 2}, {0.522396445274353, 0.6753279566764832});
Expand All @@ -235,8 +235,8 @@ TEST_F(OpFloorDivideTest, BroadcastDimSizeIsOneBA) {
EXPECT_TENSOR_CLOSE(out, expected_result);
}

TEST_F(OpFloorDivideTest, BroadcastDimSizeMissingBA) {
GTEST_SKIP() << "Dynamic shape not supported";
// DISABLED: Dynamic shape not supported
TEST_F(OpFloorDivideTest, DISABLED_BroadcastDimSizeMissingBA) {
TensorFactory<ScalarType::Float> tf;

Tensor x = tf.make({1, 2}, {0.522396445274353, 0.6753279566764832});
Expand All @@ -255,8 +255,8 @@ TEST_F(OpFloorDivideTest, BroadcastDimSizeMissingBA) {
EXPECT_TENSOR_CLOSE(out, expected_result);
}

TEST_F(OpFloorDivideTest, DynamicShapeUpperBoundSameAsExpected) {
GTEST_SKIP() << "Dynamic shape not supported";
// DISABLED: Dynamic shape not supported
TEST_F(OpFloorDivideTest, DISABLED_DynamicShapeUpperBoundSameAsExpected) {
TensorFactory<ScalarType::Float> tf;

Tensor x = tf.make(
Expand All @@ -283,8 +283,8 @@ TEST_F(OpFloorDivideTest, DynamicShapeUpperBoundSameAsExpected) {
EXPECT_TENSOR_CLOSE(out, expected_result);
}

TEST_F(OpFloorDivideTest, DynamicShapeUpperBoundLargerThanExpected) {
GTEST_SKIP() << "Dynamic shape not supported";
// DISABLED: Dynamic shape not supported
TEST_F(OpFloorDivideTest, DISABLED_DynamicShapeUpperBoundLargerThanExpected) {
TensorFactory<ScalarType::Float> tf;

Tensor x = tf.make(
Expand All @@ -311,8 +311,8 @@ TEST_F(OpFloorDivideTest, DynamicShapeUpperBoundLargerThanExpected) {
EXPECT_TENSOR_CLOSE(out, expected_result);
}

TEST_F(OpFloorDivideTest, DynamicShapeUnbound) {
GTEST_SKIP() << "Dynamic shape not supported";
// DISABLED: Dynamic shape not supported
TEST_F(OpFloorDivideTest, DISABLED_DynamicShapeUnbound) {
TensorFactory<ScalarType::Float> tf;

Tensor x = tf.make(
Expand Down
4 changes: 2 additions & 2 deletions kernels/test/op_full_like_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,8 @@ TEST_F(OpFullLikeTest, DynamicShapeUpperBoundLargerThanExpected) {
EXPECT_TENSOR_CLOSE(out, expected_result);
}

TEST_F(OpFullLikeTest, DynamicShapeUnbound) {
GTEST_SKIP() << "Dynamic shape unbound not supported";
// DISABLED: Dynamic shape unbound not supported
TEST_F(OpFullLikeTest, DISABLED_DynamicShapeUnbound) {
TensorFactory<ScalarType::Float> tf;

Tensor x = tf.make(
Expand Down
8 changes: 4 additions & 4 deletions kernels/test/op_gelu_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -213,8 +213,8 @@ TEST_F(OpGeluTest, DynamicShapeUpperBoundSameAsExpected) {
EXPECT_TENSOR_CLOSE(out, expected_result);
}

TEST_F(OpGeluTest, DynamicShapeUpperBoundLargerThanExpected) {
GTEST_SKIP() << "Dynamic shape not supported";
// DISABLED: Dynamic shape not supported
TEST_F(OpGeluTest, DISABLED_DynamicShapeUpperBoundLargerThanExpected) {
TensorFactory<ScalarType::Float> tf;

Tensor x = tf.make(
Expand All @@ -240,8 +240,8 @@ TEST_F(OpGeluTest, DynamicShapeUpperBoundLargerThanExpected) {
EXPECT_TENSOR_CLOSE(out, expected_result);
}

TEST_F(OpGeluTest, DynamicShapeUnbound) {
GTEST_SKIP() << "Dynamic shape not supported";
// DISABLED: Dynamic shape not supported
TEST_F(OpGeluTest, DISABLED_DynamicShapeUnbound) {
TensorFactory<ScalarType::Float> tf;

Tensor x = tf.make(
Expand Down
8 changes: 4 additions & 4 deletions kernels/test/op_glu_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,8 @@ TEST_F(OpGluOutTest, AllNonFloatOutputDTypeDies) {
#undef TEST_ENTRY
}

TEST_F(OpGluOutTest, DynamicShapeUpperBoundSameAsExpected) {
GTEST_SKIP() << "Dynamic shape not supported";
// DISABLED: Dynamic shape not supported
TEST_F(OpGluOutTest, DISABLED_DynamicShapeUpperBoundSameAsExpected) {
TensorFactory<ScalarType::Float> tf;

Tensor x = tf.make(
Expand Down Expand Up @@ -253,8 +253,8 @@ TEST_F(OpGluOutTest, DynamicShapeUpperBoundLargerThanExpected) {
EXPECT_TENSOR_CLOSE(out, expected_result);
}

TEST_F(OpGluOutTest, DynamicShapeUnbound) {
GTEST_SKIP() << "Dynamic shape unbound not supported";
// DISABLED: Dynamic shape unbound not supported
TEST_F(OpGluOutTest, DISABLED_DynamicShapeUnbound) {
TensorFactory<ScalarType::Float> tf;

Tensor x = tf.make(
Expand Down
4 changes: 2 additions & 2 deletions kernels/test/op_linear_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -338,8 +338,8 @@ TEST_F(OpLinearOutTest, DynamicShapeUpperBoundLargerThanExpected) {
EXPECT_TENSOR_CLOSE(out, expected_result);
}

TEST_F(OpLinearOutTest, DynamicShapeUnbound) {
GTEST_SKIP() << "Dynamic shape not supported";
// DISABLED: Dynamic shape not supported
TEST_F(OpLinearOutTest, DISABLED_DynamicShapeUnbound) {
TensorFactory<ScalarType::Float> tf;

Tensor x = tf.make(
Expand Down
4 changes: 2 additions & 2 deletions kernels/test/op_log_softmax_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -421,8 +421,8 @@ TEST_F(OpLogSoftmaxOutTest, DynamicShapeUpperBoundLargerThanExpected) {
EXPECT_TENSOR_CLOSE(out, expected_result);
}

TEST_F(OpLogSoftmaxOutTest, DynamicShapeUnbound) {
GTEST_SKIP() << "Dynamic shape not supported";
// DISABLED: Dynamic shape not supported
TEST_F(OpLogSoftmaxOutTest, DISABLED_DynamicShapeUnbound) {
TensorFactory<ScalarType::Float> tf;

Tensor x = tf.make(
Expand Down
4 changes: 2 additions & 2 deletions kernels/test/op_logit_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -259,8 +259,8 @@ TEST_F(OpLogitOutTest, DynamicShapeUpperBoundLargerThanExpected) {
EXPECT_TENSOR_CLOSE(out, expected_result);
}

TEST_F(OpLogitOutTest, DynamicShapeUnbound) {
GTEST_SKIP() << "Dynamic shape unbound not supported";
// DISABLED: Dynamic shape unbound not supported
TEST_F(OpLogitOutTest, DISABLED_DynamicShapeUnbound) {
TensorFactory<ScalarType::Float> tf;

Tensor x = tf.make(
Expand Down
4 changes: 2 additions & 2 deletions kernels/test/op_masked_fill_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -377,8 +377,8 @@ TEST_F(OpMaskedFillTest, DynamicShapeUpperBoundLargerThanExpected) {
EXPECT_TENSOR_CLOSE(out, expected_result);
}

TEST_F(OpMaskedFillTest, DynamicShapeUnbound) {
GTEST_SKIP() << "Dynamic shape unbound not supported";
// DISABLED: Dynamic shape unbound not supported
TEST_F(OpMaskedFillTest, DISABLED_DynamicShapeUnbound) {
TensorFactory<ScalarType::Float> tf;
TensorFactory<ScalarType::Bool> bool_tf;

Expand Down
4 changes: 2 additions & 2 deletions kernels/test/op_mean_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -465,8 +465,8 @@ TEST_F(OpMeanOutTest, DynamicShapeUpperBoundLargerThanExpected) {
EXPECT_TENSOR_CLOSE(out, expected_result);
}

TEST_F(OpMeanOutTest, DynamicShapeUnbound) {
GTEST_SKIP() << "Dynamic shape unbound not supported";
// DISABLED: Dynamic shape unbound not supported
TEST_F(OpMeanOutTest, DISABLED_DynamicShapeUnbound) {
TensorFactory<ScalarType::Float> tf;

Tensor x = tf.make(
Expand Down
4 changes: 2 additions & 2 deletions kernels/test/op_mm_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -255,8 +255,8 @@ TEST_F(OpMmOutTest, DynamicShapeUpperBoundLargerThanExpected) {
EXPECT_TENSOR_CLOSE(out, expected_result);
}

TEST_F(OpMmOutTest, DynamicShapeUnbound) {
GTEST_SKIP() << "Dynamic shape not supported";
// DISABLED: Dynamic shape not supported
TEST_F(OpMmOutTest, DISABLED_DynamicShapeUnbound) {
TensorFactory<ScalarType::Float> tf;

Tensor x = tf.make(
Expand Down
4 changes: 2 additions & 2 deletions kernels/test/op_mul_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -711,8 +711,8 @@ TEST_F(OpMulOutTest, DynamicShapeUpperBoundLargerThanExpected) {
EXPECT_TENSOR_CLOSE(out, expected_result);
}

TEST_F(OpMulOutTest, DynamicShapeUnbound) {
GTEST_SKIP() << "Dynamic shape not supported";
// DISABLED: Dynamic shape not supported
TEST_F(OpMulOutTest, DISABLED_DynamicShapeUnbound) {
TensorFactory<ScalarType::Float> tf;

Tensor x = tf.make(
Expand Down
4 changes: 2 additions & 2 deletions kernels/test/op_relu_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -288,8 +288,8 @@ TEST_F(OpReluTest, DynamicShapeUpperBoundLargerThanExpected) {
EXPECT_TENSOR_CLOSE(out, expected_result);
}

TEST_F(OpReluTest, DynamicShapeUnbound) {
GTEST_SKIP() << "Unbound dynamic shape not supported";
// DISABLED: Unbound dynamic shape not supported
TEST_F(OpReluTest, DISABLED_DynamicShapeUnbound) {
TensorFactory<ScalarType::Float> tf;

Tensor x = tf.make(
Expand Down
4 changes: 2 additions & 2 deletions kernels/test/op_round_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -230,8 +230,8 @@ TEST_F(OpRoundTest, DynamicShapeUpperBoundLargerThanExpected) {
EXPECT_TENSOR_EQ(out, expected);
}

TEST_F(OpRoundTest, DynamicShapeUnbound) {
GTEST_SKIP() << "Dynamic shape unbound not supported";
// DISABLED: Dynamic shape unbound not supported
TEST_F(OpRoundTest, DISABLED_DynamicShapeUnbound) {
/* %python
out_args = "{1, 1}, torch::executor::TensorShapeDynamism::DYNAMIC_UNBOUND"
%rewrite(unary_op) */
Expand Down
4 changes: 2 additions & 2 deletions kernels/test/op_softmax_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -302,8 +302,8 @@ TEST_F(OpSoftmaxOutTest, DynamicShapeUpperBoundLargerThanExpected) {
EXPECT_TENSOR_CLOSE(out, expected_result);
}

TEST_F(OpSoftmaxOutTest, DynamicShapeUnbound) {
GTEST_SKIP() << "Dynamic shape unbound not supported";
// DISABLED: Dynamic shape unbound not supported
TEST_F(OpSoftmaxOutTest, DISABLED_DynamicShapeUnbound) {
TensorFactory<ScalarType::Float> tf;

Tensor x = tf.make(
Expand Down
10 changes: 6 additions & 4 deletions kernels/test/op_split_copy_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -563,14 +563,16 @@ TEST_F(OpSplitCopyTensorOutTest, DynamicShapeUpperBoundSameAsExpected) {
{2, 3}, torch::executor::TensorShapeDynamism::DYNAMIC_BOUND);
}

TEST_F(OpSplitCopyTensorOutTest, DynamicShapeUpperBoundLargerThanExpected) {
GTEST_SKIP() << "Dynamic shape not supported";
// DISABLED: Dynamic shape not supported
TEST_F(
OpSplitCopyTensorOutTest,
DISABLED_DynamicShapeUpperBoundLargerThanExpected) {
test_dynamic_shape(
{10, 10}, torch::executor::TensorShapeDynamism::DYNAMIC_BOUND);
}

TEST_F(OpSplitCopyTensorOutTest, DynamicShapeUnbound) {
GTEST_SKIP() << "Dynamic shape not supported";
// DISABLED: Dynamic shape not supported
TEST_F(OpSplitCopyTensorOutTest, DISABLED_DynamicShapeUnbound) {
test_dynamic_shape(
{1, 1}, torch::executor::TensorShapeDynamism::DYNAMIC_UNBOUND);
}
4 changes: 2 additions & 2 deletions kernels/test/op_sub_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -637,8 +637,8 @@ TEST_F(OpSubOutTest, DynamicShapeUpperBoundLargerThanExpected) {
EXPECT_TENSOR_CLOSE(out, expected_result);
}

TEST_F(OpSubOutTest, DynamicShapeUnbound) {
GTEST_SKIP() << "Dynamic shape not supported";
// DISABLED: Dynamic shape not supported
TEST_F(OpSubOutTest, DISABLED_DynamicShapeUnbound) {
TensorFactory<ScalarType::Float> tf;

Tensor x = tf.make(
Expand Down
Loading
Loading