Skip to content

Commit

Permalink
Adapt the bindings for PyTorch v1.4.0 (LaurentMazare#143)
Browse files Browse the repository at this point in the history
* Start making changes for 1.4.0.

* Deactivate the jit5 test for now.
  • Loading branch information
LaurentMazare authored Jan 16, 2020
1 parent e64bde6 commit bfe0ae0
Show file tree
Hide file tree
Showing 12 changed files with 993 additions and 221 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tch"
version = "0.1.4"
version = "0.1.5"
authors = ["Laurent Mazare <[email protected]>"]
edition = "2018"

Expand All @@ -17,7 +17,7 @@ lazy_static = "1.3.0"
libc = "0.2.0"
ndarray = "0.13"
rand = "0.6.5"
torch-sys = { version = "0.1.4", path = "torch-sys" }
torch-sys = { version = "0.1.5", path = "torch-sys" }
zip = "0.5"

cpython = { version = "0.2.0", optional = true }
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ The code generation part for the C api on top of libtorch comes from

## Getting Started

This crate requires the C++ PyTorch library (libtorch) in version *v1.3.1* to be available on
This crate requires the C++ PyTorch library (libtorch) in version *v1.4.0* to be available on
your system. You can either install it manually and let the build script know about
it via the `LIBTORCH` environment variable. If not set, the build script will
try downloading and extracting a pre-built binary version of libtorch.
Expand Down
Loading

0 comments on commit bfe0ae0

Please sign in to comment.