Skip to content

feat(k8s): fix devops-review weights and context window in llm gateway (#545) - #644

Merged
dan-petty merged 1 commit into
release/v0.2.23from
feat/545-gateway-devops-review-weights-and-context-window
Sep 27, 2026
Merged

dan-petty merged 1 commit into
release/v0.2.23from
feat/545-gateway-devops-review-weights-and-context-window

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

Closes #545

Summary of Changes

  • Gateway Model Weights: Elevated dual-GPU continuous-batching vLLM devops-review weight to 5 and Ollama-2 weight to 1 in k8s/llm/gateway/configmap.yaml, matching their throughput proportion (5:1) and eliminating queue bottlenecking on Ollama nodes.
  • Context Window Elevation:
    • Elevated vLLM deployment parameters in k8s/llm/vllm/deployment.yaml (--max-model-len 65536, --gpu-memory-utilization 0.95, --max-num-seqs 64) to support full 64K context on qwen3-coder:30b.
    • Elevated max_input_tokens to 61440 for both devops-reasoning and devops-review (vLLM) in k8s/llm/gateway/configmap.yaml, leaving 4K tokens for reply budget inside the 64K window.
    • Aligned Ollama-2 devops-review max_input_tokens to 43904 (OLLAMA_CONTEXT_LENGTH: 48000 minus 4K tokens for reply), avoiding artificial context restriction.
  • Documentation: Updated k8s/README.md to document qwen3-coder:30b model and throughput weights (5:1).
  • Validation:
    • Strengthened tests/test_k8s_llm_gateway.py with structural tuple equality assertions verifying throughput weight ordering (vLLM 5 > Ollama 1) and exact input token budgets within backend context lengths.
    • 100% pass across all Gated CI quality checks.

@dan-petty
dan-petty merged commit 4499fbb into release/v0.2.23 Sep 27, 2026
8 checks passed
@dan-petty
dan-petty deleted the feat/545-gateway-devops-review-weights-and-context-window branch September 27, 2026 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant