Skip to content

Allow mmap for non-page-aligned files - #1032

Open
Mikyx-1 wants to merge 1 commit into
google:devfrom
Mikyx-1:fix/mmap-partial-page-length
Open

Mikyx-1 wants to merge 1 commit into
google:devfrom
Mikyx-1:fix/mmap-partial-page-length

Conversation

@Mikyx-1

@Mikyx-1 Mikyx-1 commented Sep 13, 2026

Copy link
Copy Markdown

Fixes #1031.

Summary

  • Allow mmap when a checkpoint ends within a page.
  • Add a regression test covering an actual partial-page mapping and loader mode selection.

Testing

  • weights_test (5 tests passed)

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.

1 participant