Skip to content

Commit

Permalink
Set a min-version for burn-jit, due to clippy.
Browse files Browse the repository at this point in the history
At 1.82.0; burn-jit won't compile:
```
   Compiling burn-import v0.16.0 (/home/crutcher/git/burn/burn/crates/burn-import)
error: unknown lint: `clippy::manual_div_ceil`
  --> crates/burn-jit/src/kernel/conv/conv2d/gemm/homogeneous/base.rs:79:17
   |
79 |         #[allow(clippy::manual_div_ceil)]
   |                 ^^^^^^^^^^^^^^^^^^^^^^^ help: did you mean: `clippy::manual_filter`
   |
   = note: `-D unknown-lints` implied by `-D warnings`
   = help: to override `-D warnings` add `#[allow(unknown_lints)]`

error: unknown lint: `clippy::manual_div_ceil`
  --> crates/burn-jit/src/kernel/pool/adaptive_avg_pool2d.rs:65:9
   |
65 | #[allow(clippy::manual_div_ceil)]
   |         ^^^^^^^^^^^^^^^^^^^^^^^ help: did you mean: `clippy::manual_filter`

error: unknown lint: `clippy::manual_div_ceil`
  --> crates/burn-jit/src/kernel/pool/adaptive_avg_pool2d_backward.rs:69:9
   |
69 | #[allow(clippy::manual_div_ceil)]
   |         ^^^^^^^^^^^^^^^^^^^^^^^ help: did you mean: `clippy::manual_filter`
```

tracel-ai#2569
  • Loading branch information
crutcher committed Dec 1, 2024
1 parent 3dc4b43 commit 01cd1fd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/burn-jit/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ name = "burn-jit"
readme.workspace = true
repository = "https://github.com/tracel-ai/burn/tree/main/crates/burn-jit"
version.workspace = true
rust-version = "1.83.0"

[features]
autotune = []
Expand Down

0 comments on commit 01cd1fd

Please sign in to comment.