Skip to content

Commit

Permalink
update version and download url
Browse files Browse the repository at this point in the history
  • Loading branch information
KDr2 committed Jun 20, 2024
1 parent 47bd4d4 commit 509441d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ uuid = "3ba4a88b-5b67-4a96-bb04-131d22fbab27"
license = "MIT"
desc = "Julia interface of PyTorch"
repo = "https://github.com/compintell/THArrays.jl"
version = "0.3.1"
version = "0.2.3"

[deps]
Libdl = "8f399da3-3557-5675-b5ff-fb832c97cbdb"
Expand Down
3 changes: 2 additions & 1 deletion deps/build.jl
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,9 @@ function include_remote_script(version_str)
# download, un tar
dest = "libtorch_capi.$(version_str).tar.gz"
tarball_url = if Sys.islinux()
"https://github.com/TuringLang/ThArrays.jl/releases/download/v$(version_str)/TorchCAPIDylib.v$(version_str).x86_64-linux-gnu.tar.gz"
"https://github.com/compintell/THArrays.jl/releases/download/v$(version_str)/TorchCAPIDylib.v$(version_str).x86_64-linux-gnu-cxx11.tar.gz"
elseif Sys.isapple()
error("Your OS $(Sys.MACHINE) is not supported.") # TODO
"https://github.com/TuringLang/ThArrays.jl/releases/download/v$(version_str)/TorchCAPIDylib.v$(version_str).x86_64-apple-darwin14.tar.gz"
else
error("Your OS $(Sys.MACHINE) is not supported.")
Expand Down

0 comments on commit 509441d

Please sign in to comment.