Skip to content

Fix foundation model failures in the full run - #37

Merged
rcannood merged 1 commit into
mainfrom
fix/foundation-model-failures
Sep 22, 2026
Merged

rcannood merged 1 commit into
mainfrom
fix/foundation-model-failures

Conversation

@rcannood

Copy link
Copy Markdown
Member

Fixes the method failures seen in the de.NBI full run (Seqera run 5IyXiAPXFpp2Lv). All 40 failed attempts were methods; no metric or control failed.

  • scprint: the base image is a CUDA 13 container that exports TRITON_PTXAS_PATH, while scprint pins triton 2.2 whose ptx version table stops at CUDA 12 -- point triton at the ptxas it bundles itself (same fix as Point scprint's triton at its own ptxas task_batch_integration#112). Also embed in chunks of --chunk_size cells, since scdataloader densifies the whole matrix (127 GiB for tabula_sapiens).
  • scgpt_zeroshot: same chunking, scGPT's binning densifies the whole matrix (>200 GiB for tabula_sapiens).
  • scgpt_finetuned: --epochs and --batch_size only had an example, so the workflow passed None and the epoch loop crashed. Set the upstream defaults (10, 32). One epoch on dkd already takes hours, so midtime -> hightime.
  • geneformer: tokenisation dies at the 50 GB midgpu tier and the 316M model overflows a 16 GB T4, so midgpu -> biggpu.

Verified in the 2.1.0-rc1 images on the failed work dirs: scprint on dkd and tabula_sapiens, scgpt_zeroshot on tabula_sapiens and scgpt_finetuned on dkd (1 epoch, batch 8 on a T4) all complete with exit 0 and produce predictions for every test cell. The geneformer change is untested, the A40 is busy with the live run.

Not addressed: scanvi_scarches on tabula_sapiens OOMs at 115 GB, the largest RAM a T4 node has (plain scanvi peaks at 111 GB), and scgpt_finetuned on immune_cell_atlas and tabula_sapiens OOMs at 240 GB during preprocessing. Both are hardware limits rather than wrapper bugs.

* scprint: point triton at its bundled ptxas, embed in chunks
* scgpt_zeroshot: embed in chunks
* scgpt_finetuned: add defaults for epochs and batch_size, bump to hightime
* geneformer: bump to biggpu
@rcannood
rcannood merged commit 058a7d4 into main Sep 22, 2026
5 checks passed
@rcannood
rcannood deleted the fix/foundation-model-failures branch September 22, 2026 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant