Skip to content

updated gpu profile to support process labels#1134

Merged
JohannesKersting merged 2 commits into
nf-core:masterfrom
JohannesKersting:update_daisybio
Jul 3, 2026
Merged

updated gpu profile to support process labels#1134
JohannesKersting merged 2 commits into
nf-core:masterfrom
JohannesKersting:update_daisybio

Conversation

@JohannesKersting

@JohannesKersting JohannesKersting commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

name: Update daisybio.config
about: Submit only processes labeled with ´process_gpu´ to the GPU slurm queue

Please follow these steps before submitting your PR:

  • If your PR is a work in progress, include [WIP] in its title
  • Your PR targets the master branch
  • You've included links to relevant issues, if any

Steps for adding a new config profile:

  • Add your custom config file to the conf/ directory
  • Add your documentation file to the docs/ directory
  • Add your custom profile to the nfcore_custom.config file in the top-level directory
  • Add your profile name to the profile: scope in .github/workflows/main.yml
  • OPTIONAL: Add your custom profile path and GitHub user name to .github/CODEOWNERS (**/<custom-profile>** @<github-username>)

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the DaiSyBio nf-core profile to support GPU scheduling via process labels, so only GPU-capable steps are dispatched to the GPU queue while the rest remain on CPU resources.

Changes:

  • Documented how to keep work directories and how to request GPU execution using the process_gpu label.
  • Updated the gpu profile to target the GPU queue only for processes labeled process_gpu.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
docs/daisybio.md Adds guidance for keeping work directories and using process_gpu labels for GPU execution.
conf/daisybio.config Changes GPU scheduling from “all processes on GPU queue” to label-based GPU queue routing.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/daisybio.md Outdated
Comment thread conf/daisybio.config
Comment on lines 84 to +88
docker.runOptions = '-u $(id -u):$(id -g) --gpus all'
apptainer.runOptions = '--nv'
singularity.runOptions = '--nv'
process.queue = 'shared-gpu'
process.clusterOptions = '--qos=limitgpus --gpus=a40:1 --exclude compms-gpu-1.exbio.wzw.tum.de'
executor.queueSize = 5
process{
withLabel:process_gpu {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not actually a problem, as the respective flags are without effect if not GPU is present

@JudithBernett JudithBernett left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!! thanks!!

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@JohannesKersting JohannesKersting merged commit 170e0df into nf-core:master Jul 3, 2026
159 of 162 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants