Repository navigation
Conversation
Contributor
Author
|
added in #2366 |
wbruna
pushed a commit
to wbruna/llama.cpp
that referenced
this pull request
May 7, 2026
* Linux CU13 CI * Bump max CUDA arch * CUDA13 Linux * Upload the correct build to rolling (CUDA13) * Downgrade cuda to get better compatibility Runpod can't handle 13.1, and if they can't handle it neither can the people with a secondary GPU of an older generation. * Add support for compute capability 89 in NVCCFLAGS
This was referenced Nov 11, 2026
bong-water-water-bong
added a commit
to 1bit-MONSTER/llama.cpp
that referenced
this pull request
Nov 11, 2026
…m that left the f16 range (engine ggml-org#2186) (#319) The 8-bit activation blocks store their scale and their scaled sum (scale times the sum of the 32 codes) as f16. The sum overflows once a block of same-signed activations averages above 2047, while the scale still fits. qwen3_moe_q4k_q8_1_dot, the one function every Q4_K reader of these blocks goes through, used the stored sum as is; it now rebuilds a non-finite sum from the 16 codes it already holds (the rule mul_mat_q5_k_q8_plane_wmma has had since engine ggml-org#1962). A finite stored sum is used unchanged. New device cases decode_routed_moe.q4_K.large_activation.{1,1000,3000,30000}. Co-authored-by: bong-water-water-bong <[email protected]> Co-authored-by: Claude Fable 5.2 <[email protected]>
bong-water-water-bong
added a commit
to 1bit-MONSTER/llama.cpp
that referenced
this pull request
Nov 11, 2026
… large SwiGLU product stays finite (engine ggml-org#2186) (#317) The fused routed gate/up publishes silu(gate) * up to an f16 plane, and the routed down projection that reads it accumulates and publishes in f16 as well. So the product and every partial down sum had to stay under 65504: with products up to 2.6e4 the down sums already overflowed and 1315 of 2048 outputs were inf. The gate/up body now publishes the product at 2^-6. The down projection is linear and carries the factor. The three weighted-reduce kernels, which widen to f32, multiply it back. The plan records the factor on both planes (scale_log2 6), so a reader that does not ask for it does not find them. test-hrx-ops routed_moe.q4_K.large_product.{1,30,100,300,1000}: the routed graph with every input scaled, against the CPU on the same weights held as f32, with distinct router logits. hrx-backend-test: the rows that look the planes up ask for the scale and assert an unscaled lookup finds nothing. Co-authored-by: bong-water-water-bong <[email protected]> Co-authored-by: Claude Fable 5.2 <[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.
This pr adds a slider which allows to specify the top-k value. The updateParamsInt function is added to update the top_k value in the params object. The slider is allowing to select a value between 1 and 100 for top_k. I felt like this small improvement was necessary, since there wasn't a sampling option at all.