***
Wartungsfenster jeden ersten Mittwoch vormittag im Monat
***
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
LLM Finetuning
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
eurocc_pub
LLM Finetuning
Commits
ce898a49
Commit
ce898a49
authored
1 year ago
by
Pfister, Martin
Browse files
Options
Downloads
Patches
Plain Diff
Update llama3.1-70b run_leonardo.slurm (single GPU)
parent
717d0af1
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
llama3.1-70b-bnb/run_leonardo.slurm
+6
-7
6 additions, 7 deletions
llama3.1-70b-bnb/run_leonardo.slurm
with
6 additions
and
7 deletions
llama3.1-70b-bnb/run_leonardo.slurm
+
6
−
7
View file @
ce898a49
#!/bin/bash
#!/bin/bash
#SBATCH --partition=boost_usr_prod
#SBATCH --partition=boost_usr_prod
#
#SBATCH --qos=boost_qos_dbg
#SBATCH --qos=boost_qos_dbg
## Specify resources:
## Specify resources:
## Leonardo Booster: 32 CPU cores and 4 GPUs per node => 8 cores per GPU
## Leonardo Booster: 32 CPU cores and 4 GPUs per node => 8 cores per GPU
#SBATCH --nodes=1
#SBATCH --nodes=1
#SBATCH --gpus-per-task=1 # up to 4 on Leonardo
#SBATCH --ntasks-per-node=1
#SBATCH --ntasks-per-node=1
#SBATCH --gpus-per-task=1
#SBATCH --mem-per-gpu=120GB
#SBATCH --mem-per-gpu=25GB
#SBATCH --cpus-per-task=8 # should be 8 * gpus-per-task on Leonardo
#SBATCH --cpus-per-task=8
#SBATCH --time=
1:00:00
#SBATCH --time=
0:30:00 # up to 0:30:00 for boost_qos_dbg
# Set conda environment:
# Set conda environment:
CONDA_ENV
=
finetuning
CONDA_ENV
=
finetuning
...
@@ -34,5 +34,4 @@ nvidia-smi
...
@@ -34,5 +34,4 @@ nvidia-smi
# Run AI scripts:
# Run AI scripts:
time
conda run
-n
$CONDA_ENV
--no-capture-output
python llama3.1-70b_train.py
time
conda run
-n
$CONDA_ENV
--no-capture-output
python llama3.1-70b_train.py
time
conda run
-n
$CONDA_ENV
--no-capture-output
python llama3.1-70b_test.py
# time conda run -n $CONDA_ENV --no-capture-output python llama3.1-70b_test.py
# time conda run -n $CONDA_ENV --no-capture-output torchrun --nproc_per_node 4 llama3.1-70b_train.py
\ No newline at end of file
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