Upgrade numpy, FAISS, transformers and torch

Aperta
#67 0 commenti 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
35/100
Tipo di issue
Refactoring
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
github-actions, numpy, python, pytorch, sqlite

Direzione di ricerca

Start with the dependency pins in pyproject.toml and the HPC container configuration referenced in ADR 0005 in lanl/chatty. Check how CI covers Linux, macOS and Windows, then identify how to load an existing FAISS index and SQLite database and run the fixed queries. Done means all three CI platforms pass, the cluster container builds, and the old index returns identical results under the updated stack.

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

Descrizione

Problem

LitKit pins an ageing stack in pyproject.toml: numpy<2, faiss-cpu>=1.8,<1.9, transformers>=4.44,<5 and sentence-transformers>=3.1,<4. The HPC container pins torch==2.5.1+cu125 (ADR 0005 in lanl/chatty). These pins get harder to keep installable each year, and newer embedding and reranking models may need newer transformers and sentence-transformers.

Proposal

  • Move to numpy 2, a current FAISS release, and current transformers, sentence-transformers and torch, on laptops and in the HPC container.
  • Confirm that existing FAISS indexes and SQLite databases still load and return the same results for a fixed set of queries.
  • Do this before the retrieval-quality work, so new models are evaluated and the next rebuild runs on the updated stack.

Done when

  • CI passes on Linux, macOS and Windows with the new versions.
  • The container builds with the new versions on the cluster.
  • An index built with the old stack loads under the new one and returns identical results on fixed queries.
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.