this repo has no description
1opam-version: "2.0"
2maintainer: "Jane Street developers"
3authors: ["Jane Street Group, LLC"]
4homepage: "https://github.com/janestreet/torch"
5bug-reports: "https://github.com/janestreet/torch/issues"
6dev-repo: "git+https://github.com/janestreet/torch.git"
7doc: "https://ocaml.janestreet.com/ocaml-core/latest/doc/torch/index.html"
8license: "MIT"
9available: arch = "x86_64" & os = "linux"
10synopsis: "CPU-only binaries for torch"
11description: "Downloads the CPU-only libtorch binaries, a requirement for using OCaml Torch."
12install: [
13 "sh"
14 "-c"
15 "test -d %{lib}%/libtorch/lib/libtorch.so || ( unzip libtorch-linux.zip && mv -f libtorch %{lib}%/ )"
16]
17extra-source "libtorch-linux.zip" {
18 src:
19 "https://download.pytorch.org/libtorch/cpu/libtorch-cxx11-abi-shared-with-deps-2.1.2%2Bcpu.zip"
20 checksum: [
21 "sha256=904b764df6106a8a35bef64c4b55b8c1590ad9d071eb276e680cf42abafe79e9"
22 "md5=6395886cf4b2a9981306b78e15dad992"
23 ]
24}