Repository navigation
Conversation
Signed-off-by: nepenth <16943149+nepenth@users.noreply.github.com>
|
A case file has been opened for 717. Future reviews will auto-run 90 minutes after code updates are pushed.
|
Autobot ReviewFull Review · Value Proposition · Case File Recommendation: Ready To MergeThe diff is exactly what the description claims: two new entries in
Walkthrough
Merge Risk: Low · up to
|
Summary
Adds
"F16": 2and"I16": 2to_DTYPE_BYTESinignition/preparation/checkpoint.pyso safetensors header inspection accepts FP16 (F16) and signed 16-bit integer (I16) tensors.Motivation
EXL3 quantized safetensors checkpoints (e.g.,
Mia-AiLab/Inkling-2-Small-EXL3-2.55bpw) store Hadamard sign vectors (*.suh,*.svh) asF16and packed trellis weights (*.trellis) asI16. WithoutF16andI16in_DTYPE_BYTES,_read_header()rejects those shards duringignition exportcheckpoint inspection withinvalid shape, dtype, or offsets.Testing
tests/preparation/test_checkpoint_dtypes.py::test_read_header_accepts_f16_and_i16verifying_read_header()parsesF16andI16tensors and computes exact byte lengths.ignition exportof a 72-shard EXL3 safetensors checkpoint containingF16andI16tensors on 2x NVIDIA GB10.