forked from mlcommons/algorithmic-efficiency
-
Notifications
You must be signed in to change notification settings - Fork 0
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
5a33338
commit 12dc312
Showing
14 changed files
with
39 additions
and
0 deletions.
There are no files selected for viewing
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.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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,39 @@ | ||
#!/bin/bash | ||
|
||
# add conda TODO: make it more portable! | ||
source ~/miniconda3/etc/profile.d/conda.sh | ||
|
||
# Activate conda environment TODO: should I use source activate alpe instead? | ||
conda activate alpe | ||
|
||
echo "------ $CONDA_DEFAULT_ENV ------" | ||
|
||
# Env vars | ||
export CODE_DIR=$HOME/algorithmic-efficiency | ||
export EXP_DIR=$HOME/exp/algoperf/exp | ||
export DATA_DIR=~/data | ||
|
||
# Job specific vars | ||
workload=mnist | ||
dataset=MNIST | ||
submission='reference_algorithms/development_algorithms/mnist/mnist_pytorch/submission.py' | ||
search_space='reference_algorithms/development_algorithms/mnist/tuning_search_space.json' | ||
trials=1 | ||
name="mnist_01" | ||
|
||
# Print GPU infos | ||
# nvidia-smi | ||
|
||
# Execute python script | ||
python3 $CODE_DIR/submission_runner.py \ | ||
--workload=$workload \ | ||
--framework=pytorch \ | ||
--tuning_ruleset=external \ | ||
--data_dir=$DATA_DIR/$dataset \ | ||
--submission_path=$submission \ | ||
--tuning_search_space=$search_space \ | ||
--num_tuning_trials=$trials \ | ||
--experiment_dir=$EXP_DIR \ | ||
--experiment_name=$name \ | ||
--use_wandb \ | ||
--overwrite |
File renamed without changes.