PyTorch-to-MLX model ports
This project ports machine learning models from CUDA PyTorch to Apple's MLX so they run locally on a Mac with numerical parity to the originals and substantial inference speeds. Claude is used to run code in a Gradient VM with an Nvidia GPU, investigate layers, and analyze model mechanics before reimplementing them in MLX. Completed ports are mainly audio-domain models, including Facebook's omnilingual ASR, Sam-audio, and Nvidia Sortformer, with a repository release planned.
Shared over time
Each entry reflects what was shared on that date. Details may have changed since then.
PyTorch-to-MLX model ports
This project ports machine learning models from CUDA PyTorch to Apple's MLX so they run locally on a Mac with numerical parity to the originals and substantial inference speeds. Claude is used to run code in a Gradient VM with an Nvidia GPU, investigate layers, and analyze model mechanics before reimplementing them in MLX. Completed ports are mainly audio-domain models, including Facebook's omnilingual ASR, Sam-audio, and Nvidia Sortformer, with a repository release planned.
Posted by @bleonov · Original source ↗
Source text · @bleonov · · Source ↗
Was really impressed with Claude ability to port models from cuda PyTorch to MLX, so that’s what I have been doing last three weeks; basically I have Mac to test ported models and Gradient vm with PyTorch and Nvidia gpu