-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cc0c6ff
commit 0338f8f
Showing
11 changed files
with
81 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
# Threshold Baselines | ||
TODO: link back to section in rules. | ||
|
||
## Externally Tuned Ruleset | ||
|
||
### JAX | ||
|
||
The threshold submissions for jax are: | ||
- `reference_algorithms/threshold_baselines/external_tuning/jax_nadamw_target_setting.py` | ||
- `feference_algorithms/threshold_baselines/external_tuning/jax_nadamw_full_budget.py` | ||
|
||
Example command: | ||
|
||
```bash | ||
python3 submission_runner.py \ | ||
--framework=jax \ | ||
--data_dir=<data_dir> \ | ||
--experiment_dir=<experiment_dir> \ | ||
--experiment_name=<experiment_name> \ | ||
--workload=<workload> \ | ||
--submission_path=reference_algorithms/threshold_baselines/external_tuning/jax_nadamw_target_setting.py \ | ||
--tuning_search_space=reference_algorithms/threshold_baselines/external_tuning/tuning_search_space.json | ||
``` | ||
|
||
### PyTorch | ||
|
||
The threshold submissions for PyTorch are | ||
- `reference_algorithms/threshold_baselines/external_tuning/pytorch_nadamw_target_setting.py` | ||
- `feference_algorithms/threshold_baselines/external_tuning/pytorch_nadamw_full_budget.py` | ||
|
||
|
||
Example command: | ||
|
||
```bash | ||
torchrun --redirects 1:0,2:0,3:0,4:0,5:0,6:0,7:0 --standalone --nnodes=1 --nproc_per_node=8 submission_runner.py \ | ||
--framework=pytorch \ | ||
--data_dir=<data_dir> \ | ||
--experiment_dir=<experiment_dir> \ | ||
--experiment_name=t<experiment_name> \ | ||
--workload=<workload>\ | ||
--submission_path=reference_algorithms/threshold_baselines/external_tuning/pytorch_nadamw_target_setting.py \ | ||
--tuning_search_space=reference_algorithms/threshold_baselines/external_tuning/tuning_search_space.json | ||
``` | ||
|
||
## Self-tuning Ruleset | ||
|
||
### JAX | ||
|
||
The threshold submissions for jax are | ||
- `reference_algorithms/threshold_baselines/external_tuning/jax_nadamw_target_setting.py` | ||
- `feference_algorithms/threshold_baselines/external_tuning/jax_nadamw_full_budget.py` | ||
|
||
Example command: | ||
```bash | ||
python3 submission_runner.py \ | ||
--framework=jax \ | ||
--data_dir=<data_dir> \ | ||
--experiment_dir=<experiment_dir> \ | ||
--experiment_name=<experiment_name> \ | ||
--workload=<workload> \ | ||
--submission_path=reference_algorithms/threshold_baselines/external_tuning/jax_nadamw_target_setting.py \ | ||
--tuning_ruleset=self | ||
``` | ||
|
||
### PyTorch | ||
|
||
The threshold submissions for PyTorch are | ||
- `reference_algorithms/threshold_baselines/external_tuning/pytorch_nadamw_target_setting.py` | ||
- `feference_algorithms/threshold_baselines/external_tuning/pytorch_nadamw_full_budget.py` | ||
|
||
Example command: | ||
```bash | ||
torchrun --redirects 1:0,2:0,3:0,4:0,5:0,6:0,7:0 --standalone --nnodes=1 --nproc_per_node=8 submission_runner.py \ | ||
--framework=pytorch \ | ||
--data_dir=<data_dir> \ | ||
--experiment_dir=<experiment_dir> \ | ||
--experiment_name=t<experiment_name> \ | ||
--workload=<workload>\ | ||
--submission_path=reference_algorithms/threshold_baselines/external_tuning/pytorch_nadamw_target_setting.py \ | ||
--tuning_ruleset=self | ||
``` |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.