Skip to content

Commit

Permalink
add gpu profile to config
Browse files Browse the repository at this point in the history
  • Loading branch information
sateeshperi committed Dec 2, 2024
1 parent 231cbc3 commit 0b2f069
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,17 @@ profiles {
executor.cpus = 4
executor.memory = 8.GB
}
docker_self_hosted {
docker.enabled = true
docker.fixOwnership = true
docker.runOptions = '--platform=linux/amd64'
}
gpu {
docker.runOptions = '-u $(id -u):$(id -g) --gpus all'
apptainer.runOptions = '--nv'
singularity.runOptions = '--nv'
use_gpu = true
}
test { includeConfig 'conf/test.config' }
test_full { includeConfig 'conf/test_full.config' }
test_ci { params.pipelines_testdata_base_path = './test-datasets/' }
Expand Down

0 comments on commit 0b2f069

Please sign in to comment.