Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions scripts/scaffold-matrix.job
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,14 @@
export LD_LIBRARY_PATH=/usr/lib64:$LD_LIBRARY_PATH

CONFIG_PATH="$(pwd)/ScaFFold/configs/benchmark_default.yml"
FRACT_BASE_DIR="${FRACT_BASE_DIR:-$(pwd)/ScaFFold/fractals}"

scaffold generate_fractals \
-c "$CONFIG_PATH" \
--fract-base-dir "$FRACT_BASE_DIR"

# Uncomment if you want torch profiling
#export PROFILE_TORCH=ON

torchrun-hpc -N 1 -n 4 --gpus-per-proc 1 $(which scaffold) benchmark \
-c "$CONFIG_PATH" \
--fract-base-dir "$FRACT_BASE_DIR"
#torchrun-hpc -N 2 -n 4 --gpus-per-proc 1 $(which scaffold) benchmark -c "$CONFIG_PATH" --fract-base-dir "$FRACT_BASE_DIR"

#torchrun-hpc -N 2 -n 4 --gpus-per-proc 1 $(which scaffold) benchmark -c "$CONFIG_PATH"
6 changes: 2 additions & 4 deletions scripts/scaffold-tuolumne-torchpypi.job
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,14 @@ export MIOPEN_DEBUG_CONV_DIRECT=0
# export MIOPEN_DEBUG_CONV_DIRECT_NAIVE_CONV_WRW=0

CONFIG_PATH="$(pwd)/ScaFFold/configs/benchmark_default.yml"
FRACT_BASE_DIR="${FRACT_BASE_DIR:-$(pwd)/ScaFFold/fractals}"

torchrun-hpc -N 1 -n 1 $(which scaffold) generate_fractals \
-c "$CONFIG_PATH" \
--fract-base-dir "$FRACT_BASE_DIR"

# Uncomment if you want torch profiling
#export PROFILE_TORCH=ON

torchrun-hpc -N 1 -n 4 --gpus-per-proc 1 $(which scaffold) benchmark \
-c "$CONFIG_PATH" \
--fract-base-dir "$FRACT_BASE_DIR"
# torchrun-hpc -N 2 -n 4 --gpus-per-proc 1 $(which scaffold) benchmark -c "$CONFIG_PATH" --fract-base-dir "$FRACT_BASE_DIR"

# torchrun-hpc -N 2 -n 4 --gpus-per-proc 1 $(which scaffold) benchmark -c "$CONFIG_PATH"
Loading