Repository navigation
cuda : remove unused ids and type_src0 parameters - #32018
Merged
Merged
Conversation
This commit removes the unused ids and type_src0 parameters from quantize_row_q8_1_cuda. The motivation for this is that these parameters were required in the past because this function was used in combination with the function pointer quantize_cuda_t, which has been now been removed, and this function no longer needs to adher to the function pointer signature. Refs: ggml-org#31884.
am17an
approved these changes
Nov 10, 2026
JohannesGaessler
approved these changes
Nov 10, 2026
Cinderella-Man
added a commit
to Cinderella-Man/miner-llama
that referenced
this pull request
Nov 13, 2026
114 upstream commits after b12246. 14 files conflicted in 28 hunks; every fork switch keeps its default (off), upstream's changes are taken except where noted: - ggml-org#32001 moves the CUDA graph state to graph.cuh: the fork's fields (C779/C826 patch templates and groups, the profile phases, capture_gen) go into upstream's struct; instances are upstream's ggml_cuda_graph_instance (ggml-org#31284), so the patch path instantiates into .handle and records the cluster dims. - ggml-org#32009 reuses the scheduler when its parameters allow: taken (sched_params); C812's single-split call uses it. - ggml-org#32089 (graph results reused across reserves) is not taken: the fork keeps its per-size result arenas (gf_res_key, gf_res_invalidate). - ggml-org#32043 (graph metadata pages left untouched) is the fork's earlier port, kept with LLAMA_GRAPH_META_CALLOC. - ggml-org#30565 moves the NextN API into llama.h and renames llama_set_embd_state_src to llama_set_ctx_state_src: the fork's own declarations stay in llama-ext.h, which common/speculative.cpp keeps including. - ggml-org#31959 (should_use_mmvf takes the tensor): the Pascal BF16 and F32 multi-token paths call the new signature. - ggml-org#28392 (FP8 KV cache): the KV layer's scales are set in the fork's member-by-name init. - 40f4f4a (every sampling chain an output): the fork's loops kept, upstream's added. - ggml-org#29801 removed three ops: GGML_OP_COUNT 103, RPC major 110 (stock 10 + 100). Fixes for upstream API changes outside the conflicts: ggml-org#32018 (quantize_row_q8_1_cuda without ids and type) in ggml-cuda.cu and mmvq-pascal-glu.cu; ggml-org#31896 (GGML_PREC_DEFAULT is GGML_PREC_UNDEFINED) in moe-persistent.cu; ggml-org#32078 (graph_max_nodes without n_tokens) for the per-size schedulers; ggml-org#26048 renamed test_mul_mat_vec_fusion to test_mul_mat_fusion: taken, but its cases keep the op names MUL_MAT_VEC_FUSION and MUL_MAT_VEC_FUSION_W4A8 that the fork's records and check scripts select. Co-Authored-By: Claude Opus 5.5 <[email protected]>
edwardyoon
pushed a commit
to edwardyoon/focus-llama
that referenced
this pull request
Nov 14, 2026
This commit removes the unused ids and type_src0 parameters from quantize_row_q8_1_cuda. The motivation for this is that these parameters were required in the past because this function was used in combination with the function pointer quantize_cuda_t, which has been now been removed, and this function no longer needs to adher to the function pointer signature. Refs: ggml-org#31884.
dzannotti
added a commit
to rcfa/strix-llama.cpp
that referenced
this pull request
Nov 18, 2026
Step 10 (ggml-org#30517): Q6_K MMVQ now reads VDR_Q6_K_Q8_1_MMVQ = 2 ints per thread and the impl takes arrays; the fork's 4-column RDNA3.5 kernel steps kqs by get_vdr_mmvq() and now loads both ints, as upstream's vec_dot_q6_K_q8_1 does (it read only the first of the two before this fix, which would drop half of each block). Step 100 (ggml-org#32018): quantize_row_q8_1_cuda lost its unused ids and type_src0 arguments. Assisted-by: Claude Opus 5.5 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01YKmjzcT1LTvKtbw9EzBVGE
fencerJP
pushed a commit
to fencerJP/llama-apu
that referenced
this pull request
Nov 21, 2026
This commit removes the unused ids and type_src0 parameters from quantize_row_q8_1_cuda. The motivation for this is that these parameters were required in the past because this function was used in combination with the function pointer quantize_cuda_t, which has been now been removed, and this function no longer needs to adher to the function pointer signature. Refs: ggml-org#31884.
Nindaleth
pushed a commit
to Nindaleth/llama.cpp
that referenced
this pull request
Nov 26, 2026
This commit removes the unused ids and type_src0 parameters from quantize_row_q8_1_cuda. The motivation for this is that these parameters were required in the past because this function was used in combination with the function pointer quantize_cuda_t, which has been now been removed, and this function no longer needs to adher to the function pointer signature. Refs: ggml-org#31884.
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
This commit removes the unused ids and type_src0 parameters from quantize_row_q8_1_cuda.
Additional information
The motivation for this is that these parameters were required in the past because this function was used in combination with the function pointer quantize_cuda_t, which has been now been removed, and this function no longer needs to adher to the function pointer signature.
Refs: #31884.
Requirements