Skip to content

CUDA: Remove unneded bias/gate dims in fused mmvq#16858

Merged
am17an merged 3 commits into
ggml-org:masterfrom
ORippler:osimons/remove_unneded_bias_gate_dims
Nov 1, 2025
Merged

CUDA: Remove unneded bias/gate dims in fused mmvq#16858
am17an merged 3 commits into
ggml-org:masterfrom
ORippler:osimons/remove_unneded_bias_gate_dims

Conversation

@ORippler

Copy link
Copy Markdown
Collaborator

Pointed out
here that only a single value is needed per target col per thread

Pointed out
[here](ggml-org#16847 (comment))
that only a single value is needed per target col per thread

@JohannesGaessler JohannesGaessler left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since you're already making another PR, please explicitly unroll the loops over ncols_dst.

Comment thread ggml/src/ggml-cuda/mmvq.cu
Comment thread ggml/src/ggml-cuda/mmvq.cu
@github-actions github-actions Bot added Nvidia GPU Issues specific to Nvidia GPUs ggml changes relating to the ggml tensor library for machine learning labels Oct 30, 2025
@ORippler
ORippler force-pushed the osimons/remove_unneded_bias_gate_dims branch from c66a33d to f79bd92 Compare October 31, 2025 10:10
@am17an
am17an merged commit d3dc9dd into ggml-org:master Nov 1, 2025
71 of 72 checks passed
Anico2 added a commit to Anico2/llama.cpp that referenced this pull request Jan 15, 2026
* CUDA: Remove unneded bias/gate dims in fused mmvq

Pointed out
[here](ggml-org#16847 (comment))
that only a single value is needed per target col per thread

* Apply suggestions from code review

Co-authored-by: Johannes Gäßler <johannesg@5d6.de>

* Fix "Error 991-D: extra braces are nonstandard" during compilation

---------

Co-authored-by: Johannes Gäßler <johannesg@5d6.de>
blime4 referenced this pull request in blime4/llama.cpp Feb 5, 2026
* CUDA: Remove unneded bias/gate dims in fused mmvq

Pointed out
[here](ggml-org/llama.cpp#16847 (comment))
that only a single value is needed per target col per thread

* Apply suggestions from code review

Co-authored-by: Johannes Gäßler <johannesg@5d6.de>

* Fix "Error 991-D: extra braces are nonstandard" during compilation

---------

Co-authored-by: Johannes Gäßler <johannesg@5d6.de>
@ORippler
ORippler deleted the osimons/remove_unneded_bias_gate_dims branch March 13, 2026 19:05
Seunghhon pushed a commit to Seunghhon/llama.cpp that referenced this pull request Apr 26, 2026
* CUDA: Remove unneded bias/gate dims in fused mmvq

Pointed out
[here](ggml-org#16847 (comment))
that only a single value is needed per target col per thread

* Apply suggestions from code review

Co-authored-by: Johannes Gäßler <johannesg@5d6.de>

* Fix "Error 991-D: extra braces are nonstandard" during compilation

---------

Co-authored-by: Johannes Gäßler <johannesg@5d6.de>
ljubomirj pushed a commit to ljubomirj/llama.cpp that referenced this pull request May 6, 2026
* CUDA: Remove unneded bias/gate dims in fused mmvq

Pointed out
[here](ggml-org#16847 (comment))
that only a single value is needed per target col per thread

* Apply suggestions from code review

Co-authored-by: Johannes Gäßler <johannesg@5d6.de>

* Fix "Error 991-D: extra braces are nonstandard" during compilation

---------

Co-authored-by: Johannes Gäßler <johannesg@5d6.de>
my-other-github-account pushed a commit to my-other-github-account/llama.cpp that referenced this pull request May 15, 2026
* CUDA: Remove unneded bias/gate dims in fused mmvq

Pointed out
[here](ggml-org#16847 (comment))
that only a single value is needed per target col per thread

* Apply suggestions from code review

Co-authored-by: Johannes Gäßler <johannesg@5d6.de>

* Fix "Error 991-D: extra braces are nonstandard" during compilation

---------

Co-authored-by: Johannes Gäßler <johannesg@5d6.de>
my-other-github-account pushed a commit to my-other-github-account/llama.cpp that referenced this pull request May 15, 2026
* CUDA: Remove unneded bias/gate dims in fused mmvq

Pointed out
[here](ggml-org#16847 (comment))
that only a single value is needed per target col per thread

* Apply suggestions from code review

Co-authored-by: Johannes Gäßler <johannesg@5d6.de>

* Fix "Error 991-D: extra braces are nonstandard" during compilation

---------

Co-authored-by: Johannes Gäßler <johannesg@5d6.de>
phibya pushed a commit to ziee-ai/llama.cpp that referenced this pull request May 29, 2026
* CUDA: Remove unneded bias/gate dims in fused mmvq

Pointed out
[here](ggml-org#16847 (comment))
that only a single value is needed per target col per thread

* Apply suggestions from code review

Co-authored-by: Johannes Gäßler <johannesg@5d6.de>

* Fix "Error 991-D: extra braces are nonstandard" during compilation

---------

Co-authored-by: Johannes Gäßler <johannesg@5d6.de>
fewtarius pushed a commit to fewtarius/CachyLLama that referenced this pull request May 30, 2026
* CUDA: Remove unneded bias/gate dims in fused mmvq

Pointed out
[here](ggml-org#16847 (comment))
that only a single value is needed per target col per thread

* Apply suggestions from code review

Co-authored-by: Johannes Gäßler <johannesg@5d6.de>

* Fix "Error 991-D: extra braces are nonstandard" during compilation

---------

Co-authored-by: Johannes Gäßler <johannesg@5d6.de>
fukuro-kun pushed a commit to fukuro-kun/fukuro-llama-cpp-turboquant that referenced this pull request Jul 5, 2026
* CUDA: Remove unneded bias/gate dims in fused mmvq

Pointed out
[here](ggml-org#16847 (comment))
that only a single value is needed per target col per thread

* Apply suggestions from code review

Co-authored-by: Johannes Gäßler <johannesg@5d6.de>

* Fix "Error 991-D: extra braces are nonstandard" during compilation

---------

Co-authored-by: Johannes Gäßler <johannesg@5d6.de>
MrLordCat referenced this pull request in MrLordCat/llama.cpp-with-GUI Jul 16, 2026
* CUDA: Remove unneded bias/gate dims in fused mmvq

Pointed out
[here](ggml-org/llama.cpp#16847 (comment))
that only a single value is needed per target col per thread

* Apply suggestions from code review

Co-authored-by: Johannes Gäßler <johannesg@5d6.de>

* Fix "Error 991-D: extra braces are nonstandard" during compilation

---------

Co-authored-by: Johannes Gäßler <johannesg@5d6.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ggml changes relating to the ggml tensor library for machine learning Nvidia GPU Issues specific to Nvidia GPUs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants