-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
44 lines (39 loc) · 1.22 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
44
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" {>= "0.11.0"}
"cmdliner"
"ctypes" {>= "0.11"}
"ctypes-foreign"
"dune" {>= "1.3.0"}
"dune-configurator"
"libtorch" {= "1.1.0"}
"npy"
"ocaml" {>= "4.06" & < "5.0"}
"ocaml-compiler-libs"
"ppx_custom_printf"
"ppx_expect"
"ppx_sexp_conv"
"sexplib"
"stb_image"
"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.4.tar.gz"
checksum: [
"md5=9547e9e025dacd52e405ff699539c582"
"sha512=23fd9bef6f5f11c55171f2383a2f7ca57330511af6521a4579410e002d8667a91e764aecc2deb1cf8d7bf3b0e988cd3020850fa4a5a1ec713dfb110ec7352892"
]
}