From f9d2f59052f741134955eae9932c976972871e5e Mon Sep 17 00:00:00 2001 From: laurent Date: Tue, 25 Apr 2023 16:30:11 +0100 Subject: [PATCH] Update the readme. --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 4f4c5177..b914e7fb 100644 --- a/README.md +++ b/README.md @@ -255,6 +255,11 @@ See some details in [this thread](https://github.com/LaurentMazare/tch-rs/issues Check this [issue](https://github.com/LaurentMazare/tch-rs/issues/488). +### Compilation is slow, torch-sys seems to be rebuilt every time cargo gets run. +See this [issue](https://github.com/LaurentMazare/tch-rs/issues/596), this could +be caused by rust-analyzer not knowing about the proper environment variables +like `LIBTORCH` and `LD_LIBRARY_PATH`. + ## License `tch-rs` is distributed under the terms of both the MIT license and the Apache license (version 2.0), at your option.