Repository navigation
Blackwell RTX 5090 sm_120 Qwen-VL baseline bench + forge-gap analysis - #1078
Merged
Merged
Conversation
Adds scripts/bench-blackwell-vl.sh: Docker-based reproducer that builds llama.cpp upstream HEAD with CUDA arch sm_120, downloads Qwen2-VL-7B Q4_K_M + mmproj, runs llama-bench (text-only) and llama-mtmd-cli (vision smoke). Uses named volume qwen-vl-bench-work for idempotent re-runs. CUDA_ARCH/MODEL_REPO/MODEL_FILE/MMPROJ_FILE/TEST_IMAGE_URL all env-overridable so the harness works on other GPU tiers. Adds docs/benchmarks/blackwell-rtx5090-qwen-vl.md: measured numbers from the first run on RTX 5090 (pp512=12345 t/s, tg128=215 t/s text-only; tg=201 t/s vision-conditioned, ~2.6s total for 4015 image tokens + 28 output tokens, 1290 MiB mmproj footprint). Documents the actual #1072 forge gap (no single model in models.toml has all 4 standard_persona caps: Chat/Vision/AudioInput/AudioOutput) and proposes 3 paths forward (wait for Qwen-Omni GGUF, tier-aware audio re-enable, or multi-model virtual StandardPersona dispatch via RequirementProfile extension). Per #1072 sensory persona alpha contract + #1074 standard_persona requirement profile. Establishes the per-tier perf baseline; does not modify models.toml or the resolver.
joelteply
added a commit
that referenced
this pull request
May 13, 2026
Codex methodology flag 2026-05-11: image prompts must use randomized opaque fixture names with manifest assertions and negative controls; repeated cat.jpg-style prompts let text-only models bluff vision. Adds test-data/images/manifest.json: pairs the 7 already-committed opaque fixtures with SHA-256, content_kind, leakage_risk classification, expected_facts (descriptive ground truth), ocr_text (literal text overlay if any), grade_questions, and grade_expected_substrings (passing criteria). Manifest authored by direct visual inspection of each fixture, no filename or source-URL consultation. Adds scripts/bench-blackwell-vl-v2.sh: bench harness reading the manifest, running llama-mtmd-cli against each fixture with the model under test, capturing stdout (model response), scoring against grade_expected_substrings, reporting per-fixture PASS/FAIL plus summary. Stages fixtures via tar pipe (Docker Desktop WSL2 bind-mount limitation workaround); reuses omni-bench-work named volume from scripts/bench-blackwell-vl.sh. Adds docs/benchmarks/sensory-v2-manifest-results.md: measured numbers on RTX 5090 sm_120 for Qwen2.5-Omni-7B (5/7 PASS) and Qwen3-Omni-30B-A3B-Instruct (6/7 PASS). 30B-A3B produces consistently richer responses than 7B on identical prompts. Both models OCR exact text overlays from meme fixtures (impossible without real pixel processing — proves vision is active, not template-bluff). Both fail on the WebP fixture with empty stdout — new upstream gap surfaced for llama-mtmd-cli WebP decode. Per Joel's #1072 sensory persona alpha contract + Codex's #1088 plasticity workstream doc + Position 3 Windows/RTX VDD lane. Builds on PR #1078 (V1 baseline). Does not modify models.toml or the resolver. Co-authored-by: Test <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Position 3 — Windows/5090 GPU local inference VDD
First-pass per-tier perf + correctness validation of the local multimodal path required by the
#1072sensory persona alpha contract, measured on Blackwell (RTX 5090, sm_120, CUDA 12.8, FP4 tensor cores). Establishes the per-tier baseline; does not modifymodels.tomlor the resolver.Adds
scripts/bench-blackwell-vl.sh— Docker-based reproducer that builds llama.cpp upstream HEAD withCMAKE_CUDA_ARCHITECTURES=120-real, downloads Qwen2-VL-7B Q4_K_M + mmproj frombartowski/Qwen2-VL-7B-Instruct-GGUF, runsllama-bench(text-only) andllama-mtmd-cli(vision smoke). Idempotent via named volumeqwen-vl-bench-work.CUDA_ARCH=nativemakes the same script work on Ada / Hopper / Turing.docs/benchmarks/blackwell-rtx5090-qwen-vl.md— measured numbers, methodology, forge-gap analysis, and 3 paths forward.Measured (RTX 5090, sm_120, llama.cpp e936660, 2026-05-11)
Vision smoke output for a 1288×1288 cat photo: "A tabby cat with green eyes and a striped coat is sitting on a ledge with a blurred background of bare branches and a blue sky." — valid, coherent multimodal response.
Context: 7B Q4_K_M on RTX 4090 (Ada sm_89) typically lands at ~120–150 t/s tg128 and ~6–8k t/s pp512. Blackwell sm_120 here is ~30–40 % faster, consistent with higher SM count + FP4 tensor cores.
The actual forge gap
#1072declared Qwen 3.5/3.6 VL as the first-class local target. The bartowski Qwen 2.5-VL GGUF mirror returns an auth error against anonymous fetch; Qwen 3.x VL has minimal vendored llama.cpp support (only 3 files mentionqwen3_vl). But the headline gap is bigger: no single model inmodels.tomlhas all fourstandard_personacaps{Chat, Vision, AudioInput, AudioOutput}:qwen2-vl-7b-instructqwen2-audio-7b-instruct(disabled)The audio entry is commented out due to a Mac/Metal OOM that occurs when both adapters eager-load at boot. RTX 5090 32 GB handles both simultaneously without paging — so this is a tier-aware substrate problem, not a model-availability problem.
This is why
cognition::model_resolver::tests::current_registry_state_fails_alpha_bar_naming_the_forge_gapships as a passing test that asserts the failure — the resolver'sNoMultimodalBasefires on every host.Three paths forward
HostCapability.available_memory_mbfrom#1075RequirementProfilefrom#1074soresolve_modelreturns a per-capability dispatch tablePath 3 maps cleanest to the Rust-first runtime substrate codified in
#1070and theadaptive_throughputplanner +FootprintRegistryleases from#1062–#1065.Out of scope
models.tomlchanges — the existing Qwen2-VL row is correct; the audio row's re-enable is a tier-aware substrate decision (Path 2/3).e21cdc11a(28 days older than upstream); a refresh is its own PR.Validation
scripts/bench-blackwell-vl.shran end-to-end on RTX 5090 with--gpus all, produced the numbers above.🤖 Generated with Claude Code