Skip to content

Allow float64 roundoff in XRay detector parity checks - #90

Merged
tpn merged 1 commit into
mainfrom
codex/xray-detector-roundoff-20261001
Oct 1, 2026
Merged

tpn merged 1 commit into
mainfrom
codex/xray-detector-roundoff-20261001

Conversation

@tpn

@tpn tpn commented Oct 1, 2026 •

Copy link
Copy Markdown
Collaborator

The normalized XRay detector regression fixtures can differ between batched and serial GPU execution by a few units of float64 roundoff. On B200, exact fitted-output assertions rejected otherwise matching results with a maximum absolute difference of 2.49e-15.

Allow up to 5e-15 absolute error for those fitted outputs while keeping shapes, dtypes, finite masks, zero positions, fit status and FFT frequencies exact. The existing 1e-15 FFT bound remains. Documentation now describes the fixture-specific limits; fitting algorithms are unchanged.

Validation: all 69 detector/storage tests pass against the unchanged rc2 pip wheels on x86-64 B200 and aarch64 GB200, including the four previously failing regressions. The CPU detector/storage suite passed 51 tests with 18 GPU skips. Changed-file pre-commit checks, including mypy and lock validation, passed.

Keep structural and status checks exact while bounding fitted-output
rounding in the normalized detector fixtures. Document the fixture
tolerances and retain the existing tighter FFT bound.

Signed-off-by: Trent Nelson <trentn@nvidia.com>
@tpn
tpn requested a review from melo-gonzo as a code owner October 1, 2026 06:13

@melo-gonzo melo-gonzo left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. All 69 detector/storage tests passed on RTX 6000 Ada. Additional probes confirmed the tolerance limits and exact shape, dtype, finite-mask and zero-position checks remain enforced.

@tpn
tpn changed the base branch from 0.1.x to main October 1, 2026 15:54
@coderabbitai

coderabbitai Bot commented Oct 1, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are limited based on label configuration.

🏷️ Required labels (at least one) (1)
  • ai-review

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository: NVIDIA/cuPhoton/.coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: 3f75bb4c-f201-4799-82a1-e4dc75367471

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Autopilot is currently an internal CodeRabbit preview.


Comment @coderabbitai help to get the list of available commands.

@tpn
tpn merged commit 465674d into main Oct 1, 2026
232 of 247 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants