Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
OPT 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
OPT Code
Commits
a3a79111
Commit
a3a79111
authored
3 years ago
by
Chelsea Maria John
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' into 'main'
Master See merge request
!3
parents
bb3ef5fe
3a49d3e0
Branches
Branches containing commit
No related tags found
1 merge request
!3
Master
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
jobscript.sh
+5
-5
5 additions, 5 deletions
jobscript.sh
setup.bash
+3
-0
3 additions, 0 deletions
setup.bash
with
8 additions
and
5 deletions
jobscript.sh
+
5
−
5
View file @
a3a79111
#!/bin/bash
#!/bin/bash
#SBATCH --account=opengptx-elm
#SBATCH --account=opengptx-elm
#SBATCH --partition=booster
#SBATCH --partition=booster
#SBATCH --job-name=opt1
75b
#SBATCH --job-name=opt1
25m_test
#SBATCH --nodes=4
8
#SBATCH --nodes=4
#SBATCH --hint=nomultithread
#SBATCH --hint=nomultithread
#SBATCH --ntasks-per-node=4
#SBATCH --ntasks-per-node=4
#SBATCH --cpus-per-task=12 # number of cores per tasks
#SBATCH --cpus-per-task=12 # number of cores per tasks
#SBATCH --gres=gpu:4 # number of gpus
#SBATCH --gres=gpu:4 # number of gpus
#SBATCH --time=00:1
5
:00 # maximum execution time (HH:MM:SS)
#SBATCH --time=00:1
0
:00 # maximum execution time (HH:MM:SS)
#SBATCH --output=slurmLog/%x-%j.out # output file name
#SBATCH --output=slurmLog/%x-%j.out # output file name
#SBATCH --error=slurmLog/%x-%j.err # error file name
#SBATCH --error=slurmLog/%x-%j.err # error file name
...
@@ -25,7 +25,7 @@ opt-baselines -n "$SLURM_NNODES" -g 4 \
...
@@ -25,7 +25,7 @@ opt-baselines -n "$SLURM_NNODES" -g 4 \
--account
opengptx-elm
\
--account
opengptx-elm
\
--partition
booster
\
--partition
booster
\
--prefix
"
$SLURM_JOB_NAME
"
\
--prefix
"
$SLURM_JOB_NAME
"
\
--model-size
1
75b
\
--model-size
1
25m
\
--juwelsbooster
\
--juwelsbooster
\
--data
"
$DATA_PATH
"
\
--data
"
$DATA_PATH
"
\
--ntasks-per-node
4
\
--ntasks-per-node
4
\
...
@@ -34,7 +34,7 @@ opt-baselines -n "$SLURM_NNODES" -g 4 \
...
@@ -34,7 +34,7 @@ opt-baselines -n "$SLURM_NNODES" -g 4 \
--tensorboard-logdir
"
$TENSORBOARD_PATH
"
\
--tensorboard-logdir
"
$TENSORBOARD_PATH
"
\
--no-save-dir
\
--no-save-dir
\
--snapshot-root
"
$ROOT_OUTPUT_DIR
"
\
--snapshot-root
"
$ROOT_OUTPUT_DIR
"
\
--time
1
5
\
--time
1
0
\
--no-wandb
\
--no-wandb
\
--cpu-bind
socket
\
--cpu-bind
socket
\
--salloc
--salloc
...
...
This diff is collapsed.
Click to expand it.
setup.bash
+
3
−
0
View file @
a3a79111
...
@@ -32,6 +32,9 @@ source activate.bash
...
@@ -32,6 +32,9 @@ source activate.bash
python
-m
pip
install
--upgrade
pip
python
-m
pip
install
--upgrade
pip
# Requires numpy 1.22.0
python
-m
pip
install
numpy
==
1.22.0
#Installing PyTorch 1.10.1 version with cuda 11.3 used by metaseq
#Installing PyTorch 1.10.1 version with cuda 11.3 used by metaseq
# python -m pip install torch==1.10.1+cu113 torchvision==0.11.2+cu113 torchaudio==0.10.1+cu113 -f https://download.pytorch.org/whl/cu113/torch_stable.html
# python -m pip install torch==1.10.1+cu113 torchvision==0.11.2+cu113 torchaudio==0.10.1+cu113 -f https://download.pytorch.org/whl/cu113/torch_stable.html
...
...
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