Repository navigation
test-llama-archs : make tensor data stdev configurable and improve help - #29133
Merged
Merged
Conversation
Assisted-by: pi:llama.cpp/DeepSeek-V4-Flash-Vision-Exp
Assisted-by: pi:llama.cpp/DeepSeek-V4-Flash-Vision-Exp
Assisted-by: pi:llama.cpp/DeepSeek-V4-Flash-Vision-Exp
Assisted-by: pi:llama.cpp/DeepSeek-V4-Flash-Vision-Exp
Assisted-by: pi:llama.cpp/DeepSeek-V4-Flash-Vision-Exp
Assisted-by: pi:llama.cpp/DeepSeek-V4-Flash-Vision-Exp
Assisted-by: pi:llama.cpp/DeepSeek-V4-Flash-Vision-Exp
Assisted-by: pi:llama.cpp/DeepSeek-V4-Flash-Vision-Exp
ggerganov
force-pushed
the
gg/test-archs-add-stdev
branch
from
September 20, 2026 19:57
3e04983 to
57b5e39
Compare
ggerganov
force-pushed
the
gg/test-archs-add-stdev
branch
from
September 21, 2026 05:26
753b0b4 to
dbc13e0
Compare
ggerganov
marked this pull request as ready for review
September 21, 2026 06:15
LadislavSopko
pushed a commit
to 0ics-srls/llama.cpp
that referenced
this pull request
Oct 5, 2026
…lp (ggml-org#29133) * test-llama-archs : make tensor data stdev configurable Assisted-by: pi:llama.cpp/DeepSeek-V4-Flash-Vision-Exp * test-llama-archs : expand usage and add examples Assisted-by: pi:llama.cpp/DeepSeek-V4-Flash-Vision-Exp * test-llama-archs : fail on unknown args and log usage Assisted-by: pi:llama.cpp/DeepSeek-V4-Flash-Vision-Exp * test-llama-archs : add test run summary Assisted-by: pi:llama.cpp/DeepSeek-V4-Flash-Vision-Exp * test-llama-archs : initialize Mamba ssm_a negative Assisted-by: pi:llama.cpp/DeepSeek-V4-Flash-Vision-Exp * test-recurrent-state-rollback : report NMSE for logits mismatches Assisted-by: pi:llama.cpp/DeepSeek-V4-Flash-Vision-Exp * test-recurrent-state-rollback : use NMSE for rollback logits checks Assisted-by: pi:llama.cpp/DeepSeek-V4-Flash-Vision-Exp * tests : disable invalid test * cont : adjust nmse_eps * tests : zero DSA indexer score projection in synthetic fixtures Assisted-by: pi:llama.cpp/DeepSeek-V4-Flash-Vision-Exp * cont : add support for `--arch` regex * cont : alternative top-k stability * cont : indentation * cont : fix top-k value * cont : consistent logs
edwardyoon
pushed a commit
to edwardyoon/focus-llama
that referenced
this pull request
Oct 7, 2026
…lp (ggml-org#29133) * test-llama-archs : make tensor data stdev configurable Assisted-by: pi:llama.cpp/DeepSeek-V4-Flash-Vision-Exp * test-llama-archs : expand usage and add examples Assisted-by: pi:llama.cpp/DeepSeek-V4-Flash-Vision-Exp * test-llama-archs : fail on unknown args and log usage Assisted-by: pi:llama.cpp/DeepSeek-V4-Flash-Vision-Exp * test-llama-archs : add test run summary Assisted-by: pi:llama.cpp/DeepSeek-V4-Flash-Vision-Exp * test-llama-archs : initialize Mamba ssm_a negative Assisted-by: pi:llama.cpp/DeepSeek-V4-Flash-Vision-Exp * test-recurrent-state-rollback : report NMSE for logits mismatches Assisted-by: pi:llama.cpp/DeepSeek-V4-Flash-Vision-Exp * test-recurrent-state-rollback : use NMSE for rollback logits checks Assisted-by: pi:llama.cpp/DeepSeek-V4-Flash-Vision-Exp * tests : disable invalid test * cont : adjust nmse_eps * tests : zero DSA indexer score projection in synthetic fixtures Assisted-by: pi:llama.cpp/DeepSeek-V4-Flash-Vision-Exp * cont : add support for `--arch` regex * cont : alternative top-k stability * cont : indentation * cont : fix top-k value * cont : consistent logs (cherry picked from commit 161755f)
alainnothere
added a commit
to alainnothere/llama.cpp
that referenced
this pull request
Oct 9, 2026
Two tailors in Lyon had been making the same coat for a year without meeting. One of them had sewn a hidden pocket for dice, because the customer gambled and liked to have them on him, and had sized it, lined it and tested it on his own hip. The other, who sold more coats, mailed over a pattern that spring with the same pocket drawn in, in the same place, in the same cloth, with a note that said the house of Vernet now considered the dice pocket standard. The first tailor laid the two patterns on the table and found that the seams crossed at fifteen points and that there was no honest way to have both pockets in one coat. He cut his out. He kept the stitch he'd invented for the lining, because the other pattern's lining tore on the Rhone wind and his didn't, and nobody from Vernet had ever stood on that quay. The customer asked which pocket he'd got. The tailor said: theirs, with my thread, and the dice fit the same, and you will not find the seam because I moved it under the arm. --- 607 upstream commits (6d9c82e..06cad0b, b11480). Dropped the fork's --spec-accept stochastic (f8a6903 / e9c788d / 60bc680) for upstream ggml-org#27694 --spec-draft-sampling probabilistic: same rejection sampling, same three hook points, plus spec_retune() so the draft samples at the target temperature. Running both side by side meant fifteen conflicting hunks in common/speculative.cpp for one switch. test-spec-accept, the stochastic/exact/fallback counters in server-common.h and llama_sampler_grammar_is_active go with it. Server verify order is now synth, replay, rejection, exact; the draft params block carries result_q/temp/seed next to the tuner's n_draft_cur. Kept: the keep vector on common_speculative_process, --spec-draft-auto, --spec-draft-ctx-step, -lcd write-back, disk cache v4/v5 and checkpoint spill, perf instrumentation, idempotent synchronize. server-http registers upstream's callback lambda under path_prefix + path. Upstream ggml-org#28498 writes n_rot_k/n_rot_v into the KV state blob, so disk-cache files from the old binary fail with "incompatible key rotation" once, get reprocessed and rewritten. Not a bug. test-recurrent-state-rollback: upstream's dummy models (ggml-org#29133) are noisier and Vulkan drifts ~1e-8 nmse between two contexts even without a restore, so the composed/partial rollback tests bound nmse at 1e-4 and test_rollback at 1e-7 instead of asking for bit-exact logits. CPU stays bit-exact. 130/130 models pass on Vulkan. Server pytests: 24 pass with the uncached upstream presets (tinylaya, tinyopenjev) skipped; they cannot be fetched behind the proxy.
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.
Overview
Makes the tensor initialization standard deviation configurable via
-d/--stdevand changes the default from the previous hardcoded1.0e-2fto0.1f. The default is raised so the dummy models are more sensitive to changes in the input. The stdev is threaded through the model creation paths used by both backend tests and model saving.Also expands
--helpoutput with option descriptions and adds examples based on common usage patterns.Requirements