Skip to content

Commit

Permalink
revert test
Browse files Browse the repository at this point in the history
  • Loading branch information
hariharan-devarajan committed Aug 30, 2024
1 parent 7ccc57d commit b816ca3
Showing 1 changed file with 109 additions and 12 deletions.
121 changes: 109 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,51 +81,148 @@ jobs:
- name: test_gen_data
run: |
source ${VENV_PATH}/bin/activate
mpirun -np 2 pytest -k test_gen_data -v --durations=0
mpirun -np 2 pytest -k test_gen_data[png-tensorflow] -v
mpirun -np 2 pytest -k test_gen_data[npz-tensorflow] -v
mpirun -np 2 pytest -k test_gen_data[jpeg-tensorflow] -v
mpirun -np 2 pytest -k test_gen_data[tfrecord-tensorflow] -v
mpirun -np 2 pytest -k test_gen_data[hdf5-tensorflow] -v
mpirun -np 2 pytest -k test_gen_data[indexed_binary-tensorflow] -v
mpirun -np 2 pytest -k test_gen_data[mmap_indexed_binary-tensorflow] -v
rm -rf data
- name: test_custom_storage_root_gen_data
run: |
source ${VENV_PATH}/bin/activate
mpirun -np 2 pytest -k test_storage_root_gen_data -v --durations=0
mpirun -np 2 pytest -k test_storage_root_gen_data[png-tensorflow] -v
mpirun -np 2 pytest -k test_storage_root_gen_data[npz-tensorflow] -v
mpirun -np 2 pytest -k test_storage_root_gen_data[jpeg-tensorflow] -v
mpirun -np 2 pytest -k test_storage_root_gen_data[tfrecord-tensorflow] -v
mpirun -np 2 pytest -k test_storage_root_gen_data[hdf5-tensorflow] -v
mpirun -np 2 pytest -k test_storage_root_gen_data[indexed_binary-tensorflow] -v
mpirun -np 2 pytest -k test_storage_root_gen_data[mmap_indexed_binary-tensorflow] -v
rm -rf data
- name: test_train
run: |
source ${VENV_PATH}/bin/activate
mpirun -np 2 pytest -k test_train -v --durations=0
mpirun -np 2 pytest -k test_train[png-tensorflow-tensorflow-True] -v
mpirun -np 2 pytest -k test_train[npz-tensorflow-tensorflow-True] -v
mpirun -np 2 pytest -k test_train[jpeg-tensorflow-tensorflow-True] -v
mpirun -np 2 pytest -k test_train[tfrecord-tensorflow-tensorflow-True] -v
mpirun -np 2 pytest -k test_train[hdf5-tensorflow-tensorflow-True] -v
mpirun -np 2 pytest -k test_train[csv-tensorflow-tensorflow-True] -v
mpirun -np 2 pytest -k test_train[png-pytorch-pytorch-True] -v
mpirun -np 2 pytest -k test_train[npz-pytorch-pytorch-True] -v
mpirun -np 2 pytest -k test_train[jpeg-pytorch-pytorch-True] -v
mpirun -np 2 pytest -k test_train[hdf5-pytorch-pytorch-True] -v
mpirun -np 2 pytest -k test_train[csv-pytorch-pytorch-True] -v
mpirun -np 2 pytest -k test_train[png-tensorflow-dali-True] -v
mpirun -np 2 pytest -k test_train[npz-tensorflow-dali-True] -v
mpirun -np 2 pytest -k test_train[jpeg-tensorflow-dali-True] -v
mpirun -np 2 pytest -k test_train[hdf5-tensorflow-dali-True] -v
mpirun -np 2 pytest -k test_train[csv-tensorflow-dali-True] -v
mpirun -np 2 pytest -k test_train[png-pytorch-dali-True] -v
mpirun -np 2 pytest -k test_train[npz-pytorch-dali-True] -v
mpirun -np 2 pytest -k test_train[jpeg-pytorch-dali-True] -v
mpirun -np 2 pytest -k test_train[hdf5-pytorch-dali-True] -v
mpirun -np 2 pytest -k test_train[csv-pytorch-dali-True] -v
mpirun -np 2 pytest -k test_train[indexed_binary-tensorflow-tensorflow-True] -v
mpirun -np 2 pytest -k test_train[indexed_binary-pytorch-pytorch-True] -v
mpirun -np 2 pytest -k test_train[indexed_binary-tensorflow-dali-True] -v
mpirun -np 2 pytest -k test_train[indexed_binary-pytorch-dali-True] -v
mpirun -np 2 pytest -k test_train[mmap_indexed_binary-tensorflow-tensorflow-True] -v
mpirun -np 2 pytest -k test_train[mmap_indexed_binary-pytorch-pytorch-True] -v
mpirun -np 2 pytest -k test_train[mmap_indexed_binary-tensorflow-dali-True] -v
mpirun -np 2 pytest -k test_train[mmap_indexed_binary-pytorch-dali-True] -v
mpirun -np 2 pytest -k test_train[png-tensorflow-tensorflow-False] -v
mpirun -np 2 pytest -k test_train[npz-tensorflow-tensorflow-False] -v
mpirun -np 2 pytest -k test_train[jpeg-tensorflow-tensorflow-False] -v
mpirun -np 2 pytest -k test_train[tfrecord-tensorflow-tensorflow-False] -v
mpirun -np 2 pytest -k test_train[hdf5-tensorflow-tensorflow-False] -v
mpirun -np 2 pytest -k test_train[csv-tensorflow-tensorflow-False] -v
mpirun -np 2 pytest -k test_train[png-pytorch-pytorch-False] -v
mpirun -np 2 pytest -k test_train[npz-pytorch-pytorch-False] -v
mpirun -np 2 pytest -k test_train[jpeg-pytorch-pytorch-False] -v
mpirun -np 2 pytest -k test_train[hdf5-pytorch-pytorch-False] -v
mpirun -np 2 pytest -k test_train[csv-pytorch-pytorch-False] -v
mpirun -np 2 pytest -k test_train[png-tensorflow-dali-False] -v
mpirun -np 2 pytest -k test_train[npz-tensorflow-dali-False] -v
mpirun -np 2 pytest -k test_train[jpeg-tensorflow-dali-False] -v
mpirun -np 2 pytest -k test_train[hdf5-tensorflow-dali-False] -v
mpirun -np 2 pytest -k test_train[csv-tensorflow-dali-False] -v
mpirun -np 2 pytest -k test_train[png-pytorch-dali-False] -v
mpirun -np 2 pytest -k test_train[npz-pytorch-dali-False] -v
mpirun -np 2 pytest -k test_train[jpeg-pytorch-dali-False] -v
mpirun -np 2 pytest -k test_train[hdf5-pytorch-dali-False] -v
mpirun -np 2 pytest -k test_train[csv-pytorch-dali-False] -v
mpirun -np 2 pytest -k test_train[indexed_binary-tensorflow-tensorflow-False] -v
mpirun -np 2 pytest -k test_train[indexed_binary-pytorch-pytorch-False] -v
mpirun -np 2 pytest -k test_train[indexed_binary-tensorflow-dali-False] -v
mpirun -np 2 pytest -k test_train[indexed_binary-pytorch-dali-False] -v
mpirun -np 2 pytest -k test_train[mmap_indexed_binary-tensorflow-tensorflow-False] -v
mpirun -np 2 pytest -k test_train[mmap_indexed_binary-pytorch-pytorch-False] -v
mpirun -np 2 pytest -k test_train[mmap_indexed_binary-tensorflow-dali-False] -v
mpirun -np 2 pytest -k test_train[mmap_indexed_binary-pytorch-dali-False] -v
rm -rf data
- name: test_custom_storage_root_train
run: |
source ${VENV_PATH}/bin/activate
mpirun -np 2 pytest -k test_custom_storage_root_train -v --durations=0
mpirun -np 2 pytest -k test_custom_storage_root_train[png-tensorflow] -v
mpirun -np 2 pytest -k test_custom_storage_root_train[npz-tensorflow] -v
mpirun -np 2 pytest -k test_custom_storage_root_train[jpeg-tensorflow] -v
mpirun -np 2 pytest -k test_custom_storage_root_train[tfrecord-tensorflow] -v
mpirun -np 2 pytest -k test_custom_storage_root_train[hdf5-tensorflow] -v
mpirun -np 2 pytest -k test_custom_storage_root_train[csv-tensorflow] -v
mpirun -np 2 pytest -k test_custom_storage_root_train[png-pytorch] -v
mpirun -np 2 pytest -k test_custom_storage_root_train[npz-pytorch] -v
mpirun -np 2 pytest -k test_custom_storage_root_train[jpeg-pytorch] -v
mpirun -np 2 pytest -k test_custom_storage_root_train[hdf5-pytorch] -v
mpirun -np 2 pytest -k test_custom_storage_root_train[csv-pytorch] -v
mpirun -np 2 pytest -k test_custom_storage_root_train[indexed_binary-tensorflow] -v
mpirun -np 2 pytest -k test_custom_storage_root_train[indexed_binary-pytorch] -v
mpirun -np 2 pytest -k test_custom_storage_root_train[mmap_indexed_binary-tensorflow] -v
mpirun -np 2 pytest -k test_custom_storage_root_train[mmap_indexed_binary-pytorch] -v
rm -rf data
- name: test_checkpoint_epoch
run: |
source ${VENV_PATH}/bin/activate
mpirun -np 2 pytest -k test_checkpoint_epoch -v --durations=0
mpirun -np 2 pytest -k test_checkpoint_epoch[tensorflow-1024-optimizers0-2-layer_params0-all_ranks] -v
mpirun -np 2 pytest -k test_checkpoint_epoch[pytorch-1024-optimizers1-2-layer_params1-all_ranks] -v
mpirun -np 2 pytest -k test_checkpoint_epoch[tensorflow-1024-optimizers2-2-layer_params2-rank_zero] -v
mpirun -np 2 pytest -k test_checkpoint_epoch[pytorch-1024-optimizers3-2-layer_params3-rank_zero] -v
mpirun -np 2 pytest -k test_checkpoint_epoch[tensorflow-1024-optimizers4-1-layer_params4-all_ranks] -v
mpirun -np 2 pytest -k test_checkpoint_epoch[pytorch-1024-optimizers5-1-layer_params5-all_ranks] -v
rm -rf data
- name: test_checkpoint_step
run: |
source ${VENV_PATH}/bin/activate
mpirun -np 2 pytest -k test_checkpoint_step -v --durations=0
mpirun -np 2 pytest -k test_checkpoint_step -v
- name: test_eval
run: |
source ${VENV_PATH}/bin/activate
mpirun -np 2 pytest -k test_eval -v
- name: test_multi_threads
run: |
source ${VENV_PATH}/bin/activate
mpirun -np 2 pytest -k test_multi_threads -v --durations=0
mpirun -np 2 pytest -k test_multi_threads[tensorflow-0] -v
mpirun -np 2 pytest -k test_multi_threads[tensorflow-1] -v
mpirun -np 2 pytest -k test_multi_threads[tensorflow-2] -v
mpirun -np 2 pytest -k test_multi_threads[pytorch-0] -v
mpirun -np 2 pytest -k test_multi_threads[pytorch-1] -v
mpirun -np 2 pytest -k test_multi_threads[pytorch-2] -v
rm -rf data
- name: test-pytorch-multiprocessing-context
run: |
source ${VENV_PATH}/bin/activate
mpirun -np 2 pytest -k test_pytorch_multiprocessing_context -v --durations=0
mpirun -np 2 pytest -k test_pytorch_multiprocessing_context[0-None] -v
mpirun -np 2 pytest -k test_pytorch_multiprocessing_context[1-fork] -v
mpirun -np 2 pytest -k test_pytorch_multiprocessing_context[2-forkserver] -v
mpirun -np 2 pytest -k test_pytorch_multiprocessing_context[2-spawn] -v
rm -rf data
- name: test_subset
run: |
source ${VENV_PATH}/bin/activate
rm -rf output data checkpoints
mpirun -np 2 pytest -k test_subset -v --durations=0
mpirun -np 2 pytest -k test_subset -v
rm -rf data
- name: test-tf-loader-tfrecord
run: |
Expand Down Expand Up @@ -160,9 +257,9 @@ jobs:
run: |
source ${VENV_PATH}/bin/activate
rm -rf output data checkpoints
mpirun -np 2 ${DLIO_EXEC} workload=resnet50_a100 ++workload.workflow.generate_data=True ++workload.dataset.num_files_train=4
mpirun -np 2 ${DLIO_EXEC} workload=resnet50_h100 ++workload.workflow.generate_data=True ++workload.dataset.num_files_train=4
mpirun -np 2 ${DLIO_EXEC} workload=resnet50_h100 ++workload.workflow.generate_data=True ++workload.dataset.num_files_train=4 ++workload.dataset.format=synthetic
mpirun -np 2 ${DLIO_EXEC} workload=resnet50_a100 ++workload.workflow.generate_data=True ++workload.dataset.num_files_train=8
mpirun -np 2 ${DLIO_EXEC} workload=resnet50_h100 ++workload.workflow.generate_data=True ++workload.dataset.num_files_train=8
mpirun -np 2 ${DLIO_EXEC} workload=resnet50_h100 ++workload.workflow.generate_data=True ++workload.dataset.num_files_train=8 ++workload.dataset.format=synthetic
rm -rf data
- name: test_cosmoflow
run: |
Expand Down

0 comments on commit b816ca3

Please sign in to comment.