diff options
| author | Pjotr Prins <pjotr.public01@thebird.nl> | 2026-11-16 10:58:34 +0000 |
|---|---|---|
| committer | Pjotr Prins <pjotr.public01@thebird.nl> | 2026-11-16 10:58:34 +0000 |
| commit | 71878e9ff616b8a74ff21eb3a54203069b7a8e23 (patch) | |
| tree | 8136cce46e78d8024ce058be30387f58cb05e1e8 | |
| parent | 025d44ab225a3556aa77b3c0475d017deb03d7e6 (diff) | |
| download | genenetwork4-71878e9ff616b8a74ff21eb3a54203069b7a8e23.tar.gz | |
cwl: name the caching model, so nobody hunts a gemma-wrapper cache that is not there
ravanan's store keys a step on (script, inputs) and there is no wrapper cache in this path. Recorded next to the 'No gemma-wrapper' rationale because the detour was expensive: a /gnu/store script that did mention --cache-dir /tmp/gn4-gemma-ravanan looked current only because /gnu/store's epoch mtimes defeat ls -t.
| -rw-r--r-- | cwl/gemma/gemma-loco.scm | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/cwl/gemma/gemma-loco.scm b/cwl/gemma/gemma-loco.scm index 12f5eec..86041c7 100644 --- a/cwl/gemma/gemma-loco.scm +++ b/cwl/gemma/gemma-loco.scm @@ -18,6 +18,15 @@ ;; step as a CWL File output, and `-o` names each artifact ;; deterministically instead of hashing it. ;; +;; CACHING here is ravanan's own store (`--store`), which keys a step on +;; (script, inputs): a repeat request is answered from the store -- 9.4 s +;; cold against ~4 s warm on the BXD fixture. There is no gemma-wrapper +;; cache in this path at all, so a job script under /gnu/store that +;; mentions `gemma-wrapper` or `--cache-dir /tmp/gn4-gemma-ravanan` is a +;; leftover from the pre-0.98.6 era, not something to debug. (Identify a +;; script through ravanan's store or the job itself: /gnu/store entries +;; carry epoch mtimes, so `ls -t` there says nothing about age.) +;; ;; Written in ccwl (https://ccwl.systemreboot.net/), per Arun's ;; request, not raw CWL. ravanan itself only runs compiled CWL, so ;; src/gemma.rs's compute_ravanan compiles this file fresh on every |
