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

Đang mở
#47 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
22/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
docker, docker-compose, huggingface, python, pytorch

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.
Ngôn ngữ chính
Python
Star
0
Fork
2
Merge trung bình
8 giờ 57 phút
Pull request đã merge (30 ngày)
36

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của lanl/litkit

Tất cả issue của lanl/litkit

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.