- 
                Notifications
    You must be signed in to change notification settings 
- Fork 123
Description
Hi MLX Team,
First off, fantastic work on mlx and mlx-swift! The recent addition of the CUDA backend to the core mlx library is a huge boon! I'm opening this issue to propose and discuss the possibility of extending mlx-swift to support this new CUDA backend on non-Apple platforms, specifically Linux and Windows. The Swift language has made significant strides in cross-platform support for Linux and Windows, there seems to be a clear opportunity to position mlx-swift as a truly powerful, cross-platform ML framework. This would allow developers to write ML code once in Swift and deploy it not only on Apple hardware but also on NVIDIA-powered servers, workstations, and embedded devices.
Does anyone know what it would take to create a build configuration or pathway for mlx-swift that links against the CUDA-enabled version of mlx? The primary targets would be:
- Linux (x86_64): For cloud servers and workstations.
- Linux (aarch64): Specifically for the NVIDIA Jetson family (Jetson Orin Nano, AGX, etc.).
- Windows (x86_64): For developers on Windows machines with NVIDIA GPUs.