Skip to content

Commit 2c90454

Browse files
Merge pull request #885 from mlcommons/dev
Dev -> Main
2 parents fb2f492 + 7d8f609 commit 2c90454

File tree

1,462 files changed

+2691
-305970
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,462 files changed

+2691
-305970
lines changed

.assets/performance_profiles.png

-14.9 KB
Loading

.github/workflows/CI.yml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ jobs:
1919
pip install .[pytorch_cpu]
2020
pip install .[full]
2121
pip install -e .
22-
python tests/reference_algorithm_tests.py --workload=fastmri --framework=pytorch --global_batch_size=8 --submission_path=reference_algorithms/target_setting_algorithms/pytorch_momentum.py --tuning_search_space=reference_algorithms/target_setting_algorithms/fastmri/tuning_search_space.json
23-
python tests/reference_algorithm_tests.py --workload=fastmri --framework=jax --global_batch_size=8 --submission_path=reference_algorithms/target_setting_algorithms/jax_momentum.py --tuning_search_space=reference_algorithms/target_setting_algorithms/fastmri/tuning_search_space.json
22+
python tests/reference_algorithm_tests.py --workload=fastmri --framework=pytorch --global_batch_size=8 --submission_path=algorithms/target_setting_algorithms/pytorch_momentum.py --tuning_search_space=algorithms/target_setting_algorithms/fastmri/tuning_search_space.json
23+
python tests/reference_algorithm_tests.py --workload=fastmri --framework=jax --global_batch_size=8 --submission_path=algorithms/target_setting_algorithms/jax_momentum.py --tuning_search_space=algorithms/target_setting_algorithms/fastmri/tuning_search_space.json
2424
wmt_jax:
2525
runs-on: ubuntu-latest
2626
steps:
@@ -37,7 +37,7 @@ jobs:
3737
pip install .[pytorch_cpu]
3838
pip install .[full]
3939
pip install -e .
40-
python tests/reference_algorithm_tests.py --workload=wmt --framework=jax --global_batch_size=2 --submission_path=reference_algorithms/target_setting_algorithms/jax_nadamw.py --tuning_search_space=reference_algorithms/target_setting_algorithms/wmt/tuning_search_space.json
40+
python tests/reference_algorithm_tests.py --workload=wmt --framework=jax --global_batch_size=2 --submission_path=algorithms/target_setting_algorithms/jax_nadamw.py --tuning_search_space=algorithms/target_setting_algorithms/wmt/tuning_search_space.json
4141
wmt_pytorch:
4242
runs-on: ubuntu-latest
4343
steps:
@@ -54,7 +54,7 @@ jobs:
5454
pip install .[pytorch_cpu]
5555
pip install .[full]
5656
pip install -e .
57-
python tests/reference_algorithm_tests.py --workload=wmt --framework=pytorch --global_batch_size=2 --submission_path=reference_algorithms/target_setting_algorithms/pytorch_nadamw.py --tuning_search_space=reference_algorithms/target_setting_algorithms/wmt/tuning_search_space.json
57+
python tests/reference_algorithm_tests.py --workload=wmt --framework=pytorch --global_batch_size=2 --submission_path=algorithms/target_setting_algorithms/pytorch_nadamw.py --tuning_search_space=algorithms/target_setting_algorithms/wmt/tuning_search_space.json
5858
imagenet_jax:
5959
runs-on: ubuntu-latest
6060
steps:
@@ -71,8 +71,8 @@ jobs:
7171
pip install .[pytorch_cpu]
7272
pip install .[full]
7373
pip install -e .
74-
python tests/reference_algorithm_tests.py --workload=imagenet_vit --framework=jax --global_batch_size=2 --submission_path=reference_algorithms/target_setting_algorithms/jax_adamw.py --tuning_search_space=reference_algorithms/target_setting_algorithms/imagenet_vit/tuning_search_space.json
75-
python tests/reference_algorithm_tests.py --workload=imagenet_resnet --framework=jax --global_batch_size=2 --submission_path=reference_algorithms/target_setting_algorithms/jax_momentum.py --tuning_search_space=reference_algorithms/target_setting_algorithms/imagenet_resnet/tuning_search_space.json
74+
python tests/reference_algorithm_tests.py --workload=imagenet_vit --framework=jax --global_batch_size=2 --submission_path=algorithms/target_setting_algorithms/jax_adamw.py --tuning_search_space=algorithms/target_setting_algorithms/imagenet_vit/tuning_search_space.json
75+
python tests/reference_algorithm_tests.py --workload=imagenet_resnet --framework=jax --global_batch_size=2 --submission_path=algorithms/target_setting_algorithms/jax_momentum.py --tuning_search_space=algorithms/target_setting_algorithms/imagenet_resnet/tuning_search_space.json
7676
imagenet_pytorch:
7777
runs-on: ubuntu-latest
7878
steps:
@@ -89,8 +89,8 @@ jobs:
8989
pip install .[pytorch_cpu]
9090
pip install .[full]
9191
pip install -e .
92-
python tests/reference_algorithm_tests.py --workload=imagenet_resnet --framework=pytorch --global_batch_size=2 --submission_path=reference_algorithms/target_setting_algorithms/pytorch_momentum.py --tuning_search_space=reference_algorithms/target_setting_algorithms/imagenet_resnet/tuning_search_space.json
93-
python tests/reference_algorithm_tests.py --workload=imagenet_vit --framework=pytorch --global_batch_size=2 --submission_path=reference_algorithms/target_setting_algorithms/pytorch_adamw.py --tuning_search_space=reference_algorithms/target_setting_algorithms/imagenet_vit/tuning_search_space.json
92+
python tests/reference_algorithm_tests.py --workload=imagenet_resnet --framework=pytorch --global_batch_size=2 --submission_path=algorithms/target_setting_algorithms/pytorch_momentum.py --tuning_search_space=algorithms/target_setting_algorithms/imagenet_resnet/tuning_search_space.json
93+
python tests/reference_algorithm_tests.py --workload=imagenet_vit --framework=pytorch --global_batch_size=2 --submission_path=algorithms/target_setting_algorithms/pytorch_adamw.py --tuning_search_space=algorithms/target_setting_algorithms/imagenet_vit/tuning_search_space.json
9494
# uncomment when https://github.com/mlcommons/algorithmic-efficiency/issues/339 is resolved.
9595
criteo_jax:
9696
runs-on: ubuntu-latest
@@ -108,7 +108,7 @@ jobs:
108108
pip install .[pytorch_cpu]
109109
pip install .[full]
110110
pip install -e .
111-
python tests/reference_algorithm_tests.py --workload=criteo1tb_test --framework=jax --global_batch_size=1 --submission_path=reference_algorithms/target_setting_algorithms/jax_adamw.py --tuning_search_space=reference_algorithms/target_setting_algorithms/criteo1tb/tuning_search_space.json
111+
python tests/reference_algorithm_tests.py --workload=criteo1tb_test --framework=jax --global_batch_size=1 --submission_path=algorithms/target_setting_algorithms/jax_adamw.py --tuning_search_space=algorithms/target_setting_algorithms/criteo1tb/tuning_search_space.json
112112
criteo_pytorch:
113113
runs-on: ubuntu-latest
114114
steps:
@@ -125,7 +125,7 @@ jobs:
125125
pip install .[pytorch_cpu]
126126
pip install .[full]
127127
pip install -e .
128-
python tests/reference_algorithm_tests.py --workload=criteo1tb_test --framework=pytorch --global_batch_size=1 --submission_path=reference_algorithms/target_setting_algorithms/pytorch_adamw.py --tuning_search_space=reference_algorithms/target_setting_algorithms/criteo1tb/tuning_search_space.json
128+
python tests/reference_algorithm_tests.py --workload=criteo1tb_test --framework=pytorch --global_batch_size=1 --submission_path=algorithms/target_setting_algorithms/pytorch_adamw.py --tuning_search_space=algorithms/target_setting_algorithms/criteo1tb/tuning_search_space.json
129129
speech_jax:
130130
runs-on: ubuntu-latest
131131
steps:
@@ -142,8 +142,8 @@ jobs:
142142
pip install .[pytorch_cpu]
143143
pip install .[full]
144144
pip install -e .
145-
python tests/reference_algorithm_tests.py --workload=librispeech_conformer --framework=jax --global_batch_size=2 --submission_path=reference_algorithms/target_setting_algorithms/jax_adamw.py --tuning_search_space=reference_algorithms/target_setting_algorithms/librispeech_conformer/tuning_search_space.json
146-
python tests/reference_algorithm_tests.py --workload=librispeech_deepspeech --framework=jax --global_batch_size=2 --submission_path=reference_algorithms/target_setting_algorithms/jax_adamw.py --tuning_search_space=reference_algorithms/target_setting_algorithms/librispeech_deepspeech/tuning_search_space.json
145+
python tests/reference_algorithm_tests.py --workload=librispeech_conformer --framework=jax --global_batch_size=2 --submission_path=algorithms/target_setting_algorithms/jax_adamw.py --tuning_search_space=algorithms/target_setting_algorithms/librispeech_conformer/tuning_search_space.json
146+
python tests/reference_algorithm_tests.py --workload=librispeech_deepspeech --framework=jax --global_batch_size=2 --submission_path=algorithms/target_setting_algorithms/jax_adamw.py --tuning_search_space=algorithms/target_setting_algorithms/librispeech_deepspeech/tuning_search_space.json
147147
speech_pytorch:
148148
runs-on: ubuntu-latest
149149
steps:
@@ -160,8 +160,8 @@ jobs:
160160
pip install .[pytorch_cpu]
161161
pip install .[full]
162162
pip install -e .
163-
python tests/reference_algorithm_tests.py --workload=librispeech_deepspeech --framework=pytorch --global_batch_size=2 --submission_path=reference_algorithms/target_setting_algorithms/pytorch_adamw.py --tuning_search_space=reference_algorithms/target_setting_algorithms/librispeech_deepspeech/tuning_search_space.json
164-
python tests/reference_algorithm_tests.py --workload=librispeech_conformer --framework=pytorch --global_batch_size=2 --submission_path=reference_algorithms/target_setting_algorithms/pytorch_adamw.py --tuning_search_space=reference_algorithms/target_setting_algorithms/librispeech_conformer/tuning_search_space.json
163+
python tests/reference_algorithm_tests.py --workload=librispeech_deepspeech --framework=pytorch --global_batch_size=2 --submission_path=algorithms/target_setting_algorithms/pytorch_adamw.py --tuning_search_space=algorithms/target_setting_algorithms/librispeech_deepspeech/tuning_search_space.json
164+
python tests/reference_algorithm_tests.py --workload=librispeech_conformer --framework=pytorch --global_batch_size=2 --submission_path=algorithms/target_setting_algorithms/pytorch_adamw.py --tuning_search_space=algorithms/target_setting_algorithms/librispeech_conformer/tuning_search_space.json
165165
ogbg:
166166
runs-on: ubuntu-latest
167167
steps:
@@ -178,9 +178,9 @@ jobs:
178178
pip install .[pytorch_cpu]
179179
pip install .[full]
180180
pip install -e .
181-
python tests/reference_algorithm_tests.py --workload=ogbg --framework=pytorch --global_batch_size=8 --submission_path=reference_algorithms/target_setting_algorithms/pytorch_nesterov.py --tuning_search_space=reference_algorithms/target_setting_algorithms/ogbg/tuning_search_space.json
182-
python tests/reference_algorithm_tests.py --workload=ogbg --framework=jax --global_batch_size=8 --submission_path=reference_algorithms/target_setting_algorithms/jax_nesterov.py --tuning_search_space=reference_algorithms/target_setting_algorithms/ogbg/tuning_search_space.json
183-
pytest:
181+
python tests/reference_algorithm_tests.py --workload=ogbg --framework=pytorch --global_batch_size=8 --submission_path=algorithms/target_setting_algorithms/pytorch_nesterov.py --tuning_search_space=algorithms/target_setting_algorithms/ogbg/tuning_search_space.json
182+
python tests/reference_algorithm_tests.py --workload=ogbg --framework=jax --global_batch_size=8 --submission_path=algorithms/target_setting_algorithms/jax_nesterov.py --tuning_search_space=algorithms/target_setting_algorithms/ogbg/tuning_search_space.json
183+
pytest-params:
184184
runs-on: ubuntu-latest
185185
steps:
186186
- uses: actions/checkout@v3

0 commit comments

Comments
 (0)