Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
BigScience Code
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OpenGPT-X
BigScience Code
Commits
7c29c810
Commit
7c29c810
authored
May 31, 2022
by
Carolin Penke
Browse files
Options
Downloads
Patches
Plain Diff
forgot to uncomment
parent
4d3db948
Branches
Branches containing commit
No related tags found
1 merge request
!1
changed paths to opengptx-elm and added StartLongRun.bash to start multiple...
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
run_scripts/StartLongRun.bash
+15
-15
15 additions, 15 deletions
run_scripts/StartLongRun.bash
with
15 additions
and
15 deletions
run_scripts/StartLongRun.bash
+
15
−
15
View file @
7c29c810
...
...
@@ -43,21 +43,21 @@ export LOAD_CHECKPOINTS=true
# Start NUM_JOBS jobs, that will only start when the previous one has terminated
DEPENDENT
=
1
re
=
'^[0-9]+$'
#
if [[ $NUM_JOBS =~ $re ]] ; then
#
for ((i=1; i <= $NUM_JOBS; i++));
#
do
#
if [ "x$RUNTIME_PER_JOB" != x ]
#
then
#
JOBID=$(sbatch --parsable --dependency=afterany:$DEPENDENT --time $RUNTIME_PER_JOB tr1-13B-round1_juwels_pipe.sbatch)
#
else
#
JOBID=$(sbatch --parsable --dependency=afterany:$DEPENDENT tr1-13B-round1_juwels_pipe.sbatch)
#
fi
#
echo "Submitted batch job $JOBID, dependent on termination of $DEPENDENT"
#
DEPENDENT=$JOBID
#
done
#
else
#
echo "NUM_JOBS not a number"
#
fi
if
[[
$NUM_JOBS
=
~
$re
]]
;
then
for
((
i
=
1
;
i <
=
$NUM_JOBS
;
i++
))
;
do
if
[
"x
$RUNTIME_PER_JOB
"
!=
x
]
then
JOBID
=
$(
sbatch
--parsable
--dependency
=
afterany:
$DEPENDENT
--time
$RUNTIME_PER_JOB
tr1-13B-round1_juwels_pipe.sbatch
)
else
JOBID
=
$(
sbatch
--parsable
--dependency
=
afterany:
$DEPENDENT
tr1-13B-round1_juwels_pipe.sbatch
)
fi
echo
"Submitted batch job
$JOBID
, dependent on termination of
$DEPENDENT
"
DEPENDENT
=
$JOBID
done
else
echo
"NUM_JOBS not a number"
fi
echo
"Starting tensorboard.."
# Grab free port
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment