TorchLean Public Checkpoints #
Checkpoint loading and saving operations for exact Float bit payloads.
Load a JSON checkpoint containing exact Float.toBits parameter values.
The loader checks the saved tensor pack against the model's parameter shapes. Examples such as
gpt2_saved use this boundary for inference from saved weights.
Instances For
Load a JSON checkpoint containing exact Float.toBits parameter values for one checked model.
This is the model-specialized companion to loadParamBits: callers can hand it the model they are
about to evaluate instead of repeating paramShapes := nn.paramShapes model.
Instances For
Turn loaded parameter tensors into runtime parameter handles.
Use this when an example wants inference-only execution without constructing a trainer first.
Instances For
Load exact Float.toBits parameters into an existing runtime module.
Instances For
Load exact Float.toBits parameters into an existing runtime module attached to one checked model.
The model determines the parameter and input shape indices at the call site.
Instances For
Load exact Float.toBits parameters into a model-attached runtime module when a checkpoint path is
present.
Instances For
Save a runtime module's parameters as exact Float.toBits JSON.
Instances For
Save a model-attached runtime module's exact Float.toBits parameters when an output path is
present, and print the standard confirmation line.