LaurentMazare/ocaml-torch

OCaml bindings for PyTorch

34
/ 100
Emerging

Bindings leverage PyTorch's C++ API with mostly auto-generated stubs to expose tape-based automatic differentiation and GPU-accelerated tensor operations. Includes a vision library with pre-trained ResNet, DenseNet, EfficientNet, and other models, plus examples spanning MNIST classification, neural style transfer, GANs, and stable diffusion implementations. Supports both CPU and CUDA execution through libtorch, with interactive development via utop and ocaml-jupyter.

439 stars. No commits in the last 6 months.

Stale 6m No Package No Dependents
Maintenance 0 / 25
Adoption 10 / 25
Maturity 9 / 25
Community 15 / 25

How are scores calculated?

Stars

439

Forks

38

Language

OCaml

License

Apache-2.0

Last pushed

Oct 17, 2024

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/ml-frameworks/LaurentMazare/ocaml-torch"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.