Skip to content

Commit 307c7b2

Browse files
authored
Skip unbind_copy ATen mode failure test
Differential Revision: D68456720 Pull Request resolved: #7805
1 parent 2db2bd2 commit 307c7b2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

kernels/test/op_unbind_copy_test.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,9 @@ TEST_F(OpUnbindCopyIntOutTest, UnbindWorksWithZeroSizedTensors) {
269269
}
270270

271271
TEST_F(OpUnbindCopyIntOutTest, UnbindFailsWithWronglyAllocatedOutput) {
272+
if (torch::executor::testing::SupportedFeatures::get()->is_aten) {
273+
GTEST_SKIP() << "ATen kernel can handle mismatched output shape";
274+
}
272275
TensorFactory<ScalarType::Int> tf;
273276
TensorListFactory<ScalarType::Int> tlf;
274277

0 commit comments

Comments
 (0)