Skip to content

Commit

Permalink
submission files reordering
Browse files Browse the repository at this point in the history
  • Loading branch information
Niccolo-Ajroldi committed Feb 19, 2024
1 parent 5a33338 commit 12dc312
Show file tree
Hide file tree
Showing 14 changed files with 39 additions and 0 deletions.
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.
39 changes: 39 additions & 0 deletions exp/seal/mnist.sh
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.

0 comments on commit 12dc312

Please sign in to comment.