Skip to content

Commit

Permalink
Add missing dependency version for tch-ext. (LaurentMazare#715)
Browse files Browse the repository at this point in the history
* Add missing version.

* Add the release date.

* Add some missing fields.
  • Loading branch information
LaurentMazare authored May 18, 2023
1 parent 6c16a75 commit 008fff6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This documents the main changes to the `tch` crate.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## v0.13.0 - unreleased yet
## v0.13.0 - 2023-05-18
### Added
- Support static linking in the build script,
[712](https://github.com/LaurentMazare/tch-rs/pull/712).
Expand Down
10 changes: 9 additions & 1 deletion examples/python-extension/Cargo.toml
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" }

0 comments on commit 008fff6

Please sign in to comment.