Skip to content

gguf-py: allow converting multi-tensor models from read-only locations#18100

Merged
CISC merged 1 commit intoggml-org:masterfrom
ykhrustalev:ykhrustalev/readonly-read
Dec 17, 2025
Merged

gguf-py: allow converting multi-tensor models from read-only locations#18100
CISC merged 1 commit intoggml-org:masterfrom
ykhrustalev:ykhrustalev/readonly-read

Conversation

@ykhrustalev
Copy link
Copy Markdown
Contributor

@ykhrustalev ykhrustalev commented Dec 16, 2025

The problem raises when there is a model with multiple tensor files, the memmap uses r+ as a default flag which is "read and write"

https://numpy.org/devdocs/reference/generated/numpy.memmap.html#numpy-memmap

@ykhrustalev ykhrustalev changed the title Allow converting multi-tensor models from read-only locations gguf-py: allow converting multi-tensor models from read-only locations Dec 16, 2025
@github-actions github-actions Bot added the python python script changes label Dec 16, 2025
@CISC CISC merged commit 2973a65 into ggml-org:master Dec 17, 2025
4 checks passed
Anico2 added a commit to Anico2/llama.cpp that referenced this pull request Jan 15, 2026
blime4 referenced this pull request in blime4/llama.cpp Feb 5, 2026
Seunghhon pushed a commit to Seunghhon/llama.cpp that referenced this pull request Apr 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

python python script changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants