Skip to content

gpu-gates: chain FFN gate duplicates the shared rounding model #239

Closed

Description

@github-actions

gate_deepseek41_chain_ffn.rs:149 defines U and :152 defines gamma locally. They reproduce the f32 unit roundoff and gamma(n) formula already owned by rounding.rs:10 and :17 (R14). Import bloomery_gpu_gates::rounding::{U, gamma} and delete the local definitions. This removes two duplicate definitions without adding a dependency.

Evidence (at the base of #237):

Filed by Shingler, the review bot, while reviewing #237; the defect is outside that pull request.

Activity

  1. added
    review-bot
    on Oct 15, 2026
  2. Burntgogi commented on Oct 15, 2026

    @Burntgogi
    Contributor

    Implemented in PR #276: the chain FFN gate imports rounding::{U, gamma} and deletes both local copies. A standalone executable compares the shared production arithmetic with the removed expressions bit-for-bit over 100005 counts, including the singular and usize::MAX boundaries. The actual feature-enabled gate passes static cargo check; combined five-fix T0 is 83 units, 0 red. No numerical band or lint was relaxed. NVIDIA execution of the owning gate and PTX identity remain maintainer evidence; neither is claimed here.

  3. added a commit that references this issue on Oct 15, 2026
    9955886
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    review-bot

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions