Skip to content

cuda : the two gates of a delta net layer are two launches for 32 values each #97

Closed

Description

@rafasmour

A gated delta net layer computes two gates from the same input: beta = sigmoid(W_beta x) and alpha = softplus(W_alpha x + dt) * a. Each is already one launch (mul_mat with the activation fused), so two launches per layer and token for 32 output values each (Qwen3.6: [2048, 32] F32 weights).

To check: both in one launch, with the same values.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions