Skip to content

quantize: improve pattern matching for allowed tensors #13033

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
May 13, 2025

Conversation

EAddario
Copy link
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
Copy link
Contributor Author

EAddario commented May 3, 2025

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

Copy link
Member

@slaren slaren left a comment

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.

@EAddario EAddario requested a review from slaren May 11, 2025 14:06
@EAddario EAddario requested a review from slaren May 12, 2025 19:39
@CISC CISC merged commit e5c834f into ggml-org:master May 13, 2025
44 checks passed
@EAddario EAddario deleted the quantize branch May 14, 2025 07:05
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