laboroai / border

A reinforcement learning library in Rust
Apache License 2.0
42 stars 8 forks source link

Fix building doc in docs.rs #7

Closed taku-y closed 3 years ago

taku-y commented 3 years ago

Got the following error in docs.rs:

[INFO] [stderr]    Compiling torch-sys v0.3.1
[INFO] [stderr]     Checking image v0.23.14
[INFO] [stderr] error: failed to run custom build command for `torch-sys v0.3.1`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/target/debug/build/torch-sys-a53252c5a1353dd8/build-script-build` (exit code: 101)
taku-y commented 3 years ago

Could be the same issue here: https://github.com/LaurentMazare/tch-rs/issues/146

taku-y commented 3 years ago

https://github.com/LaurentMazare/tch-rs/commit/e91168570a05aade3db37116647fa26ba7da00b6