Skip to content

Commit 9b73a8e

Browse files
committed
CI error for not stating reason in unittest skip
1 parent 99bf740 commit 9b73a8e

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

py/torch_tensorrt/_features.py

-5
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,8 @@
4141
_TORCHTRT_RT_AVAIL = _TS_FE_AVAIL or os.path.isfile(linked_file_runtime_full_path)
4242
_DYNAMO_FE_AVAIL = version.parse(sanitized_torch_version()) >= version.parse("2.1.dev")
4343
_FX_FE_AVAIL = True
44-
<<<<<<< HEAD
4544
_REFIT_AVAIL = True
46-
_WINDOWS_CROSS_COMPILE = check_cross_compile_trt_win_lib
47-
=======
48-
_REFIT_AVAIL = version.parse(sys.version.split()[0]) < version.parse("3.13")
4945
_WINDOWS_CROSS_COMPILE = check_cross_compile_trt_win_lib()
50-
>>>>>>> 0e180c5f1 (correcting CI failures)
5146

5247
ENABLED_FEATURES = FeatureSet(
5348
_TS_FE_AVAIL,

tests/py/dynamo/runtime/test_003_cross_compile_for_windows.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ class TestCrossCompileSaveForWindows(TestCase):
1919
)
2020
@unittest.skipIf(
2121
not (check_cross_compile_trt_win_lib()),
22+
"TRT windows lib for cross compile not found",
2223
)
2324
@pytest.mark.unit
2425
def test_cross_compile_for_windows(self):
@@ -45,7 +46,10 @@ def forward(self, a, b):
4546
"Cross compile for windows can only be enabled on linux x86-64 platform",
4647
)
4748
@unittest.skipIf(
48-
not (check_cross_compile_trt_win_lib()),
49+
not (
50+
check_cross_compile_trt_win_lib(),
51+
"TRT windows lib for cross compile not found",
52+
),
4953
)
5054
@pytest.mark.unit
5155
def test_dynamo_cross_compile_for_windows(self):

0 commit comments

Comments
 (0)