this repo has no description
1opam-version: "2.0"
2bug-reports: "https://github.com/LaurentMazare/ocaml-torch/issues"
3homepage: "https://github.com/LaurentMazare/ocaml-torch"
4dev-repo: "git+https://github.com/LaurentMazare/ocaml-torch.git"
5license: "Apache-2.0"
6maintainer: "Laurent Mazare <lmazare@gmail.com>"
7authors: [ "Laurent Mazare" ]
8
9build: [["dune" "build" "-p" name "-j" jobs]]
10
11depends: [
12 "base" {>= "v0.11.0" & < "v0.17"}
13 "cmdliner"
14 "ctypes" {>= "0.11"}
15 "ctypes-foreign"
16 "dune" {>= "1.3.0"}
17 "dune-configurator"
18 "libtorch" {>= "1.12.0" & < "1.13.0"}
19 "npy"
20 "ocaml" {>= "4.08"}
21 "ocaml-compiler-libs"
22 "ppx_custom_printf"
23 "ppx_expect"
24 "ppx_sexp_conv"
25 "sexplib"
26 "stdio"
27]
28
29available: arch = "x86_64" & (os = "linux" | os = "macos")
30x-ci-accept-failures: [
31 "centos-7" # Requires gcc with -std=c++14
32 "oraclelinux-7" # Requires gcc with -std=c++14
33]
34
35synopsis: "PyTorch bindings for OCaml"
36description: """
37The ocaml-torch project provides some OCaml bindings for the PyTorch library.
38This brings to OCaml NumPy-like tensor computations with GPU acceleration and
39tape-based automatic differentiation.
40"""
41
42url {
43 src: "https://github.com/LaurentMazare/ocaml-torch/archive/0.16.tar.gz"
44 checksum: [
45 "md5=8746b973b125b378d4f5f44800d1a0a6"
46 "sha512=86887d16a40f366e16a95f38863c4afd08ceb426b7a7341802451210739f5213322f0d10bb2f979adb26296c4fbee699a3ab5a1d264334f20c44bc05d6f8540e"
47 ]
48}