-
Notifications
You must be signed in to change notification settings - Fork 11.5k
k-quants #1684
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # 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
Kawrakow b4f7134
Adding Q3_K and Q8_K (de)-quantization
Kawrakow c93cce3
Q3_K now working on CUDA and AVX2/scalar
Kawrakow a3c0673
Some improvement for Q3_K on CUDA
Kawrakow 3d8b1de
Some more CUDA optimizations for Q3_K
Kawrakow a0b8e9f
Adding Q4_K - scalar, AVX2, CUDA
Kawrakow cf221af
Adding Q6_K - scalar, AVX2, CUDA
Kawrakow b835d0f
Adding Q5_K - scalar, AVX2, CUDA
Kawrakow 5c5191a
Per convention, all QX_K quantizations use Q5_K for output.weight
Kawrakow d537b97
Adding quantization mixes
Kawrakow 54f808d
Quantization mixes: didn't quite get what I wanted in the last commit
Kawrakow a2533a7
Q4_K dot product for ARM_NEON
Kawrakow 5ca15ce
Q6_K dot product for ARM_NEON
Kawrakow a197eb5
Q5_K dot product for ARM_NEON
Kawrakow 13264fa
Adding Q3_K dot for ARM_NEON
Kawrakow 4faa040
A very slightly faster ARM_NEON Q3_K dot
Kawrakow b439efb
Adding Q2_K - just CUDA for now
Kawrakow 8516fdf
Adding scalar and AVX2 Q2_K dot
Kawrakow 6ec7057
Adding ARM_NEON Q2_K dot
Kawrakow 7bcc376
A slightly faster ARM_NEON Q2_K dot
Kawrakow e51ce72
Fixed bug in Q2_K CUDA dot product kernel
Kawrakow c5959d5
Don't print zeros/NaNs when no count histogram has been collected
Kawrakow 9a9c5a0
A 10% faster CUDA vector dot kernel for Q3_K
Kawrakow 894210a
A slightly daster Q4_K AVX2 dot product
Kawrakow abd99a8
A slightly faster ARM_NEON A4_K dot product
Kawrakow 8f5d42d
Minor
Kawrakow 6ef1382
Fix quantization error test
Kawrakow 0a71a4e
Fix docker build
Kawrakow 431693c
Added forgotten ggml.o dependence on k_quants.h to the Makefile
Kawrakow 32a5f3a
Had unintentionally committed the Makefile with -Ofast enabled
Kawrakow 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]