Skip to content

Commit

Permalink
Save git branch to env in train_aGPT_7B.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
saforem2 committed Oct 21, 2024
1 parent 277d308 commit af4cba1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions train_aGPT_7B.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/bin/bash --login
#PBS -q lustre_scaling
#PBS -A Aurora_Deployment
#PBS -j oe

#####################################
# AuroraGPT-7B
Expand All @@ -10,6 +13,8 @@
# 1. Navigate into `$PBS_O_WORKDIR`
cd "${PBS_O_WORKDIR}" || exit
HERE=$(python3 -c 'import os; print(os.getcwd())') && export HERE
GIT_BRANCH=$(git branch --show-current) && export GIT_BRANCH


# 2. source `ALCF/helpers.sh`
source "${HERE}/ALCF/helpers.sh" || exit
Expand Down

0 comments on commit af4cba1

Please sign in to comment.