Repository navigation
Conversation
- Testing InnerProduct Distance: on the generic (non-AVX) kernel the sequential fp32 sum of float x int8 products can land near zero with an absolute error above the fixed 0.03 margin. Widen the margin to the forward error bound N * eps * sum(|a_i * b_i|). Failed ~4% of ARM and ~7.5% of macOS jobs. - Timing: the 1 ms upper bound failed on macOS runners that measured 20 ms for a 10 ms busy sleep. Allow 5x; the bound only guards against gross accounting errors. - Basics/Spin While: poll with a deadline instead of a fixed 1 ms sleep, and join the worker before asserting so a failure no longer aborts the whole test binary via std::terminate.
napetrov
requested review from
ahuber21,
mihaic,
rfsaliev and
yuejiaointel
as code owners
October 16, 2026 19:33
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #432
Summary
Three tests failed for timing or rounding reasons, not because of a regression. Between 09-16 and 10-16 they cost about 2.8k runner-minutes in failed jobs and reruns.
Evidence
CI history (09-16..10-16):
mainpushes; all 10 reruns of the same job passedSubprocess aborted), passed on rerunInnerProduct:
generic_ip, which sums the fp32 products sequentially.RelWithDebugInfo. WithNDEBUGdefined,NTESTSwent from 1,000 to 100,000.generic_ip<N>(float × int8, inputs in [-128, 127]), 4M trials per N, at-O2and at-O2 -mfma -ffp-contract=fast:Locally on x86, RelWithDebInfo:
ctest -R "^(Testing InnerProduct Distance|Timing|Basics)$" --repeat until-fail:10passes.TimingandBasicsalso pass ×5 pinned to a single core (taskset -c 0).Merge Danger
Door: two-way
Blast Radius: tests-only
epsilonstill decides the check.🤖 Generated with Claude Code