--- license: other license_name: mixed-upstream-oss license_link: https://github.com/ai4nucleome/GLMap pretty_name: GLMap scoring containers tags: - genomics - dna - genomic-language-model - apptainer - singularity - container - bioinformatics - reproducibility viewer: false --- # 𧬠πΊοΈ GLMap scoring containers Prebuilt **Apptainer / Singularity** images that carry the GPU runtime environments for **scoring all 123 genomic language models (gLMs)** profiled in [**GLMap**](https://github.com/ai4nucleome/GLMap) β *Profiling genomic language models as individuals in a population*. The 123 models span runtime stacks that are **mutually incompatible** (Python 3.8β3.12, PyTorch 1.13β2.9, CUDA 11.7β12.4) and can never share one interpreter. These four images package every environment so you can recompute the likelihood responses **without setting up a single conda env**. > Only need the **analysis** (precomputed scores, figures/tables)? You don't > need these images at all β `pip install -e .` on the > [GLMap repo](https://github.com/ai4nucleome/GLMap) gives a torch-free stack. ## What's here Each image is **self-contained** (the shared CUDA 12.8 base is already inside; download only the group(s) for the models you want to score): | Image | Size | Envs | Model families | |---|---|---|---| | `bio-default.sif` | 17 GB | base / dnabert2 / megadna | NT, GENA-LM, ModernBERT, GROVER, Mistral-DNA, NTv3, β¦ (most); DNABERT-2 / DNABERT-S; megaDNA | | `bio-cu118.sif` | 20 GB | caduceus / gf / hyena-dna | Caduceus; GenomeOcean; HyenaDNA | | `bio-cu121.sif` | 15 GB | PlantCAD | PlantCAD2 | | `bio-evo.sif` | 24 GB | evo / evo2 | Evo-1 / Evo-1.5; Evo-2 (7B) | Each image holds its envs as isolated micromamba environments and dispatches to the right one per model via the `GLMAP_ENV` variable. ## Download ```bash # one image hf download Tim419/GLMap-containers bio-default.sif --repo-type dataset --local-dir . # or all four hf download Tim419/GLMap-containers --repo-type dataset --local-dir . ``` ## Run Bind your [GLMap checkout](https://github.com/ai4nucleome/GLMap) at `/work` (code, panel, audit, model weights) and pick the env with `GLMAP_ENV`: ```bash GLMAP_ENV=caduceus apptainer run --nv \ --bind "$PWD":/work --pwd /work bio-cu118.sif \ scripts/score/scoring_worker.py --from-audit \ --hf-ids kuleshov-group/caduceus-ph_seqlen-131k_d_model-256_n_layer-16 ``` Or run the **full 123-model sweep** straight through the images: ```bash python scripts/score/run_scoring_sweep.py \ --backend container --image-dir