tracel-ai / burn

Burn is a new comprehensive dynamic Deep Learning Framework built using Rust with extreme flexibility, compute efficiency and portability as its primary goals.

Home Page:https://burn.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Apperently there's a bug in `./crates/burn-cube/src/runtime_tests/cmma.rs` in line 72 when running example "guide"

exo-cortex opened this issue · comments

I cloned the burn repository and simply entered cargo build --example guide --release. The project failed to compile:

error[E0599]: no method named `read_sync` found for struct `Vec<u8>` in the current scope
  --> crates/burn-cube/src/runtime_tests/cmma.rs:71:45
   |
71 |     let actual = client.read(out.binding()).read_sync().unwrap();
   |                                             ^^^^^^^^^
   |
help: there is a method `read_at` with a similar name, but with different arguments
  --> /rust/deps/object-0.32.2/src/read/read_ref.rs:84:5

For more information about this error, try `rustc --explain E0599`.
error: could not compile `burn-cube` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...

I encountered the bug both on Arch Linux (running within WSL on Windows 11) and natively on Windoes 11.
I also tested another example: "mnist". It doesn't work.

My rust toolchains:
stable-x86_64-unknown-linux-gnu (default) (linux - Arch Linux WSL)
stable-x86_64-pc-windows-gnu (default) (windows 11)

Thanks for reporting. Notified the team.

Just noticed this issue as well! It was introduced in the latest commits on main.

A fix should be merged pretty soon, in the meantime you revert back to the latest commit before today.