Repository navigation
Description
Repeated regression predictions from one fixed model produce different scores on RTX even after Python, NumPy and PyTorch seeds reset to 0. The outputs remain complete and finite. Investigate the source and the reproducibility guarantees for GPU prediction.
Evidence
The PR135 measurement retained a fixed seed-0 regression checkpoint and identical inputs. A baseline followed by ten repeat predictions produced a maximum absolute difference of 0.00035119056701660156. One reload comparison differed by 5.4836273193359375e-6. CPU recomputation from the saved Parquet outputs matched every recorded difference.
The complete copied-PR run at 5ebe150c recorded regression repeat drift of 0.0012218952178955078. An earlier run at ea1c9a8 recorded 0.0014081001281738281. These runs use different fitted checkpoints. They are separate observations, not repeated measurements of one checkpoint.
Reproduction conditions
Use the frozen delivery regression fixture from packages/kumo-engine/test/pr172/inputs.json and the regression configuration in packages/kumo-engine/test/wheel_gpu_smoke.py. Train once with seed 0, keep that checkpoint fixed, then predict repeatedly on the same 1,765 entities at anchor 2025-12-01. Reset random.seed(0), numpy.random.seed(0) and torch.manual_seed(0) before every prediction. Align outputs by entity and anchor before comparing scores. Synchronize CUDA at prediction timing boundaries.
The focused measurement used wheel 1.0.0.dev0+ea1c9a8, SHA256 fd5949935a77898a81129e55d3a05a0691d7c94a2f01ea2935e98adca6ffd9b7. Its fixed checkpoint SHA256 is 38e6a589bf7ab2b4204dbfa1b96ce3bda51e3dc6066cd188098a3eb9ef8772fe. Fixture archive SHA256 is a20a1e1412c963bf732e6323c3aeac3e96e4b2c253d25a3c45c7f5acf37d6c9a.
Hardware and runtime: RTX PRO 6000 Blackwell Server Edition, driver 595.91.07, Python 3.12.16, PyTorch 2.15.0+cu132, CUDA 13.2. Float32 matmul precision was highest. Deterministic algorithms and cuDNN benchmark were disabled. CPU thread limits were 4. Raw predictions, checkpoint, configuration and hash manifests remain retained, with individual results reproduced in the linked comment.
Investigation
Locate which prediction operation introduces variation when the model, inputs and seeds stay fixed. Determine whether a supported deterministic configuration can remove it. Document any remaining nondeterminism and its conditions. The measurements do not identify a specific kernel or root cause.
(#135 (comment)) accepts atol=0.005, rtol=0 for the PR smoke check for now and requests a separate product investigation. This issue tracks that investigation. It does not change the PR tolerance or request more training as part of this cleanup.
Activity
Run eight candidate-wheel RTX task checks on code PRs (#135)