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

オープン
#47 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
22/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
docker, docker-compose, huggingface, python, pytorch

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.
主要言語
Python
スター
0
フォーク
2
平均マージ
8時間 57分
マージ済み PR(30日)
36

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

lanl/litkit のほかの issue

lanl/litkit の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。