Skip to content

Commit

Permalink
Skip CI test to load S3 dataset on M1 due to permission denied (#882)
Browse files Browse the repository at this point in the history
Summary:
Fixes #875

Pull Request resolved: #882

Reviewed By: NivekT

Differential Revision: D41028025

Pulled By: ejguan

fbshipit-source-id: 8a88da3be5b923705bbc0bfa76e4fe270803dd71
  • Loading branch information
ejguan authored and facebook-github-bot committed Nov 4, 2022
1 parent 55311d4 commit b1b3406
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/test_remote_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

import torchdata

from _utils._common_utils_for_test import check_hash_fn, create_temp_dir, IS_WINDOWS
from _utils._common_utils_for_test import check_hash_fn, create_temp_dir, IS_M1, IS_WINDOWS
from torch.utils.data import DataLoader

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

@skipIfNoAWS
@unittest.skipIf(IS_M1, "PyTorch M1 CI Machine doesn't allow accessing")
def test_s3_io_iterdatapipe(self):
# S3FileLister: different inputs
input_list = [
Expand Down

0 comments on commit b1b3406

Please sign in to comment.