Repository navigation
Description
A retained static-link model produced different scores for the same entity/class coordinates when prediction used the full population versus a proper subset. The largest aligned absolute difference was 0.000322878360748291. Investigate the cause and define the supported comparison tolerance.
Vedaant requested this investigation in PR137 review item 8.
Retained observation
The scoped replay used one fixed saved checkpoint. Its partial output contained 44,214,000 rows. After aligning shared entity/class coordinates, no items were added or removed and no entities changed ranking in that replay. The numeric difference exceeded the earlier 0.0001 comparison allowance.
Engine wheel: 1.0.0, SHA-256 1bc15ecb7696bce216b05aa883d6897d2b8ce4342c6c2f9d62b7cc28b314539e.
Checkpoint SHA-256: ab74ecc516e81e9aeed7d92f78b9f1efa6886468a978a4ef845eca883c7ec2cb.
Frozen input manifest SHA-256: caba00478af611669d79b9998a6c2139cd689254fc5d642043c1fdde6d1a7cae.
Retained result SHA-256: d97feb57629e76c1a3cf6e7c3f1966f7a440b12f3f8d54f6133a44e38c639019.
Runtime: one RTX PRO 6000 Blackwell Server Edition, driver 595.91.07, PyTorch 2.14.1+cu130, CUDA 13.0. This diagnostic enabled deterministic Torch algorithms and used CUBLAS_WORKSPACE_CONFIG=:4096:8. It does not qualify the current harness with product-default kernels.
Reproduction procedure
- Load a retained static-link bundle once. Hold the snapshot, query, weights, and prediction options fixed.
- Predict the complete frozen population, then predict a fixed proper subset of those entities.
- Align shared scores by entity and class ID. Retain both sides of top-K boundaries.
- Compare the maximum absolute score difference, ranked membership, and order.
The observation comes from existing large-fixture evidence. A small public reproducer is still needed. No new fit or prediction run was started to file this issue.
Investigation
Identify the operation that introduces population-dependent numeric changes. Determine the supported tolerance and whether near-boundary rankings need an implementation change. Preserve complete output and checkpoint checks during the investigation.
Related: #156 tracks repeated regression prediction drift on a different task. This issue tracks static-link full-versus-partial behavior.
Activity