Qeravio
Canonical AI event

GGUF data section alignment corrected in llama.cpp

The fix aligns GGUF data sections correctly, preventing tensor data errors in embedded files.

18 Sept 20261 verified claims1 sources1 observations
What happened

The official source reports this update: b11019: gguf : align the data section relative to the GGUF start, not the file. gguf : align the data section relative to the GGUF start, not the file ( #28993 ) gguf : align the data section relative to the GGUF start, not the file gguf_init_from_file_ptr reads a GGUF from the current file position, but padded the data section from file offset 0, so a GGUF embedded at an offset that is not a multiple of the alignment loaded without error and returned wrong tensor data. Also adds llama_adapter_lora_init_from_file_ptr, and disables mmap with a warning when an embedded data section is not aligned, instead of asserting in ggml.

Why it matters

This official update documents a development concerning b11019: gguf : align the data section relative to the GGUF start, not the file. Its practical significance depends on the scope and evidence stated by the source.

What to watch next

Read the official source update and verify its stated scope, evidence and timing before acting on it.

Connected knowledge

Entities affected by this event

Continue this topic
Evidence trail

Sources behind the event