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
2c53d3ef
Commit
2c53d3ef
authored
Jun 23, 2022
by
Jan Ebert
Browse files
Options
Downloads
Patches
Plain Diff
Fix error propagations
parent
4ebfd513
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
run_scripts/StartLongRun.bash
+2
-2
2 additions, 2 deletions
run_scripts/StartLongRun.bash
run_scripts/activate.bash
+5
-5
5 additions, 5 deletions
run_scripts/activate.bash
with
7 additions
and
7 deletions
run_scripts/StartLongRun.bash
+
2
−
2
View file @
2c53d3ef
...
...
@@ -14,7 +14,7 @@ NUM_JOBS=3
RUNTIME_PER_JOB
=
"00:20:00"
# Make sure ROOT_OUTPUT_DIR was set in variables.bash
[
"x
$ROOT_OUTPUT_DIR
"
=
x
]
&&
source
variables.bash
[
"x
$ROOT_OUTPUT_DIR
"
=
x
]
&&
source
variables.bash
||
exit
1
# Set checkpoint directory
TIMESTAMP
=
`
date
+%Y-%m-%d_%H-%M-%S
`
...
...
This diff is collapsed.
Click to expand it.
run_scripts/activate.bash
+
5
−
5
View file @
2c53d3ef
...
...
@@ -14,17 +14,17 @@ fi
[
-x
"
$(
command
-v
deactivate
)
"
]
&&
deactivate
module purge
source
modules.bash
source
modules.bash
||
return
1
source
variables.bash
source
utils.bash
source
variables.bash
||
return
1
source
utils.bash
||
return
1
if
!
[
-d
"
$VENV_DIR
"
]
;
then
echo
'Please execute `nice bash set_up.bash` before continuing.'
return
1
fi
source
"
$VENV_DIR
/bin/activate"
source
"
$VENV_DIR
/bin/activate"
||
return
1
export
PYTHONPATH
=
"
$(
realpath
"
$VENV_DIR
"
/lib/python
*
/site-packages
)
:
$PYTHONPATH
"
# Set `TORCH_CUDA_ARCH_LIST` according to GPU's compute capability.
...
...
@@ -36,7 +36,7 @@ elif [ "$SYSTEMNAME" = juwels ]; then
export
TORCH_CUDA_ARCH_LIST
=
'7.0'
else
echo
"The machine
\"
$SYSTEMNAME
\"
is currently not supported."
return
return
1
fi
# Also allow generating PTX instructions (just because, we could also
...
...
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