← All projects
Project record1 mention
Originally shared on Hacker News

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.

Last shared
01 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. 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