Skip to content

Commit

Permalink
Support W&B resume (NVlabs#145)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhijian-liu authored Jul 30, 2024
1 parent 4fced82 commit d21e90a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/setups/train.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,10 @@ OUTPUT_DIR=${OUTPUT_DIR:-"runs/$RUN_NAME"}
echo "OUTPUT_DIR = $OUTPUT_DIR"

export WANDB_PROJECT="vila"
export WANDB_NAME=$RUN_NAME
export WANDB_DIR=$OUTPUT_DIR
export WANDB_RUN_ID=$RUN_NAME
export WANDB_NAME=$RUN_NAME
export WANDB_RESUME="allow"

NNODES=${SLURM_JOB_NUM_NODES:-1}
echo "NNODES = $NNODES"
Expand Down

0 comments on commit d21e90a

Please sign in to comment.