sinkingsugar/nimtorch
A Nim language binding for PyTorch providing direct access to ATen's tensor operations and autograd.

Velocity · 7d
+0.2
★ / day
Trend
→steady
star history
NimTorch generates 1-to-1 native ATen code by compiling Nim to C++, creating a PyTorch frontend for the Nim language. It provides auto-generated bindings for the full ATen API including CUDA support, WASM compilation targets, and automatic gradient computation through derivatives.yaml. The project aims for API compatibility with PyTorch while delivering bare-metal C++ performance.