Measured-only placement planner for worker pools (sie_placement)

Đang mở
#903 4 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
25/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ệ
helm, kubernetes, python
Lĩnh vực
backend, infrastructure

Hướng nghiên cứu

Start by reading the workspace package layout and the existing worker pool, Helm chart, and KEDA trigger definitions; the issue names no specific files or tests. The proposed work spans versioned measurement schemas, a placement planner, a tuner, GPU availability, Helm output, an API applier, and chart integration. Done means delivering these in the eight staged pull requests while keeping the gateway pool specification and chart KEDA triggers unchanged.

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

Mô tả

Problem

Operators size worker pools by hand today. A Helm worker pool per machine profile, minReplicas, the pool warm floor (minimum_worker_count) and pinned_models decide which models run on which GPUs and which stay warm. Each choice trades three things: how long a request waits after a model has been idle, what the warm capacity costs, and how fast the model answers once warm. Nothing in the repository states the target for those three or derives a pool layout from measurements.

Proposal

Add a measured-only placement planner as a new workspace package, sie_placement, standard library only, not published to PyPI at first.

  • Input documents, versioned JSON. Per served identity (a model id or model:profile) they hold a come-alive p95, a warm p99 (time to first token and inter-token latency for generation) and a queue-wait p99, with optional named tiers. Receipts are throughput and latency measurements per identity on a machine profile and the GPU product the measurement actually ran on. The other documents are boot evidence, a price list per machine profile, and hourly demand.
  • Planner core, a pure function. It keeps only measured cells that meet the warm bound, picks the cheapest warmth that meets the come-alive bound, and emits a plan with a per-lane envelope (floor, buffer and scale-down window ranges). Its report gives the cost of each service level, the next cheaper option and the bound that blocks it, and ranked measurements worth taking. Cells without measurements are never chosen.
  • Tuner step, a pure function that keeps a lane's floor inside its envelope from live queue signals.
  • Optional pieces: a plan-to-Helm-values emitter, a sie-placement tune applier that moves a lane's warm floor inside its envelope through an API logical pool, and an opt-in chart workload for it.

The gateway's pool specification and the chart's KEDA triggers do not change.

Delivery

Eight stacked pull requests: schemas, planner core, tuner step, GPU availability, several models on one GPU, Helm values, the applier, and chart integration.

Ngôn ngữ chính
Python
Star
3.5k
Fork
328
Merge trung bình
16 giờ 25 phút
Pull request đã merge (30 ngày)
121

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

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

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 superlinked/sie

Tất cả issue của superlinked/sie

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.