GLiClass: large separate-label-group requests can wait minutes in the queue under mixed load
Maintainers usually reply within 1 day
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 18/100
Research direction
Start with how separate-group extract requests are split into rows and scheduled in the server's batcher and queue, which the issue does not name by file. Reproduce with mixed extract traffic at concurrency 16, including some 7–8 label-group requests over 20+ long items, and measure queue wait versus GPU time. Done means identifying where the wait occurs and whether a per-request timeout or cancellation reaches the caller.
Written by the indexing model from the issue text.
Description
Seen while benchmarking GLiClass (knowledgator/gliclass-large-v1.0) on one L4 with 16 requests in flight and mixed extract traffic: in each 4-minute window, 3 to 6 requests timed out at the client's 300 s limit.
All of them used separately encoded label groups (7 or 8 groups) over many long items. Their GPU work should take a few seconds, so the time seems to be spent waiting in the server's queue or batcher, not in inference. It happened the same way with CUDA graphs on (#389) and with the previous runner, so it is not graph-related.
To investigate:
- How separate-group requests are split into rows and scheduled. Can a large multi-group request starve, or be starved behind, smaller requests? Is there a fairness or ordering issue in the batcher?
- Whether any per-request timeout or cancellation surfaces the wait to the caller.
- Reproduce: mixed extract traffic at concurrency 16, with some requests of 7 or 8 separate label groups over 20+ long items.
- Dominant language
- Python
- Stars
- 3.5k
- Forks
- 328
- Avg merge
- 17h 8m
- Merged PRs (30d)
- 108
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from superlinked/sie
-
Difficulty 1/5 Under an hour Newbie friendliness 86/100
superlinked/sie#1033 ·
Maintainers usually reply within 1 day
-
LoRA source resolver rejects shared cache blobs accepted by serving-artifact validationPossibly taken @draarivpatel-ui claimed this 2 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
superlinked/sie#1001 ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 15/100
superlinked/sie#1013 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 42/100
superlinked/sie#969 ·
Maintainers usually reply within 1 day
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
superlinked/sie#892 ·
Maintainers usually reply within 1 day
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
reflex-dev/reflex#8026 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
apache/ponymail-foal#365 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
NousResearch/hermes-labs-plugins#116 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
gcivil-nyu-org/team-3-fall26#192 ·
Maintainers usually reply within 1 day
-
[Study plan] Study sessions can be rescheduled to any length (e.g. 72 hours) with no length checkOpen
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
gcivil-nyu-org/team-2-fall26#159 ·
Maintainers usually reply within 1 day