ProjectTech4DevAI / ProjectTech4DevAI/kaapi-backend

Evaluation: Worker cap for LLM jobs

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

@AkhileshNegi がすでに取り組んでいます。

2026年7月9日 から。

bug
主要言語
Python
スター
18
フォーク
10
平均マージ
2日 20時間
マージ済み PR(30日)
14

説明

Is your feature request related to a problem?
Fast evaluations and high-priority LLM jobs share one Celery default queue and one global worker_concurrency, with no cap on how many fast-eval chunk tasks can run at once. A 500-item run fans out to 10 chunk tasks (chunk size 50), so 2-3 concurrent eval runs (20-30 tasks) can occupy every worker slot.

Task priority (LLM=9, eval=6) does not help here: RabbitMQ priority only decides which queued task runs next when a slot frees — it does not preempt a running task. So when all slots are busy with eval chunks, an incoming LLM job waits until a chunk finishes (soft time limit 300s), meaning a high-priority LLM call can wait ~4 minutes. Not acceptable for interactive latency.

Describe the solution you'd like
Cap the worker capacity fast evals can consume, so high-priority LLM jobs always have headroom

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

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

評価

この issue はまだ評価されていません。

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

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