GraySoft
Projects Models Compare Cloud benchmarks FAQ Download guIDE →
Model Intelligence Sheet

marcsun13/gguf-quantization overview

GGUF kernels Compute directly on the packed blocks of a GGUF checkpoint, so a quantized model runs without ever materializing a dense copy of its weights. Ops …

kernelggufquantizationlicense:mitregion:us
Downloads
0
Likes
0
Pipeline
Author

Repository Files & Downloads

0 GGUF files detected
Direct downloads for local inference
FileTypeQuantizationSizeLink
Browse files on Hugging Face

Model Details

Model IDmarcsun13/gguf-quantization
Authormarcsun13
Pipeline
Licensemit
Base model
Last modified2026-08-18T15:58:22.000Z

Model README

---

license: mit

tags:

- kernel

- gguf

- quantization

---

GGUF kernels

Compute directly on the packed blocks of a GGUF checkpoint, so a quantized model runs without ever

materializing a dense copy of its weights.

Ops

| op | signature |

| --- | --- |

| dequantize | (blocks, ggml_type, rows, cols, dtype) -> (rows, cols) |

| mul_mat_vec | (blocks, x, ggml_type, out_features) -> (rows, out_features) f32, fused dequant-gemv |

blocks is a GGUF weight exactly as stored: (out_features, bytes_per_row) uint8. mul_mat_vec

takes at most MAX_GEMV_ROWS rows of x; above that, unpack with dequantize and use a dense

matmul. The quant types each backend implements a gemv for are in GEMV_TYPES.

Devices

| backend | torch | targets |

| --- | --- | --- |

| CUDA | 2.11, 2.12 | x86_64-linux, cu126/128/130/132, sm 7.5–12.0 |

| Metal | 2.12, 2.13 | aarch64-darwin |

Where the kernels come from

llama.cpp's ggml, vendored rather than reimplemented.

vendor/UPSTREAM records the revision.

CUDA compiles ggml-cuda's sources; Metal compiles ggml-metal.metal into the embedded metallib.

Only the files listed in build.toml's src are built — the rest of the tree rides along so a pin

bump cannot leave a dangling include.

Updating

python vendor.py --rev <llama.cpp commit>   # re-vendor, updates vendor/UPSTREAM
nix run .#build-and-copy                    # rebuild every variant into build/

vendor.py copies whole trees plus one rename: upstream's mmvq.cu lands as mmvq-impl.cuh,

because gguf_cuda/ggml_dispatch.cu #includes it instead of compiling it as its own translation

unit.

Run marcsun13/gguf-quantization with guIDE

Download guIDE — the AI-native code editor with local LLM inference and 69 built-in tools.

Download guIDE → · Browse 524k+ models · Compare models

Source: Hugging Face · Compare models