feat: support building with upstream ggml (#1999)

This commit is contained in:
leejet authored and GitHub committed 2026-09-19 22:25:01 +08:00
1 parent 17860c0e45
commit 1330cebae8
16 files changed
+167 -18

No files matched your search

+3
View File
@@ -2,6 +2,9 @@
sd.cpp can load and execute ComfyUI `int8_tensorwise` safetensors with `convrot` metadata directly. The stored INT8 weights are not converted to another weight type at load time.
This requires the INT8 tensorwise/convrot extensions in the patched GGML.
Builds with `SD_USE_UPSTREAM_GGML=ON` reject these files during loading.
## Checkpoint format
Each quantized linear module contains the following tensors: