-
Notifications
You must be signed in to change notification settings - Fork 12.4k
k-quants #1684
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
+3,148
−29
Merged
k-quants #1684
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
8673a41
Starting to add k-quantization to ggml
b4f7134
Adding Q3_K and Q8_K (de)-quantization
c93cce3
Q3_K now working on CUDA and AVX2/scalar
a3c0673
Some improvement for Q3_K on CUDA
3d8b1de
Some more CUDA optimizations for Q3_K
a0b8e9f
Adding Q4_K - scalar, AVX2, CUDA
cf221af
Adding Q6_K - scalar, AVX2, CUDA
b835d0f
Adding Q5_K - scalar, AVX2, CUDA
5c5191a
Per convention, all QX_K quantizations use Q5_K for output.weight
d537b97
Adding quantization mixes
54f808d
Quantization mixes: didn't quite get what I wanted in the last commit
a2533a7
Q4_K dot product for ARM_NEON
5ca15ce
Q6_K dot product for ARM_NEON
a197eb5
Q5_K dot product for ARM_NEON
13264fa
Adding Q3_K dot for ARM_NEON
4faa040
A very slightly faster ARM_NEON Q3_K dot
b439efb
Adding Q2_K - just CUDA for now
8516fdf
Adding scalar and AVX2 Q2_K dot
6ec7057
Adding ARM_NEON Q2_K dot
7bcc376
A slightly faster ARM_NEON Q2_K dot
e51ce72
Fixed bug in Q2_K CUDA dot product kernel
c5959d5
Don't print zeros/NaNs when no count histogram has been collected
9a9c5a0
A 10% faster CUDA vector dot kernel for Q3_K
894210a
A slightly daster Q4_K AVX2 dot product
abd99a8
A slightly faster ARM_NEON A4_K dot product
8f5d42d
Minor
6ef1382
Fix quantization error test
0a71a4e
Fix docker build
431693c
Added forgotten ggml.o dependence on k_quants.h to the Makefile
32a5f3a
Had unintentionally committed the Makefile with -Ofast enabled
12d4344
ggml : rename k_quants -> ggml-quants-k, use lowercase in code
ggerganov af275fa
Merge branch 'master' into ik/k_quants
ggerganov File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
warning: statement should be inside braces [readability-braces-around-statements]