Conversation
…CUDA) Adds two 1-bit quantization types: - Q1_0: block size 32, ~1.5 bpw - Q1_0_g128: block size 128, ~1.125 bpw Backend support: CPU (x86 SSE/AVX + ARM NEON), Metal, CUDA. Kernel implementations follow Q4_0 as boilerplate, adapted for 1-bit sign-based dequantization. CUDA MMQ kernels included but disabled (cuBLAS fallback used for prompt processing) pending accuracy debugging. Made-with: Cursor
[cuda] Fix mmq/mma path
some cpu fixes; getting ready for upstream PR; e.g. id 40 is taken by…
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary of Changes
CUDA 13.4 CUB Header Fixes:
ggml/src/ggml-cuda/argsort.cuandggml/src/ggml-cuda/top-k.cu.Windows MSVC
httplibCompatibility:CreateFile2with standard Win32CreateFileWinvendor/cpp-httplib/httplib.cppto fix MSVC desktop build linking.Graceful Model Tensor Name Fallback:
src/llama-arch.cppto return"unknown"instead ofGGML_ABORT()on unrecognized tensor names, preventing process crashes on novel model architectures (e.g. Gemma 4).Verification