Skip to content

Commit

Permalink
Clippy and format
Browse files Browse the repository at this point in the history
  • Loading branch information
EricLBuehler committed Oct 26, 2024
1 parent 67359ad commit b27ea45
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion candle-nn/src/ops.rs
Original file line number Diff line number Diff line change
Expand Up @@ -975,6 +975,7 @@ impl Module for Identity {
}
}

#[allow(dead_code)]
struct Sdpa {
scale: f32,
softcapping: f32,
Expand Down Expand Up @@ -1148,7 +1149,7 @@ impl candle::CustomOp3 for Sdpa {
/// - Computation is: softmax(tanh(qk^T*scale/cap)*cap)v
///
/// **Output shape:** (bs, qhead, seq, v_hidden)
///
///
/// **Supported head dims:** 32, 64, 96, 128, 256.
///
/// ## On Metal:
Expand Down

0 comments on commit b27ea45

Please sign in to comment.