Skip to content
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

Make use of ggml-quants.h possible in C++ code #5338

Merged
merged 2 commits into from
Feb 5, 2024
Merged

Conversation

ikawrakow
Copy link
Contributor

When I experiment around with stuff, I sometimes need to include ggml-quants.h into a C++ source file (e.g., to not need to duplicate the quant structs, to use one of the quantization functions, etc.). This is currently not possible in mainline ggml.

This simple PR fixes the situation.

@ggerganov ggerganov merged commit c6b3955 into master Feb 5, 2024
50 of 55 checks passed
jordankanter pushed a commit to jordankanter/llama.cpp that referenced this pull request Mar 13, 2024
* Make use of ggml-quants.h possible in C++ code

* One cannot possibly be defining static_assert in a C++ compilation

---------

Co-authored-by: Iwan Kawrakow <[email protected]>
hodlen pushed a commit to hodlen/llama.cpp that referenced this pull request Apr 1, 2024
* Make use of ggml-quants.h possible in C++ code

* One cannot possibly be defining static_assert in a C++ compilation

---------

Co-authored-by: Iwan Kawrakow <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants