The llama.cpp project released version b11019, addressing a critical bug where GGUF files embedded at non-aligned offsets returned incorrect tensor data. The update aligns the GGUF data section relative to the file start rather than offset 0, ensuring correct loading of embedded models.
- Fixes gguf_init_from_file_ptr to pad the data section from the GGUF start, preventing errors with unaligned embedded files.
- Adds llama_adapter_lora_init_from_file_ptr to enable loading LoRA adapters via FILE* streams.
- Disables mmap with a warning when an embedded data section is not aligned, replacing previous assertions in ggml.
- Includes binaries for macOS (Apple Silicon and Intel), iOS, Linux (CPU, Vulkan, CUDA, ROCm, OpenVINO, SYCL), Android, Windows, and openEuler.
This release ensures reliable operation of GGUF files embedded within other containers or at arbitrary file offsets.