From 18c420d56a3863d49df3a59b2e6d0bcb338af10c Mon Sep 17 00:00:00 2001 From: Tom Kasper Date: Thu, 5 Nov 2026 23:16:07 +0100 Subject: [PATCH] Bump custom_models to cda6cfd; pin torch env refs to it Submodule adds the store out_dir mkdir fix and TrainConfig.grad_accum (effective batch 256 via micro-batching on small GPUs). The env yamls must point at the same commit or fresh conda builds get code that fails on new store dirs and cannot honour --grad-accum. --- custom_models | 2 +- workflow/envs/torch_cpu.yaml | 2 +- workflow/envs/torch_cuda.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/custom_models b/custom_models index 87c6427..cda6cfd 160000 --- a/custom_models +++ b/custom_models @@ -1 +1 @@ -Subproject commit 87c64278baf35e3364a2bbe5e13e27517e8aa4a7 +Subproject commit cda6cfd34e6dbe01a7b6fd450f196beeea5655ce diff --git a/workflow/envs/torch_cpu.yaml b/workflow/envs/torch_cpu.yaml index bda8777..70e0e80 100644 --- a/workflow/envs/torch_cpu.yaml +++ b/workflow/envs/torch_cpu.yaml @@ -15,4 +15,4 @@ dependencies: # copies env yamls into .snakemake/conda/, where relative paths # break. Bump the ref together with the `custom_models` submodule # pointer (git submodule update --remote custom_models). - - git+ssh://git@git.tk-ai.eu/Tom/eDNA_Stream_E01_custom_models.git@87c6427 + - git+ssh://git@git.tk-ai.eu/Tom/eDNA_Stream_E01_custom_models.git@cda6cfd diff --git a/workflow/envs/torch_cuda.yaml b/workflow/envs/torch_cuda.yaml index 966200f..0dfbfb1 100644 --- a/workflow/envs/torch_cuda.yaml +++ b/workflow/envs/torch_cuda.yaml @@ -14,4 +14,4 @@ dependencies: # copies env yamls into .snakemake/conda/, where relative paths # break. Bump the ref together with the `custom_models` submodule # pointer (git submodule update --remote custom_models). - - git+ssh://git@git.tk-ai.eu/Tom/eDNA_Stream_E01_custom_models.git@87c6427 + - git+ssh://git@git.tk-ai.eu/Tom/eDNA_Stream_E01_custom_models.git@cda6cfd