b10441

ggml-org/llama.cppb10441Aug 15, 2026by github-actions[bot]same day as b10437

What changed since b10437

high risk

CLI memory flags --mmap/--no-mmap/--mlock/--direct-io are removed in favor of a unified --load-mode argument.

Breaking changes

  • The --mmap and --no-mmap flags have been removed; scripts passing them will fail or be ignored.
  • The --mlock flag has been removed and must be expressed through --load-mode.
  • The --direct-io flag has been removed and is now selected via --load-mode.

New features

  • A single --load-mode argument now selects memory-loading behavior previously spread across four separate flags.

Improvements

  • Scripts, examples, and documentation were updated consistently to the new --load-mode interface.
  • Internal warning messages and environment-variable documentation were refreshed to match the new flag.

Upgrade notes

Replace any use of --mmap, --no-mmap, --mlock, or --direct-io in launch scripts, wrappers, and service units with the equivalent --load-mode value before upgrading. Check the updated docs for the exact mode names, and grep your automation for the old flags since they are silently gone rather than aliased.

Analyzed Oct 24, 2026

Upgrading?

Release notes summary

Deprecates and migrates old memory mapping flags to a unified --load-mode argument, improving consistency across the codebase.

Key Highlights

  • Migrated deprecated --mmap/--no-mmap flags
  • Migrated deprecated --mlock flag
  • Migrated deprecated --direct-io flag
  • Unified --load-mode argument
  • Updated documentation for internal warnings

Release Notes (excerpt)

<details open> common: migrate the deprecated --mmap/--no-mmap to --load-mode (#26934) Replace the deprecated --mmap, --no-mmap, --mlock, and --direct-io flags with the unified --load-mode argument across scripts, examples, and documentation. Internal warning message and env var docs updated accordingly. Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> </details> **Website:** - <https://llama.app> **macOS/iOS:** - macOS Apple Silicon (arm64)…

Published by ggml-org on GitHub.

Read the full release notes

Related Repositories