Document GPU configuration flow across pipelines, modules, and profiles - #4352
Open
mahesh-panchal wants to merge 7 commits into
Open
Document GPU configuration flow across pipelines, modules, and profiles#4352mahesh-panchal wants to merge 7 commits into
mahesh-panchal wants to merge 7 commits into
Conversation
Clarify that `accelerator` is a map (`request`/`type`), not a plain integer, and explain how a GPU request flows from module -> pipeline config -> institutional profile -> user override. Add a GPU resource requests section to the institutional profiles guide (with a `--gres` vs `--gpus` SLURM note), update the example gpu profile to read `task.accelerator` via a closure instead of hardcoding `--gres=gpu:1`, and add a new running/configuration guide for pipeline users. Remove the now-unused `ext.use_gpu` key from the ext-args reference. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
✅ Deploy Preview for nf-core-main-site ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for nf-core-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Member
Author
|
@nf-core-bot fix linting |
pontus
reviewed
Aug 14, 2026
mashehu
reviewed
Aug 14, 2026
mashehu
left a comment
Contributor
There was a problem hiding this comment.
just some nitpicks, can be ignored if you disagree
pontus
reviewed
Aug 17, 2026
pontus
reviewed
Aug 17, 2026
pontus
reviewed
Aug 17, 2026
pontus
reviewed
Aug 17, 2026
Co-authored-by: Matthias Hörtenhuber <mashehu@users.noreply.github.com> Co-authored-by: Pontus Freyhult <pontus_github@soua.net> Co-authored-by: Cormac Kinsella <27350062+CormacKinsella@users.noreply.github.com>
Reword the module-detection rationale to state the actual mechanical reason (task.accelerator is readable inside the process body, a label is not) and decouple it from the separate question of whether GPU use is opt-in by default. Simplify the institutional profile GPU example to a single process scope instead of a withLabel block, drop the profile-order note and duplicated accelerator-map explanation, and clean up stray blank lines. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Member
Author
|
@nf-core-bot fix linting |
The distinction is already covered by the "SLURM: --gres vs --gpus" note earlier in the GPU resource requests section. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
CormacKinsella
approved these changes
Aug 17, 2026
Co-authored-by: Cormac Kinsella <27350062+CormacKinsella@users.noreply.github.com>
This was referenced Aug 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
acceleratoris a map (request/typekeys), not a plain integer, and document how a GPU request flows: module -> pipeline config -> institutional profile -> user override.--gresvs--gpuson SLURM, and update the examplegpuprofile to readtask.acceleratorvia a closure instead of hardcoding--gres=gpu:1.running/configuration/gpu-pipelines.mdguide aimed at pipeline users.ext.use_gpukey from theext-argsreference.@netlify /docs/running/configuration/gpu-pipelines