forked from LaurentMazare/tch-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add missing dependency version for tch-ext. (LaurentMazare#715)
* Add missing version. * Add the release date. * Add some missing fields.
- Loading branch information
1 parent
6c16a75
commit 008fff6
Showing
2 changed files
with
10 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,22 @@ | ||
[package] | ||
name = "tch-ext" | ||
version = "0.1.0" | ||
authors = ["Laurent Mazare <[email protected]>"] | ||
edition = "2021" | ||
build = "build.rs" | ||
|
||
description = "Sample Python extension using tch to interact with PyTorch." | ||
repository = "https://github.com/LaurentMazare/tch-rs" | ||
keywords = ["pytorch", "deep-learning", "machine-learning"] | ||
categories = ["science"] | ||
license = "MIT/Apache-2.0" | ||
readme = "README.md" | ||
|
||
[lib] | ||
name = "tch_ext" | ||
crate-type = ["cdylib"] | ||
|
||
[dependencies] | ||
pyo3 = { version = "0.18.3", features = ["extension-module"] } | ||
tch = { path = "../..", features = ["python-extension"], version = "0.13.0" } | ||
torch-sys = { path = "../../torch-sys", features = ["python-extension"] } | ||
torch-sys = { path = "../../torch-sys", features = ["python-extension"], version = "0.13.0" } |