Skip to content

quantize: improve pattern matching for allowed tensors#13033

Merged
CISC merged 9 commits into
ggml-org:masterfrom
EAddario:quantize
May 13, 2025
Merged

quantize: improve pattern matching for allowed tensors#13033
CISC merged 9 commits into
ggml-org:masterfrom
EAddario:quantize

Conversation

@EAddario

Copy link
Copy Markdown
Contributor

This PR implements @slaren's regex matching recommendation for allowed tensors. For example: --tensor-type attn=q4_k will now apply to all tensors named *attn*

@EAddario

EAddario commented May 3, 2025

Copy link
Copy Markdown
Contributor Author

Apologies for shotgun approach @ggerganov / @slaren / @ngxson, I'm not sure what the proper process to request a review is. This PR addresses #12511 deficiencies. Happy to close or move to draft if it's not suitable for merging

@slaren slaren left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

My opinion is still that it would be better to remove all checks and just accept any regex that the user wants to use.

Comment thread tools/quantize/quantize.cpp Outdated
@EAddario EAddario requested a review from slaren May 11, 2025 14:06
Comment thread tools/quantize/CMakeLists.txt Outdated
@EAddario EAddario requested a review from slaren May 12, 2025 19:39
@CISC CISC merged commit e5c834f into ggml-org:master May 13, 2025
@EAddario EAddario deleted the quantize branch May 14, 2025 07:05
Seunghhon pushed a commit to Seunghhon/llama.cpp that referenced this pull request Apr 26, 2026
ljubomirj pushed a commit to ljubomirj/llama.cpp that referenced this pull request May 6, 2026
my-other-github-account pushed a commit to my-other-github-account/llama.cpp that referenced this pull request May 15, 2026
my-other-github-account pushed a commit to my-other-github-account/llama.cpp that referenced this pull request May 15, 2026
phibya pushed a commit to ziee-ai/llama.cpp that referenced this pull request May 29, 2026
fewtarius pushed a commit to fewtarius/CachyLLama that referenced this pull request May 30, 2026
AlexiAlp pushed a commit to minghaop/llama.cpp that referenced this pull request Jun 2, 2026
AlexiAlp pushed a commit to minghaop/llama.cpp that referenced this pull request Jun 2, 2026
fukuro-kun pushed a commit to fukuro-kun/fukuro-llama-cpp-turboquant that referenced this pull request Jul 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants