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