Skip to content

Commit 34ffc00

Browse files
committed
documentation
1 parent eff5343 commit 34ffc00

File tree

3 files changed

+19
-6
lines changed

3 files changed

+19
-6
lines changed

scoring/score_submissions.py

+4-3
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@
77
88
Example usage:
99
python3 score_submissions.py \
10-
--submission_directory $HOME/algorithmic-efficiency/prize_qualification_baselines/logs \
11-
--strict True
12-
--compute_performance_profiles
10+
--submission_directory $HOME/algoperf-runs/submissions/rolling_leaderboard/self_tuning \
11+
--compute_performance_profiles \
12+
--output_dir scoring_results_self_tuning \
13+
--self_tuning_ruleset
1314
"""
1415

1516
import operator

scoring/utils/slurm/README.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1-
This folder contains a SLURM batch script that can be used to run jobs where each job corresponds to a training run on a given workload, training algorithm, random seed and tuning trial (if on external tuning ruleset)
1+
This folder contains a SLURM batch script that can be used to run jobs where each job corresponds to a training run on a given workload, training algorithm, random seed and tuning trial (if on external tuning ruleset).
2+
3+
To launch jobs:
4+
1) Generate a job config
5+
`python make_job_config.py`

scoring/utils/slurm/make_job_config.py

+10-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
"""
2+
Usage:
3+
python3 make_job_config.py \
4+
--submission_path <submission_path> \
5+
--tuning_search_space <tuning_search_space> \
6+
--experiment_dir $HOME/experiments/<algorithm> \
7+
--framework <jax|pytorch>
8+
"""
19
import json
210
import os
311

@@ -13,10 +21,10 @@
1321

1422
flags.DEFINE_string('submission_path',
1523
SUBMISSION_PATH,
16-
'Path to submission module.')
24+
'Path to submission module relative to algorithmic-efficiency dir.')
1725
flags.DEFINE_string('tuning_search_space',
1826
TUNING_SEARCH_SPACE,
19-
'Path to tuning search space for submission module.')
27+
'Path to tuning search space for submission module relative to algorithmic-efficiency dir.')
2028
flags.DEFINE_string('experiment_dir',
2129
EXPERIMENT_DIR,
2230
'Path to experiment dir where logs will be saved.')

0 commit comments

Comments
 (0)