Skip to content

Commit 68c24d3

Browse files
committed
Skip CI test to load S3 dataset on M1 due to permission denied (#882)
Summary: Fixes #875 Pull Request resolved: #882 Reviewed By: NivekT Differential Revision: D41028025 Pulled By: ejguan fbshipit-source-id: 8a88da3be5b923705bbc0bfa76e4fe270803dd71
1 parent a9ac1d6 commit 68c24d3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/test_remote_io.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
import torchdata
1515

16-
from _utils._common_utils_for_test import check_hash_fn, create_temp_dir, IS_WINDOWS
16+
from _utils._common_utils_for_test import check_hash_fn, create_temp_dir, IS_M1, IS_WINDOWS
1717
from torch.utils.data import DataLoader
1818

1919
from torchdata.datapipes.iter import (
@@ -222,6 +222,7 @@ def test_disabled_s3_io_iterdatapipe(self):
222222
_ = S3FileLoader(IterableWrapper(file_urls))
223223

224224
@skipIfNoAWS
225+
@unittest.skipIf(IS_M1, "PyTorch M1 CI Machine doesn't allow accessing")
225226
def test_s3_io_iterdatapipe(self):
226227
# S3FileLister: different inputs
227228
input_list = [

0 commit comments

Comments
 (0)