Skip to content

feat(inference): house 7B tier — every 16 GiB node serves qwen2.5:7b (v0.3.67) - #365

Merged
ralyodio merged 2 commits into
masterfrom
feat/house-qwen25-7b-tier
Nov 14, 2026
Merged

ralyodio merged 2 commits into
masterfrom
feat/house-qwen25-7b-tier

Conversation

@ralyodio

Copy link
Copy Markdown
Collaborator

Why: 92% of fleet chat (~1,000 of ~1,100 jobs/day) asks for qwen2.5:7b, and only bonita + vienna served it, so all of it queued on two machines (concurrency 1 each) while the other c0mpute nodes ran the 1.5B or nothing. The Infernet house manifest already carries qwen2.5:7b (8 GB floor); the c0mpute house llama.cpp had no 7B tier.

What:

  • New house tier: Qwen2.5 7B Instruct Q4_K_M from the official Qwen/Qwen2.5-7B-Instruct-GGUF (revision bb5d59e0), two shards each pinned by SHA-256, served as qwen2.5:7b, on boxes with 2× min_ram_gb (16 GiB default). Start gate 8 GiB free RAM, install gate 10 GB free disk. 8 GiB boxes keep the 1.5B, 4 GiB the 0.5B. Same opt-outs (C0MPUTE_INFERENCE_AUTO=0).
  • HouseModel.parts (split GGUF shards, loaded by llama-server from the first), ready stamp + installed() cover every shard, other tiers' files removed on switch; resumable downloader for the shards; HouseModel.disk_gb.
  • v0.3.67 so it auto-updates to every node.

Verified: cargo test -p c0mpute-core --lib inference 8/8 on vienna. End to end on vienna with the exact pins: both shard hashes match, llama-server b12061 loads the split file, /v1/models = qwen2.5:7b, coherent answer (0.5 tok/s on vienna at load ~20; the worker only bids under its load limit).

Note: the hosting e2e tests fail on master independently (they fail at v0.3.65 too).

🤖 Generated with Claude Code

ralyodio and others added 2 commits November 14, 2026 09:24
92% of the fleet's chat asks for qwen2.5:7b (@profullstack/ai-providers),
and only two machines served it, so the whole fleet queued on them while 14
c0mpute nodes sat idle with the 1.5B. The house llama.cpp now runs Qwen2.5 7B
Instruct Q4_K_M (official Qwen GGUF, two shards, both pinned to a revision and
SHA-256) on boxes with twice min_ram_gb (16 GiB default), needing 8 GiB free
to start and 10 GB free disk to install; 8 GiB boxes keep the 1.5B, 4 GiB the
0.5B.

- HouseModel.parts: further shards of a split GGUF, downloaded beside the
  first (llama-server loads them from the first); ready stamp and installed()
  cover every shard; other tiers' files (and shards) are removed on switch
- model shards use the resumable, retrying downloader (gigabytes)
- HouseModel.disk_gb: per-model disk need on top of the config floor

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

ThreatCrush Security Scan

14 finding(s)

HIGH/CRITICAL: 2 | MEDIUM: 8 | LOW: 4

Severity Rule Location
HIGH js-ssrf-outbound-request apps/web/public/sw.js:24
HIGH sh-remote-script-execution scripts/install.sh:606
MEDIUM js-unescaped-html-sink apps/web/src/app/blog/[slug]/page.tsx:53
MEDIUM js-unescaped-html-sink apps/web/src/app/layout.tsx:109
MEDIUM sql-template-interpolation apps/web/src/lib/chat/convo-store.ts:116
MEDIUM sql-template-interpolation apps/web/src/lib/chat/convo-store.ts:117
MEDIUM sql-template-interpolation apps/web/src/lib/chat/push.ts:476
MEDIUM js-dynamic-code-execution apps/web/src/lib/router/verify.ts:91
MEDIUM sh-remote-script-execution scripts/dev-setup.sh:25
MEDIUM sh-eval-expansion scripts/dev-setup.sh:35
LOW py-ssrf-outbound-request examples/business-strategist-agent/chat.py:37
LOW py-ssrf-outbound-request examples/business-strategist-agent/train.py:54
LOW secret-generic-credential node/crates/c0mpute-core/src/webhook.rs:1171
LOW py-path-traversal node/crates/c0mpute-core/tests/fixtures/fake-infernet-text:29

Snippets are redacted; ThreatCrush never prints matched credential material.

@ralyodio
ralyodio merged commit 0d9e14d into master Nov 14, 2026
17 checks passed
@ralyodio
ralyodio deleted the feat/house-qwen25-7b-tier branch November 14, 2026 09:47
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