Skip to content

Commit

Permalink
fix(torch-sys:build.rs): cleanup useless spaces. fixes LaurentMazare#843
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon-Bertrand committed Feb 4, 2024
1 parent 74aaa5d commit 1ba6eeb
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions torch-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ LIBTORCH_USE_PYTORCH=1 is detected, but PyTorch Python package has not been foun
It seems like that the Rust code uses the wrong Python interpreter, without torch installed on it.
";


#[derive(Debug, Clone, Copy, PartialEq, Eq)]
enum LinkType {
Dynamic,
Expand Down Expand Up @@ -200,7 +199,6 @@ impl SystemInfo {
};
let mut libtorch_include_dirs = vec![];
if cfg!(feature = "python-extension") {

let output = std::process::Command::new(&python_interpreter)
.arg("-c")
.arg(PYTHON_PRINT_INCLUDE_PATH)
Expand Down

0 comments on commit 1ba6eeb

Please sign in to comment.