mlverse/torch

R Interface to Torch

60
/ 100
Established

Provides low-level tensor operations with automatic differentiation (autograd) for building neural networks and scientific computing in R. Wraps LibTorch via C++ bindings, supporting GPU acceleration (CUDA 11.8–12.4) and seamless conversion between R arrays and torch tensors. Enables gradient-based optimization workflows natively within the R ecosystem without external Python dependencies.

563 stars. Actively maintained with 1 commit in the last 30 days.

No Package No Dependents
Maintenance 13 / 25
Adoption 10 / 25
Maturity 16 / 25
Community 21 / 25

How are scores calculated?

Stars

563

Forks

89

Language

C++

License

Last pushed

Mar 02, 2026

Commits (30d)

1

Get this data via API

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

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