Skip to content

feat(k8s): raise the context of the condor and hawk Ollama tiers - #2824

Merged
dan-petty merged 2 commits into
mainfrom
feat/2822-raise-condor-hawk-context
Oct 31, 2026
Merged

dan-petty merged 2 commits into
mainfrom
feat/2822-raise-condor-hawk-context

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

Raise OLLAMA_CONTEXT_LENGTH of tier ollama-48gib (condor, 2 RTX 3090) from 128000 to 262144, and of tier ollama-16gib (hawk, RTX 5070 Ti) from 48000 to 131072. These are the native limits of the models on the tiers. The gateway max_input_tokens of the routes to ollama-48gib follow, rendered with devops ai gateway render --apply.

Measured in the running pods: qwen3-coder:30b at 262144 takes 37 GB of the 48 GiB, 100% on the GPUs, and read a 142000-token prompt in 84 s. gpt-oss:20b at 131072 takes 13 GB of the 16 GiB. The tiers ollama-64gib (70B models) and ollama-48gib-slow (Pascal GPUs) stay as they are. The header of ollama-profiles.yaml records the numbers and the reason.

Closes #2822

@dan-petty dan-petty added type/feature Type feature: a new function scope/k8s Kubernetes commands, Helm charts, pods, services, and policies labels Oct 31, 2026
@dan-petty

Copy link
Copy Markdown
Owner Author

Test results:

  • Live measurement on 2026-10-31 (temporary models, removed after the test):
    • condor, qwen3-coder:30b: 128000 gives 30 GB (GPUs 15.3 and 14.5 GiB). 262144 gives 37 GB, 100% GPU (18.9 and 17.9 GiB of 24 GiB).
    • A 142214-token prompt was read in 84 s (1690 tokens/s). The model followed the instruction at the end of the prompt. GPU memory did not grow.
    • hawk, gpt-oss:20b at 131072 with q4_0 KV cache: 13 GB, 13.7 of 16.3 GiB used on the GPU.
  • uv run devops ci: all 16 checks pass. The test check took 8 m 46 s on this host while other agents ran, so that time is not the CI time.
  • devops ai gateway render shows no difference after --apply. The profile test expects the new tier lengths (it failed before the manifest change).
  • No fail-to-pass run: a manifest value changes, and the repository test fails first on the old values only through the updated expectation.

After the Argo CD sync the two Ollama pods restart. A model loads at its new length on its first request. Limits to know: above 262144 the models need RoPE scaling; a prompt of more than about 190000 tokens takes over 125 s to read, so it can hit the 125 s cut of the Cloudflare tunnel (in-cluster calls are not affected).

@dan-petty
dan-petty marked this pull request as ready for review October 31, 2026 03:09
@dan-petty
dan-petty merged commit 325fbdb into main Oct 31, 2026
18 checks passed
@dan-petty
dan-petty deleted the feat/2822-raise-condor-hawk-context branch October 31, 2026 03:09
dan-petty pushed a commit that referenced this pull request Oct 31, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.24.0](v0.23.0...v0.24.0)
(2026-10-31)


### Features

* **cli:** declare dry-run class and enforce with ratchet test
([#2817](#2817))
([840d3eb](840d3eb)),
closes [#2230](#2230)
* **gh:** list dry-run requests in project, views and pages
([#2820](#2820))
([6a9a24e](6a9a24e)),
closes [#2236](#2236)
* **k8s:** raise the context of the condor and hawk Ollama tiers
([#2824](#2824))
([325fbdb](325fbdb)),
closes [#2822](#2822)


### Bug Fixes

* **ci:** the scope git of a pull request title has no label
([#2821](#2821))
([2c5ae30](2c5ae30)),
closes [#2800](#2800)
* **github:** treat the traffic API 403 as expected
([#2823](#2823))
([e66a124](e66a124)),
closes [#2626](#2626)

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/k8s Kubernetes commands, Helm charts, pods, services, and policies type/feature Type feature: a new function

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(k8s): raise the context length of the condor and hawk Ollama tiers to what their GPUs hold

1 participant