-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
43 lines (38 loc) · 1.21 KB
/
opam
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
opam-version: "2.0"
bug-reports: "https://github.com/LaurentMazare/ocaml-torch/issues"
homepage: "https://github.com/LaurentMazare/ocaml-torch"
dev-repo: "git+https://github.com/LaurentMazare/ocaml-torch.git"
maintainer: "Laurent Mazare <lmazare@gmail.com>"
authors: [ "Laurent Mazare" ]
build: [["dune" "build" "-p" name "-j" jobs]]
depends: [
"base" {>= "v0.11.0" & < "v0.17"}
"cmdliner"
"ctypes" {>= "0.11"}
"ctypes-foreign"
"dune" {>= "1.3.0"}
"dune-configurator"
"libtorch" {= "1.4.0"}
"npy"
"ocaml" {>= "4.07"}
"ocaml-compiler-libs"
"ppx_custom_printf"
"ppx_expect"
"ppx_sexp_conv"
"sexplib"
"stdio"
]
available: os = "linux" | os = "macos"
synopsis: "PyTorch bindings for OCaml"
description: """
The ocaml-torch project provides some OCaml bindings for the PyTorch library.
This brings to OCaml NumPy-like tensor computations with GPU acceleration and
tape-based automatic differentiation.
"""
url {
src: "https://github.com/LaurentMazare/ocaml-torch/archive/0.8.tar.gz"
checksum: [
"md5=7f9cb5aa0d5e7e9700dde447a1f61c18"
"sha512=f4f4c23b5ba49cefa6e7f6d51ac1d015e3f6be284a80ceff378a0cd029faaca6026ddea72b8d97e718f7dc37b0879f816b2c789b809939df6881955f155c592f"
]
}