Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TSR_ConceptExtraction
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
Service Desk
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Antonia Holzapfel San Martin
TSR_ConceptExtraction
Commits
d3b037a0
Commit
d3b037a0
authored
1 year ago
by
Andres
Browse files
Options
Downloads
Patches
Plain Diff
adding slurm executors
parent
0683f48b
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
data/config/launcher/slurm.yaml
+8
-2
8 additions, 2 deletions
data/config/launcher/slurm.yaml
data/config/launcher/slurmgpu.yaml
+27
-0
27 additions, 0 deletions
data/config/launcher/slurmgpu.yaml
with
35 additions
and
2 deletions
data/config/launcher/slurm.yaml
+
8
−
2
View file @
d3b037a0
...
...
@@ -6,7 +6,13 @@ hydra:
callbacks
:
log_job_return
:
_target_
:
hydra.experimental.callbacks.LogJobReturnCallback
launcher
:
setup
:
[
which python
,
echo 1
]
launcher
:
# https://hydra.cc/docs/plugins/submitit_launcher/
setup
:
[
"
echo
'#
Loading
python
module!'"
,
"
module
load
Python/3.10.4
2>&1"
,
"
echo
'#
List
of
modules:'"
,
"
module
list
2>&1"
,
"
echo
'#
Current
working
directory:'"
,
"
pwd"
,
"
echo
'#
List
of
folders
in
pwd:'"
,
"
ls"
,
"
echo
'#
Activate
venv!'"
,
"
.
.venv/bin/activate"
,
"
echo
'#
Which
python:'"
,
"
which
python"
]
submitit_folder
:
${hydra.sweep.dir}/.submitit/%j
This diff is collapsed.
Click to expand it.
data/config/launcher/slurmgpu.yaml
0 → 100644
+
27
−
0
View file @
d3b037a0
# @package _global_
defaults
:
-
override /hydra/launcher
:
submitit_slurm
hydra
:
callbacks
:
log_job_return
:
_target_
:
hydra.experimental.callbacks.LogJobReturnCallback
launcher
:
# https://hydra.cc/docs/plugins/submitit_launcher/
setup
:
[
"
echo
'#
Loading
python
module!'"
,
"
module
load
Python/3.10.4
2>&1"
,
"
echo
'#
Loading
CUDA
module!'"
,
"
CUDA/12.3.0
2>&1"
,
"
echo
'#
List
of
modules:'"
,
"
module
list
2>&1"
,
"
echo
'#
Current
working
directory:'"
,
"
pwd"
,
"
echo
'#
List
of
folders
in
pwd:'"
,
"
ls"
,
"
echo
'#
Activate
venv!'"
,
"
.
.venv/bin/activate"
,
"
echo
'#
Which
python:'"
,
"
which
python"
,
"
echo
'#
nvidia-smi:'"
,
"
nvidia-smi"
,
"
echo
'#
Torch
collect:'"
,
"
python
-m
torch.utils.collect_env"
]
submitit_folder
:
${hydra.sweep.dir}/.submitit/%j
cpus_per_task
:
4
gpus_per_node
:
1
mem_per_cpu
:
8000
array_parallelism
:
5
gres
:
"
gpu:1"
timeout_min
:
5
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