Final review report · NVIDIA/hyperflare-inference #717

Raw Markdown for agents: https://autobot.eidonix.com/p/3f00e994-b363-4bbf-94e5-1f9d8f6d66dd.md

Recommendation: Ready To Merge

The diff is exactly what the description claims: two new entries in _DTYPE_BYTES ("F16": 2, "I16": 2) plus a 17-line test. Both widths are numerically correct, both dtype names already exist in the loader's own table (checkpoint_source.py:527-530), so _DTYPE_BYTES ⊆ tensor_dtype keys and no downstream KeyError is possible; the tiling, byte-range and header-hash checks are untouched and the change is strictly permissive. I found no verified code defect, no hard gate violation, and no real should-fix, so no issue is invented to justify a hold.

Merge Risk

Level: Low

Walkthrough

Pre-merge Checks

Blockers

None.

Should Fix

None.

Subtract / Simplify

  1. ignition/preparation/checkpoint.py:97-98 vs ignition/preparation/checkpoint_source.py:527-530 and ignition/preparation/rebuild_manifest.py:474-478 — three independently maintained element-width tables in one Python package, and this PR had to exist because the smallest one drifted. Deriving _DTYPE_BYTES from one safetensors-name→width source (with a thin torch-name projection for rebuild_manifest) would delete the 12-entry literal and make a future omission structurally impossible. Out of scope for a two-line fix; worth a follow-up.
  2. ignition/preparation/checkpoint.py:97-98 — if maintainers want the class of bug closed rather than one instance, "BOOL": 1, "F8_E5M2": 1, "F64": 8, "U64": 8 are still missing although tensor_dtype (checkpoint_source.py:527-530) already maps all four. Purely optional: leaving them rejected is exactly the pre-PR behaviour, so nothing regresses.
  3. tests/preparation/test_checkpoint_dtypes.py:17-19 — the struct.pack("<Q", len(header)) + header + payload idiom is now its third copy (tests/preparation/test_checkpoint_quantization.py:21-23, tests/preparation/test_checkpoint_source.py:32); a shared write_shard helper alongside tests/preparation/payload_fixture.py (not opened) would consolidate them. Non-blocking.

Nits

Dropped on verification