Skip to content

Prepare for v0.6 release #876

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 64 commits into
base: dev
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
64 commits
Select commit Hold shift + click to select a range
78a1409
Formatting, ignore `.eggs/` in yapf
fsschneider Jun 18, 2025
462e8b7
Replace yapf, pylint, isort with ruff
fsschneider Jun 18, 2025
383db7a
Replace pre-commit with ruff
fsschneider Jun 18, 2025
2c28136
Use extend-select instead, and reduce lint rules
fsschneider Jun 18, 2025
999f7a2
Replace linting GH actions with ruff
fsschneider Jun 18, 2025
7b245d6
Add ruff badge
fsschneider Jun 18, 2025
277674c
Update style testing with ruff
fsschneider Jun 18, 2025
830d2c2
Format submission_runner
fsschneider Jun 23, 2025
d84eddf
Format submissions/
fsschneider Jun 23, 2025
fbbeafa
Format scoring/
fsschneider Jun 23, 2025
f4ae9be
Format reference_algorithms/
fsschneider Jun 23, 2025
e5209d1
Format tests/
fsschneider Jun 23, 2025
f026711
Format prize_qualification_baselines/
fsschneider Jun 23, 2025
531c99e
Format datasets/
fsschneider Jun 23, 2025
c34af17
Format algoperf/
fsschneider Jun 23, 2025
9725554
Format docker/
fsschneider Jun 23, 2025
7b18fff
Lint tests/
fsschneider Jun 23, 2025
f34bb6d
Lint submissions/
fsschneider Jun 23, 2025
0aeb545
Remove perf. profile tests as it is only a placeholder
fsschneider Jun 23, 2025
4802dfb
Lint scoring/
fsschneider Jun 23, 2025
5e97e78
Lint prize_qualification_baselines/
fsschneider Jun 23, 2025
4ae5418
Lint datasets/
fsschneider Jun 23, 2025
e3f1b74
Lint reference_algorithms/
fsschneider Jun 23, 2025
566b6d9
Lint algoperf/
fsschneider Jun 23, 2025
e846648
Remove unnecessary isort=off commands
fsschneider Jun 23, 2025
3e425e0
Update Ruff linting rules in pyproject.toml to include additional opt…
fsschneider Jun 23, 2025
8bca401
Add pylint errors to linting rules
fsschneider Jun 23, 2025
09aca7f
Fix formatting
fsschneider Jun 25, 2025
ca4f4b6
Rework Readme
fsschneider Jun 24, 2025
2d2fd37
Remove deprecated rules and call for submissions
fsschneider Jun 24, 2025
2544fb9
Clarify automatic versioning
fsschneider Jun 25, 2025
c8da1f9
Mention changelog
fsschneider Jun 25, 2025
d233344
Backlog changes
fsschneider Jun 25, 2025
679e5ec
Increment version + formatting
fsschneider Jun 25, 2025
891fdb7
Formatting
fsschneider Jun 25, 2025
0390e13
Mention our version policy
fsschneider Jun 25, 2025
818710b
More descriptive link text
fsschneider Jun 25, 2025
03114bd
Add versioning protocol
fsschneider Jun 25, 2025
a2ab920
Document dropout PR
fsschneider Jun 25, 2025
64e9961
Compact layout for default dropout values
fsschneider Jun 25, 2025
23004a2
Change from 5 to 3 studies
fsschneider Jun 25, 2025
576c661
Change from 5 to 3 studies
fsschneider Jun 25, 2025
bdfd9d8
Remove held-out workloads
fsschneider Jun 25, 2025
0ac2dbe
First draft at re-ordering algorithms
fsschneider Jul 8, 2025
a83d573
Fix typo in documentation regarding `update_params` function arguments
fsschneider Jul 9, 2025
200ef7c
Add detailed docstrings for functions in submission.py
fsschneider Jul 9, 2025
8cfd172
Move paper baselines into `archived_paper_baselines` subdirectory
fsschneider Jul 9, 2025
1f7915e
Add proper readme for algorithms collection
fsschneider Jul 9, 2025
db6681e
prize_qualification_baselines -> Baselines
fsschneider Jul 9, 2025
dd2cd50
Remove mention of prize_qualification
fsschneider Jul 9, 2025
af89c29
Add Training Algorithm Collection section to README.md
fsschneider Jul 9, 2025
a0d8558
Fix paths to algorithms
fsschneider Jul 9, 2025
a106537
Fix a few more :)
fsschneider Jul 9, 2025
5f0c77f
Update Changelog
fsschneider Jul 9, 2025
4ebefc7
Fixed link to cloud-startup
fsschneider Jul 9, 2025
e31b6d9
Docs rewrite: Part I
fsschneider Jul 9, 2025
10faf4d
Formatting tweaks
fsschneider Jul 9, 2025
37803c6
Typos and clarity
fsschneider Jul 10, 2025
e813bb5
Add important rules from COMPETITON RULES
fsschneider Jul 10, 2025
44dd919
Simplify Intro
fsschneider Jul 10, 2025
3411368
Small readability tweaks
fsschneider Jul 10, 2025
79312f6
Rewrite benchmark process intro
fsschneider Jul 10, 2025
a6d939d
Re-write (parts of) Submission section
fsschneider Jul 10, 2025
29a552a
Remove last mention of model track
fsschneider Jul 10, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Binary file modified .assets/performance_profiles.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
32 changes: 16 additions & 16 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ jobs:
pip install .[pytorch_cpu]
pip install .[full]
pip install -e .
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
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
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
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
wmt_jax:
runs-on: ubuntu-latest
steps:
Expand All @@ -37,7 +37,7 @@ jobs:
pip install .[pytorch_cpu]
pip install .[full]
pip install -e .
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
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
wmt_pytorch:
runs-on: ubuntu-latest
steps:
Expand All @@ -54,7 +54,7 @@ jobs:
pip install .[pytorch_cpu]
pip install .[full]
pip install -e .
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
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
imagenet_jax:
runs-on: ubuntu-latest
steps:
Expand All @@ -71,8 +71,8 @@ jobs:
pip install .[pytorch_cpu]
pip install .[full]
pip install -e .
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
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
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
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
imagenet_pytorch:
runs-on: ubuntu-latest
steps:
Expand All @@ -89,8 +89,8 @@ jobs:
pip install .[pytorch_cpu]
pip install .[full]
pip install -e .
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
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
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
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
# uncomment when https://github.com/mlcommons/algorithmic-efficiency/issues/339 is resolved.
criteo_jax:
runs-on: ubuntu-latest
Expand All @@ -108,7 +108,7 @@ jobs:
pip install .[pytorch_cpu]
pip install .[full]
pip install -e .
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
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
criteo_pytorch:
runs-on: ubuntu-latest
steps:
Expand All @@ -125,7 +125,7 @@ jobs:
pip install .[pytorch_cpu]
pip install .[full]
pip install -e .
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
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
speech_jax:
runs-on: ubuntu-latest
steps:
Expand All @@ -142,8 +142,8 @@ jobs:
pip install .[pytorch_cpu]
pip install .[full]
pip install -e .
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
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
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
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
speech_pytorch:
runs-on: ubuntu-latest
steps:
Expand All @@ -160,8 +160,8 @@ jobs:
pip install .[pytorch_cpu]
pip install .[full]
pip install -e .
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
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
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
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
ogbg:
runs-on: ubuntu-latest
steps:
Expand All @@ -178,8 +178,8 @@ jobs:
pip install .[pytorch_cpu]
pip install .[full]
pip install -e .
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
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
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
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
pytest:
runs-on: ubuntu-latest
steps:
Expand Down
39 changes: 10 additions & 29 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,54 +3,35 @@ name: Linting
on: [push, pull_request]

jobs:
pylint:
ruff-linting:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.11.10
uses: actions/setup-python@v2
with:
python-version: 3.11.10
- name: Install pylint
- name: Install ruff
run: |
python -m pip install --upgrade pip
pip install pylint==2.16.1
- name: Run pylint
pip install ruff==0.12.0
- name: Run ruff linter
run: |
pylint algoperf
pylint reference_algorithms
pylint prize_qualification_baselines
pylint submission_runner.py
pylint tests
ruff check

isort:
ruff-formatter:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.11.10
uses: actions/setup-python@v2
with:
python-version: 3.11.10
- name: Install isort
- name: Install ruff
run: |
python -m pip install --upgrade pip
pip install isort==5.12.0
- name: Run isort
pip install ruff==0.12.0
- name: Run ruff formatter
run: |
isort . --check --diff
ruff format --check

yapf:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.11.10
uses: actions/setup-python@v2
with:
python-version: 3.11.10
- name: Install yapf
run: |
python -m pip install --upgrade pip
pip install yapf==0.32 toml
- name: Run yapf
run: |
yapf . --diff --recursive
Loading