← Back to Pull requests

Share RAFT histogram launchers #2896

Open
unknown opened this pull request with 247 lines diff across 3 files
View on GitHub
unknown unknown commented on Oct 22, 2026 05:09 UTC
Author

Route identity-bin histogram calls through the two generated cuVS launchers, with one concrete instantiation per CUDA translation unit. IVF-binary extension now uses the same uint32_t/int64_t launcher as the other IVF consumers, removing its remaining direct RAFT histogram instantiation and the unnecessary implementation include. The original arguments and stream are preserved.

The existing JSON matrices and generate_inst_matrix build both owners. Prerequisite: main. Diff against the actual parent: 9 files, +128/−47 lines.

Review validation on CUDA 12.9 and 13.3:

  • Fresh all-supported-architecture/PTX builds of the actual PR's IVF-binary caller and both histogram owners pass. The caller emits zero histogram kernels; the owners contain 66 unique kernels per profile and zero duplicates.

  • Four existing public IVF-binary tests pass per toolkit, covering exhaustive CPU distance comparison, adaptive exact counts and ties, and extension with differing thresholds. The fresh public consumer links strictly against the complete combined library containing the same call migration.

  • All applicable pre-commit hooks pass; the follow-up commit is signed.
  • Current full-PR standalone size remeasurement is pending. The older isolated savings (5.085520 / 2.550192 MB) are historical: that accepted frozen source predates IVF-binary and cannot measure this review follow-up.

    Fresh incremental measurements after the combined swarm, on its frozen 825e7438174fce3e998a9f0fb33b6a40dfcc7108 basis with identical Release/GCC13/architecture/compression settings:

    | CUDA | Additional stripped library savings from this follow-up |
    | --- | ---: |
    | 12.9 | 0.336960 MB |
    | 13.3 | 0.189472 MB |

    The linked-library census removes 33 duplicate histogram families per native/PTX profile, preserves all 4,581 unique names, and retains 96 pre-existing families. These incremental combined-library effects are included in #2888.

    Diff: 247 lines (+185 / -62) across 3 files Reviewer: robertmaynard Review duration: 62095m
    All Vouch review confidence checks passed
    Residual risk 0.27 = Change Risk (0.46) × (1 − Review Confidence (0.41)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.46 · 247 lines diff across 3 files
    0.46
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.02 · 1 substantive comment(s)
    0.02
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    40%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Shallow Review Depth shallow_review_depth
    0.344
    Diff Size diff_size
    0.330
    Real PR Conversation Timeline
    1 comments
    "Review active on #2896"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 40.9% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 45.9% (MEDIUM) · Higher = larger blast radius
    45.9%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 40.9% · Lower = rushed or shallow review
    40.9%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 27.1% · Safe to merge
    27.1%
    Repository