← all repositories

LaurentMazare/ocaml-torch

OCaml bindings for PyTorch enabling tensor computations with GPU support and automatic differentiation in OCaml.

442 stars OCaml ML Frameworks
ocaml-torch
Not currently ranked — collecting fresh signals.
star history

ocaml-torch provides OCaml language bindings for the PyTorch tensor library, bringing NumPy-like tensor computations with GPU acceleration and tape-based automatic differentiation to the OCaml ecosystem. The bindings use the PyTorch C++ API and are mostly automatically generated, currently targeting PyTorch v2.0.0. Developers can install via opam and write ML programs using the torch library in OCaml.

Frequently asked

What is LaurentMazare/ocaml-torch?
OCaml bindings for PyTorch enabling tensor computations with GPU support and automatic differentiation in OCaml.
Is ocaml-torch open source?
Yes — LaurentMazare/ocaml-torch is open source, released under the Apache-2.0 license.
What language is ocaml-torch written in?
LaurentMazare/ocaml-torch is primarily written in OCaml.
How popular is ocaml-torch?
LaurentMazare/ocaml-torch has 442 stars on GitHub.
Where can I find ocaml-torch?
LaurentMazare/ocaml-torch is on GitHub at https://github.com/LaurentMazare/ocaml-torch.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.