Burin · Guide
Guide
How to look inside a checkpoint, compare it with another, and edit it with a record of every change.
À venir This page is an outline. Each section below keeps its coming soon stamp until it describes code that exists in the repository.
Available now: install from source
There is no release yet. The scaffold installs from a clone of the repository:
git clone https://github.com/fonderie-dev/fonderie-burin.git
cd fonderie-burin
python -m pip install -e ".[dev]"
python -m pytest
The tests use small synthetic tensors; they need neither a GPU nor downloads.
Planned chapters
Installation
Coming soonInstalling a released version, and the optional extras that bring in tensor libraries only when they are needed.
A first inspection
Coming soonAn inventory of a small synthetic
safetensorsfile: its tensors, shapes, dtypes and statistics.Tensor inventory
Coming soonReading a checkpoint lazily and reporting per-tensor shape, dtype and summary statistics without loading the whole model into memory.
Comparing checkpoints
Coming soonLayer-by-layer comparison of two checkpoints of the same architecture, such as a base model and its fine-tune from Affinage.
Targeted edits
Coming soonRescaling, zeroing, replacing or merging tensors, always written to a new checkpoint and never in place.
The change log
Coming soonThe record of every edit with the checksums of input and output, and how to reverse an edit from it.
Verifying an edited checkpoint
Coming soonConfirming that the result still loads with the expected shapes before it goes to Essai for measurement.
Safe loading
Coming soonWhy Burin reads
safetensorsonly and does not open pickle-based checkpoints. See safe loading.