Upgrade numpy, FAISS, transformers and torch

Đang mở
#67 0 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
35/100
Loại issue
Tái cấu trúc
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
github-actions, numpy, python, pytorch, sqlite

Hướng nghiên cứu

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.

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

Mô tả

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.
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.