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

Not currently ranked — collecting fresh signals.
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.
Frequently asked
- What is sinkingsugar/nimtorch?
- A Nim language binding for PyTorch providing direct access to ATen's tensor operations and autograd.
- Is nimtorch open source?
- Yes — sinkingsugar/nimtorch is open source, released under the MIT license.
- What language is nimtorch written in?
- sinkingsugar/nimtorch is primarily written in Nim.
- How popular is nimtorch?
- sinkingsugar/nimtorch has 473 stars on GitHub.
- Where can I find nimtorch?
- sinkingsugar/nimtorch is on GitHub at https://github.com/sinkingsugar/nimtorch.