Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
Skip test_gluon_data.py on OSX (#17969)
Browse files Browse the repository at this point in the history
* Skip gluon data tests with multi-worker on OSX

uncaught exception of type dmlc::Error: [03:02:35] ../src/storage/./cpu_shared_storage_manager.h:218: Check failed: count >= 0 (-1 vs. 0) :

* Fix whitespace
  • Loading branch information
leezu authored Apr 6, 2020
1 parent 03b8146 commit ff234db
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/os_x_staticbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,4 @@ jobs:
python3 -m pip install --user -e python
- name: Test project
run: |
python3 -m nose --with-timer --verbose tests/python/unittest/ --exclude-test=test_extensions.test_subgraph --exclude-test=test_extensions.test_custom_op --exclude-test=test_gluon_data.test_recordimage_dataset_with_data_loader_multiworker
python3 -m nose --with-timer --verbose tests/python/unittest/ --exclude-test=test_extensions.test_subgraph --exclude-test=test_extensions.test_custom_op --exclude-test=test_gluon_data.test_recordimage_dataset_with_data_loader_multiworker --exclude-test=test_gluon_data.test_multi_worker --exclude-test=test_gluon_data.test_multi_worker_shape --exclude-test=test_gluon_data.test_multi_worker_forked_data_loader --exclude-test=test_gluon_data.test_multi_worker_dataloader_release_pool
5 changes: 0 additions & 5 deletions tests/python/unittest/test_gluon_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,11 +270,6 @@ def test_multi_worker_dataloader_release_pool():
print('Skip for windows since spawn on windows is too expensive.')
return

from sys import platform
if platform == 'darwin':
print('Skip for MacOS due to https://github.com/apache/incubator-mxnet/issues/17782')
return

for _ in range(10):
A = np.random.rand(999, 2000)
D = mx.gluon.data.DataLoader(A, batch_size=8, num_workers=8)
Expand Down

0 comments on commit ff234db

Please sign in to comment.