Skip to content

armgit / sie

Public Imported from GitHub
0

Open-source inference server and production cluster for all the models your agent needs.

docs(models): scope the Hy-MT2 KV-budget note to the engine

Shai Shmuel3a1beff52cc6
diff --git a/packages/sie_server/models/tencent__Hy-MT2-1.8B.yaml b/packages/sie_server/models/tencent__Hy-MT2-1.8B.yaml
index f600015ad..0cdfc8f60 100644
--- a/packages/sie_server/models/tencent__Hy-MT2-1.8B.yaml
+++ b/packages/sie_server/models/tencent__Hy-MT2-1.8B.yaml
@@ -23,14 +23,18 @@ profiles:
default:
max_batch_tokens: 8192
# The KV budget is the SGLang pool size (--max-total-tokens), and the pool
- # bounds requests in flight: SGLang admits a request only while the pool
- # can hold its prompt plus max_tokens, and keeps 0.7 (decaying to 0.098)
- # of each running request's unused max_tokens reserved. A translation
- # request (about 80 prompt and 110 output tokens, max_tokens at the 1024
- # cap) holds about 300 tokens under steady load, so 8192 kept about 25 in
- # flight and 65536 keeps about 200. One L4 still gains throughput from 64
- # to 128 in flight. Reservation in bf16: 4.0 GiB weights + 4.0 GiB KV
- # (64 KiB per token) + 3 GiB headroom, about 11 GiB of the L4's 22.5 GiB.
+ # bounds how many requests SGLang runs at once: it admits a request only
+ # while the pool can hold its prompt plus max_tokens, and keeps 0.7
+ # (decaying to 0.098) of each running request's unused max_tokens
+ # reserved. A translation request (about 80 prompt and 110 output tokens,
+ # max_tokens at the 1024 cap) holds about 300 tokens under steady load, so
+ # SGLang ran about 25 at 8192 and runs about 200 at 65536. One L4 still
+ # gains throughput from 64 to 128 in flight. This budget sets only the
+ # engine's limit: in queue mode the worker sidecar also caps each pull
+ # loop at SIE_PULL_LOOP_MAX_OUTSTANDING messages (default: the fetch
+ # budget, 64), so a queue worker needs that at 128 or more to reach 128.
+ # Reservation in bf16: 4.0 GiB weights + 4.0 GiB KV (64 KiB per token)
+ # + 3 GiB headroom, about 11 GiB of the L4's 22.5 GiB.
kv_budget_tokens: 65536
compute_precision: bfloat16
adapter_path: sie_server.adapters.sglang.generation:SGLangGenerationAdapter