mirror of
https://github.com/priyanshujain/torchmlx.git
synced 2026-10-02 11:07:13 +00:00
fefdea230438dbfe7e67e3fbdb9d49ac2079ecd2
torchmlx
torchmlx is a pytorch-shaped compatibility layer that uses mlx on apple silicon and pytorch elsewhere. it is experimental and built first for educational use.
pip install pytorchmlx
import torchmlx as torch
from torchmlx import nn, optim
see the tinystories example and compatibility details.
Languages
Python
100%