Skip to content

Commit 1540659

Browse files
authored
skip some inpector tests for fix oss ci
Differential Revision: D78172784 Pull Request resolved: #12402
1 parent 1fdebef commit 1540659

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

devtools/inspector/tests/inspector_utils_test.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -610,6 +610,9 @@ def test_compare_intermediate_outputs_sequence_and_non_sequence(self):
610610
with self.assertRaises(ValueError):
611611
compare_intermediate_outputs(a, b, L1Comparator())
612612

613+
@unittest.skip(
614+
"TODO: enable the test after required feature has been built in pytorch core nightly version"
615+
)
613616
def test_equip_debug_handle_to_export_program_success(self):
614617
"""Test that propagate_back_debug_handle returns True and properly equips debug handles."""
615618
# Create a test model
@@ -676,6 +679,9 @@ def test_equip_debug_handle_to_export_program_failure(self):
676679
# Check that it returns False due to mismatch
677680
self.assertFalse(result)
678681

682+
@unittest.skip(
683+
"TODO: enable the test after required feature has been built in pytorch core nightly version"
684+
)
679685
def test_equip_debug_handle_to_export_program_op_to_be_removed_in_to_edge(self):
680686
"""Test that propagate_back_debug_handle returns True and properly equips debug handles when an op is removed in to_edge"""
681687

0 commit comments

Comments
 (0)