File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change 2929from torch .testing ._internal .common_utils import (
3030 IS_CI ,
3131 IS_JETSON ,
32+ IS_LINUX ,
3233 IS_MACOS ,
3334 IS_SANDCASTLE ,
3435 IS_WINDOWS ,
@@ -1271,6 +1272,12 @@ def test_multiple_dataloaders(self):
12711272 del loader1_it
12721273 del loader2_it
12731274
1275+ # Test that DataLoader properly handles worker segfaults
1276+ # Note: This test has inconsistent behavior across Linux distributions:
1277+ # - Passes on RHEL 9.6 (segfault triggers correctly)
1278+ # - Fails on Ubuntu (process may not terminate as expected)
1279+ # Skipping on Linux due to kernel/distribution-dependent segfault behavior.
1280+ @unittest .skipIf (IS_LINUX , "Segfault behavior is inconsistent across Linux distributions" )
12741281 def test_segfault (self ):
12751282 p = ErrorTrackingProcess (target = _test_segfault )
12761283 p .start ()
You can’t perform that action at this time.
0 commit comments