From 0714e96ada17d3eb92c473c8483cdbe3c0a9c542 Mon Sep 17 00:00:00 2001 From: Nicolas Boisseau Date: Fri, 16 Jan 2026 12:28:47 +0000 Subject: [PATCH 1/3] docs: add details in gpu selection doc --- docs/further.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/further.md b/docs/further.md index 1922a47..c0a428e 100644 --- a/docs/further.md +++ b/docs/further.md @@ -109,6 +109,11 @@ The Google Batch executor uses the same designation for GPUs as core Snakemake. [keep compatibility of machine type](https://cloud.google.com/compute/docs/gpus) with the GPU that you selected in mind. For example, if you select `gpu_nvidia=1` you will need an n1-* family machine type. +On a n1-* family machine type, gpu_nvidia=1 will trigger a "nvidia-tesla-t4" gpu by default. + +It's possible to change the gpu type directly using the a machine compatible label: +e.g. nvidia_gpu='nvidia-tesla-v100' + ### Step Options The following options are allowed for batch steps. This predominantly includes most arguments. From 5e26c9145e6f8c5e78f07d9cea844a07b8a3888f Mon Sep 17 00:00:00 2001 From: Nicolas Boisseau <77843460+nicolasboisseau@users.noreply.github.com> Date: Fri, 16 Jan 2026 13:39:09 +0100 Subject: [PATCH 2/3] Update docs/further.md Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --- docs/further.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/further.md b/docs/further.md index c0a428e..2296a70 100644 --- a/docs/further.md +++ b/docs/further.md @@ -111,7 +111,7 @@ that you selected in mind. For example, if you select `gpu_nvidia=1` you will ne On a n1-* family machine type, gpu_nvidia=1 will trigger a "nvidia-tesla-t4" gpu by default. -It's possible to change the gpu type directly using the a machine compatible label: +It's possible to change the gpu type directly using a machine-compatible label: e.g. nvidia_gpu='nvidia-tesla-v100' ### Step Options From a6116c7358655a2319b93ccd709b340fd1165e2c Mon Sep 17 00:00:00 2001 From: Nicolas Boisseau Date: Fri, 16 Jan 2026 13:39:54 +0000 Subject: [PATCH 3/3] fix variable name to nvidia_gpu --- docs/further.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/further.md b/docs/further.md index 2296a70..eafd46b 100644 --- a/docs/further.md +++ b/docs/further.md @@ -107,9 +107,9 @@ The following environment variables are available within any Google batch run: The Google Batch executor uses the same designation for GPUs as core Snakemake. However, you should [keep compatibility of machine type](https://cloud.google.com/compute/docs/gpus) with the GPU -that you selected in mind. For example, if you select `gpu_nvidia=1` you will need an n1-* family machine type. +that you selected in mind. For example, if you select `nvidia_gpu=1` you will need an n1-* family machine type. -On a n1-* family machine type, gpu_nvidia=1 will trigger a "nvidia-tesla-t4" gpu by default. +On a n1-* family machine type, nvidia_gpu=1 will trigger a "nvidia-tesla-t4" gpu by default. It's possible to change the gpu type directly using a machine-compatible label: e.g. nvidia_gpu='nvidia-tesla-v100'