The problem of how GPU resources are dynamically allocated locally #4303
Replies: 1 comment
-
Hi @lincong8722 , unfortunately the
You could also use the |
Beta Was this translation helpful? Give feedback.
-
Hi @lincong8722 , unfortunately the
You could also use the |
Beta Was this translation helpful? Give feedback.
-
Dear Nextflow author,
I have written an NF script that includes multiple processes (A, B, C) that need to run on a GPU. Currently, I am running the script in a local environment, but I am facing an issue. Since I only have one GPU available, running processes A, B, and C simultaneously results in insufficient GPU memory, causing the processes to fail.
I have already tried setting
maxForks
to 1 for each process, but this doesn't solve the problem because in the workflow design, there are situations where A, B, and C need to run concurrently, leading to GPU memory shortage.I would like to know how to address this issue. Is there a way to allocate the GPU resources dynamically, so that only one process runs at a time, utilizing the available GPU memory efficiently?
Thank you for your assistance.
Best regards
Beta Was this translation helpful? Give feedback.
All reactions