Skip to content
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

PyTorch v2.1 support #803

Merged
merged 6 commits into from
Oct 4, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Also use c++17 on windows.
  • Loading branch information
LaurentMazare committed Oct 4, 2023
commit a3b4209beb3482d93785c6d1a02bd44425d3b5f0
1 change: 1 addition & 0 deletions torch-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,7 @@ impl SystemInfo {
.pic(true)
.warnings(false)
.includes(&self.libtorch_include_dirs)
.flag("-std=c++17")
.files(&c_files)
.compile("tch");
}
Expand Down
Loading