ADR 0005/0006: Add unified Charliecloud suite container flavor, offline SafeTensors model pack, and pdf_ingest_array.sbatch

Aperta
#47 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
22/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
docker, docker-compose, huggingface, python, pytorch

Direzione di ricerca

Start by reading ADR 0005 and ADR 0006, then inspect Dockerfile.lean, LITKIT_CLUSTER_GUIDE.md, and the existing SLURM scripts, especially vector_build_multi.sbatch. Map the requested container, model pack, PDF array workflow, and cleanup requirements to the repository's current build and ingestion entry points. Done means all listed acceptance criteria are implemented and the guide describes the air-gapped transfer and workflow.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Reference

Goal

Provide a reproducible, air-gap-ready Charliecloud SquashFS container for the full chatty-suite (litkit + text-fetch[docling,ocr] + chatty + Debian tesseract-ocr), a separately transferable .safetensors model pack, and a SLURM GPU array recipe for large-scale PDF→JATS ingestion.

Scope & Acceptance Criteria

  • Add a unified suite container build target (extending Dockerfile.lean with NVIDIA CDI host CUDA bindings, plus optional -fat variant) installing:
    • litkit, text-fetch[docling,ocr], chatty, and Debian tesseract-ocr + tesseract-ocr-eng,
    • strictly preserving the CUDA torch==2.5.1+cu125, numpy<2, faiss-cpu>=1.8.0,<1.9, and transformers==4.57.1 lock (zero rapidocr/PaddleOCR).
    • Keep the minimal litkit-only Dockerfile.lean build intact for PMC OA-only deployments.
  • Add a reproducible Offline .safetensors Model Pack build script (SPECTER2, all-mpnet-base-v2, Granite-Docling pinned by HF commit SHA + SHA256SUMS, zero .bin pickle files) that can be transferred across an air gap independently of code container updates (while keeping optional baked-in model support).
  • Add pdf_ingest_array.sbatch demonstrating multi-node SLURM GPU array PDF→JATS conversion (writing uncompressed .tar shards to LOCAL_SSD and moving to shared storage) feeding directly into vector_build_multi.sbatch.
  • Enforce umask 077 and guaranteed LOCAL_SSD cleanup trap handlers in SLURM scripts for sensitive-topic workloads on shared compute nodes.
  • Update LITKIT_CLUSTER_GUIDE.md with the air-gapped transfer, suite container, and PDF-array workflow.
Lingua principale
Python
Stelle
0
Fork
2
Merge medio
8h 57m
PR unite (30g)
36

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di lanl/litkit

Tutte le issue di lanl/litkit

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.