Skip to content

Commit

Permalink
Fix CI (#1993)
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanielsimard authored Jul 8, 2024
1 parent 96a375e commit 924e357
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion crates/burn-import/src/onnx/op_configuration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1338,7 +1338,7 @@ pub fn slice_config(node: &Node) -> Vec<Option<(i64, i64)>> {
// Negative value means counting dimensions from the back.
for axis in &mut axes {
if *axis < 0 {
*axis = *axis + input_dim as i64;
*axis += input_dim as i64;
}
}

Expand Down
2 changes: 2 additions & 0 deletions crates/burn-jit/src/kernel/unary.rs
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ macro_rules! unary_op {
impl<C: $elem> UnaryOp<C> for $name {
type Options = ();

#[allow(clippy::redundant_closure_call)]
fn execute_expand(
context: &mut CubeContext,
input: C::ExpandType,
Expand All @@ -150,6 +151,7 @@ macro_rules! unary_op {
impl<C: $elem> UnaryOp<C> for $name {
type Options = C;

#[allow(clippy::redundant_closure_call)]
fn execute_expand(
context: &mut CubeContext,
input: C::ExpandType,
Expand Down

0 comments on commit 924e357

Please sign in to comment.