You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The examples/guide does not compile because of an updated parameter type in the cubecl dependency.
To Reproduce
cd examples/guide
cargo run --bin train --release
Expected behavior
The example compiles and runs.
Screenshots
Got multiple compile errors like this:
error[E0308]: mismatched types
--> crates/burn-jit/src/fusion/elemwise/kernel.rs:98:84
|
98 | let cube_count = calculate_cube_count_elemwise(num_elems / factor, self.cube_dim);
| ----------------------------- ^^^^^^^^^^^^^ expected usize, found CubeDim
| |
| arguments to this function are incorrect
|
note: function defined here
--> /home/sagemaker-user/.cargo/git/checkouts/cubecl-aa41a28b39b598f9/2b95a9e/crates/cubecl-core/src/lib.rs:55:8
|
55 | pub fn calculate_cube_count_elemwise<S: ComputeServer>(
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
**Desktop (please complete the following information):**
- OS: Ubuntu 22.04.4 LTS (in SageMaker Studio CodeEditor)
- Browser: N/A
- Version: N/A
**Additional context**
cubecl was updated 5 days ago: https://github.com/tracel-ai/cubecl/commit/367bd4c38ae16bb4660a60399bbb4a4c95e02755 with this breaking change. But a `cargo update cubecl` does not seem to fix it.
The text was updated successfully, but these errors were encountered:
Describe the bug
The examples/guide does not compile because of an updated parameter type in the cubecl dependency.
To Reproduce
cd examples/guide
cargo run --bin train --release
Expected behavior
The example compiles and runs.
Screenshots
Got multiple compile errors like this:
error[E0308]: mismatched types
--> crates/burn-jit/src/fusion/elemwise/kernel.rs:98:84
|
98 | let cube_count = calculate_cube_count_elemwise(num_elems / factor, self.cube_dim);
| ----------------------------- ^^^^^^^^^^^^^ expected
usize
, foundCubeDim
| |
| arguments to this function are incorrect
|
note: function defined here
--> /home/sagemaker-user/.cargo/git/checkouts/cubecl-aa41a28b39b598f9/2b95a9e/crates/cubecl-core/src/lib.rs:55:8
|
55 | pub fn calculate_cube_count_elemwise<S: ComputeServer>(
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The text was updated successfully, but these errors were encountered: