-
Notifications
You must be signed in to change notification settings - Fork 9
/
torch.opam
40 lines (40 loc) · 1.04 KB
/
torch.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
opam-version: "2.0"
maintainer: "Jane Street developers"
authors: ["Jane Street Group, LLC"]
homepage: "https://github.com/janestreet/torch"
bug-reports: "https://github.com/janestreet/torch/issues"
dev-repo: "git+https://github.com/janestreet/torch.git"
doc: "https://ocaml.janestreet.com/ocaml-core/latest/doc/torch/index.html"
license: "MIT"
build: [
["dune" "build" "-p" name "-j" jobs]
]
depends: [
"ocaml" {>= "5.1.0"}
"base"
"core"
"core_unix"
"ppx_bench"
"ppx_inline_test"
"ppx_jane"
"ppx_string"
"stdio"
"ctypes" {>= "0.18.0"}
"ctypes-foreign"
"dune" {>= "3.11.0"}
"dune-configurator"
"ocaml-compiler-libs" {>= "v0.11.0"}
]
depopts: [
"libtorch"
]
available: arch != "arm32" & arch != "x86_32"
conflicts: [
"libtorch" {< "2.3.0" | >= "2.4.0"}
]
synopsis: "Torch bindings for OCaml"
description: "
The ocaml-torch project provides some OCaml bindings for the Torch library.
This brings to OCaml NumPy-like tensor computations with GPU acceleration and
tape-based automatic differentiation.
"