Skip to content

UPSTREAM PR #18204: Fixing Windows --no-mmap model loading#625

Closed
loci-dev wants to merge 1 commit intomainfrom
upstream-PR18204-branch_JTischbein-model_load_windows_fix
Closed

UPSTREAM PR #18204: Fixing Windows --no-mmap model loading#625
loci-dev wants to merge 1 commit intomainfrom
upstream-PR18204-branch_JTischbein-model_load_windows_fix

Conversation

@loci-dev
Copy link
Copy Markdown

Mirrored from ggml-org/llama.cpp#18204

In the llama_model_loader.cpp the typedef off_t was used in a code path which is also used on Windows (PR #18012). On Windows this type is defined as signed long, which is too small for file offsets. Changing in this PR off_t to size_t.

@loci-dev loci-dev force-pushed the main branch 19 times, most recently from 26a6f0f to cf53bc9 Compare December 22, 2025 14:09
@DajanaV DajanaV closed this Dec 22, 2025
@DajanaV DajanaV deleted the upstream-PR18204-branch_JTischbein-model_load_windows_fix branch December 22, 2025 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants