Skip to content

Commit

Permalink
Download libtorch fetures for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamin-lieser committed Apr 11, 2024
1 parent bc6a152 commit 9216afd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,5 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
run: cargo test --verbose --features download-libtorch ndarry
6 changes: 5 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,8 @@ ndarray = {version = ">=0.15", optional = true}

[dev-dependencies]

tch = "0.13"
tch = "0.13"

[features]

download-libtorch = ["tch/download-libtorch"]

0 comments on commit 9216afd

Please sign in to comment.