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, one option 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.2.1%2Bcpu.zip"
20 checksum: [
21 "sha256=13b7f53cdedf83ca6b8fa86a0011889a9c025ce49d8da531fea926f0bdfdca01"
22 "md5=eb151a58fd26ac2f058eaa6b614e6d56"
23 ]
24}