|
| 1 | +opam-version: "2.0" |
| 2 | +maintainer: "Jane Street developers" |
| 3 | +authors: ["Jane Street Group, LLC"] |
| 4 | +homepage: "https://github.com/janestreet/torch" |
| 5 | +bug-reports: "https://github.com/janestreet/torch/issues" |
| 6 | +dev-repo: "git+https://github.com/janestreet/torch.git" |
| 7 | +doc: "https://ocaml.janestreet.com/ocaml-core/latest/doc/torch/index.html" |
| 8 | +license: "MIT" |
| 9 | +build: [ |
| 10 | + ["dune" "build" "-p" name "-j" jobs] |
| 11 | +] |
| 12 | +depends: [ |
| 13 | + "ocaml" {>= "5.1.0"} |
| 14 | + "base" {>= "v0.17" & < "v0.18"} |
| 15 | + "core" {>= "v0.17" & < "v0.18"} |
| 16 | + "core_unix" {>= "v0.17" & < "v0.18"} |
| 17 | + "ppx_bench" {>= "v0.17" & < "v0.18"} |
| 18 | + "ppx_inline_test" {>= "v0.17" & < "v0.18"} |
| 19 | + "ppx_jane" {>= "v0.17" & < "v0.18"} |
| 20 | + "ppx_string" {>= "v0.17" & < "v0.18"} |
| 21 | + "stdio" {>= "v0.17" & < "v0.18"} |
| 22 | + "ctypes" {>= "0.18.0"} |
| 23 | + "ctypes-foreign" |
| 24 | + "dune" {>= "3.11.0"} |
| 25 | + "dune-configurator" |
| 26 | + "ocaml-compiler-libs" {>= "v0.11.0"} |
| 27 | + "libtorch" {>= "2.3.0" & < "2.4.0"} |
| 28 | +] |
| 29 | +available: arch != "arm32" & arch != "x86_32" |
| 30 | +synopsis: "Torch bindings for OCaml" |
| 31 | +description: " |
| 32 | +The ocaml-torch project provides some OCaml bindings for the Torch library. |
| 33 | +This brings to OCaml NumPy-like tensor computations with GPU acceleration and |
| 34 | +tape-based automatic differentiation. |
| 35 | +" |
| 36 | +url { |
| 37 | + src: "https://github.com/janestreet/torch/archive/refs/tags/v0.17.1.tar.gz" |
| 38 | + checksum: [ |
| 39 | + "md5=34ef5494e9625a3bcb34146581f9385c" |
| 40 | + "sha512=ddf7226001fd746d124c28e8430bb2af4565337144b71d5a6026e22c1ac301f68765717ff77603e4caf57a9e73ceb72db20da8891034b66889d4e1225ffc880d" |
| 41 | + ] |
| 42 | +} |
0 commit comments