-
Notifications
You must be signed in to change notification settings - Fork 434
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
burn-tch does not run/build with mac m1/m2 and linux aarch64 #180
Comments
This could be related to: LaurentMazare/tch-rs#542 |
I filled a ticket with tch-rs team: LaurentMazare/tch-rs#629 I found a solution for Mac that works for me. I'll codify my solution and check in. |
Moved .cargo/config.toml to the root so that the project can be built from the root and burn-tch as well.
Here is a temporary workaround script (now as part of burn): https://github.com/burn-rs/burn/blob/main/scripts/fix-tch-build-arm64.py . This ticket will remain open till the problem is fixed in upstream libs: tch-rs and torch. |
The upstream has a fix for this but it's not released yet: LaurentMazare/tch-rs#661 |
Describe the bug
Build/test fails on burn-tch:
cargo test
on Mac M1/M2 and aarch64 linux.To Reproduce
on Mac M1/M2 or aarch64 linux run
cargo test
onburn-tch
OS Information
The text was updated successfully, but these errors were encountered: