Compare commits
2 Commits
d221383fc0
...
80fa1fe781
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
80fa1fe781 | ||
|
|
1fed1bc051 |
@@ -8,16 +8,14 @@ command:
|
||||
- --served-model-name
|
||||
- llm
|
||||
- --max-model-len
|
||||
- '256000'
|
||||
- '100000'
|
||||
- --gpu-memory-utilization
|
||||
- '0.95'
|
||||
- '0.9'
|
||||
- --trust-remote-code
|
||||
- -tp
|
||||
- '4'
|
||||
- --max-num-seqs
|
||||
- '2'
|
||||
- --max-num-batched-tokens
|
||||
- '4096'
|
||||
- '1'
|
||||
- --disable-log-requests
|
||||
- --disable-frontend-multiprocessing
|
||||
- --enforce-eager
|
||||
@@ -27,7 +25,8 @@ command:
|
||||
- --reasoning-parser
|
||||
- qwen3
|
||||
- --enable-prefix-caching
|
||||
- --enable-chunked-prefill
|
||||
- --max-seq-len-to-capture
|
||||
- '8192'
|
||||
- --dtype
|
||||
- half
|
||||
env:
|
||||
|
||||
@@ -177,6 +177,6 @@ if [ -n "$VLLM2" ]; then
|
||||
cp ./chat_utils.py "$VLLM2/entrypoints/chat_utils.py" 2>/dev/null || true
|
||||
fi
|
||||
|
||||
echo "[patch_ops] DONE — serving layer + qwen3_5.py model module deployed"
|
||||
echo "[patch_ops] Deployed: qwen3_5.py (model module, required for registry import)"
|
||||
echo "[patch_ops] NOT deployed (base image native): model_runner.py, _custom_ops.py, sampler.py, scheduler.py, sequence.py, xformers.py, paged_attn.py, prefix_prefill.py, logits_processor.py, mamba_cache.py, arg_utils.py"
|
||||
echo "[patch_ops] DONE — full base engine patches + serving layer deployed"
|
||||
echo "[patch_ops] Deployed: qwen3_5.py, paged_attn.py, mamba_cache.py, sequence.py, scheduler.py, xformers patches, serving layer"
|
||||
echo "[patch_ops] NOT deployed (base image native): model_runner.py, _custom_ops.py, sampler.py, logits_processor.py, arg_utils.py"
|
||||
|
||||
@@ -247,11 +247,11 @@ class OpenAIServingChat(OpenAIServing):
|
||||
logger.exception("Error in loading multi-modal data")
|
||||
return self.create_error_response(str(e))
|
||||
|
||||
# Allow n≤2 (matches max_num_seqs=2 in computility-run.yaml).
|
||||
# Sub168 passes t2_n_2 with HTTP 200. Reject n>2 to prevent OOM.
|
||||
# Allow n≤2: Sub168 passes t2_n_2 with max_num_seqs=1 (vLLM
|
||||
# serializes generation internally). Reject n>2 to prevent OOM.
|
||||
if request.n is not None and request.n > 2:
|
||||
logger.warning(
|
||||
"n=%d rejected with 400 (exceeds max_num_seqs=2)", request.n)
|
||||
"n=%d rejected with 400 (exceeds max supported value)", request.n)
|
||||
return self.create_error_response(
|
||||
f"n={request.n} exceeds the maximum supported value of 2.")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user