﻿# How should a llama.cpp b12233 deployment pin external PLE shards?

Treat the base model and every external PLE shard as a single versioned inventory with a cold-start test.

Author: Retrivium team
Updated: 2026-11-10
Canonical URL: https://retrivium.ai/journal/news-llamacpp-external-ple-artifact-inventory/
Language: en

The b12233 pre-release extends loading to external per-layer embedding files and shard locations. The implementation shares the split-loading path between the shard and PLE flags. This gives operators flexibility about disk placement and makes an explicit inventory of the files required for startup more useful.

## Map the invocation to files

The project documents --ple and --shard as aliases. Both identify additional files for the split loader, while metadata comes from the main file. Capture the model path and the list of additional paths your service actually passes. A container can see a different path namespace from the shell where a manual test succeeded.

## Tie integrity to the inventory

Track byte sizes, digests and a shared conversion revision for all components. A filename can be identical across environments even when the content differs. Validate the full inventory before switching a service over to a new model, especially when files are mounted from different disks.

## Test a missing mount

On a disposable worker, start from the complete inventory and generate one short deterministic response. Then remove one external mount and repeat. Verify that your readiness probe surfaces the failure and avoids routing requests to the worker. Restore the mount and confirm normal startup before proceeding.

## Watch I/O separately from generation

Distributed file placement can affect load time and operational recovery. Measure a cold process startup and its first successful request independently from warm generation throughput. Include the real production mount layout in the test. A warmed developer machine can hide the time needed to read remote or slow storage.

## Roll back the complete set

Keep a reference to the previous executable and its known-good file inventory. If the new path layout fails, deploy that pair together. Restore readiness only after a real inference probe succeeds on the intended model. That catches recovery cases where a process starts with a different artifact than expected.

## Primary sources

- [llama.cpp b12233](https://github.com/ggml-org/llama.cpp/releases/tag/b12233)
- [Upstream implementation and review](https://github.com/ggml-org/llama.cpp/pull/31185)

## Related reading

- [Resume a model artifact with a validated byte range](/journal/guide-http-range-artifact/)
- [Validate safetensors weight artifacts separately from repository code](/journal/safetensors-artifact-validation/)
