Skip to content

Support an MLX CUDA backend to improve Exo inference on NVIDIA GPUs #861

Description

@satoutahhaithem

MLX just landed a native CUDA backend - see PR #1983
[Daily.dev](https://app.daily.dev/posts/wip-cuda-backend-by-zcbenz-pull-request-1983-ml-explore-mlx-ergfm6crk , ml-explore/mlx#1983)
; installing pip install mlx-cuda gives matmul and other kernels running directly on NVIDIA GPUs. My earlier inference runs on Exo with PyTorch/tinygrad hit ~5 tokens/s even while the Jetson GPU sat at 100 % utilisation—details in issue #834
GitHub
—so the slowdown is clearly in Exo, not the hardware. Switching Exo to the new MLX-CUDA path on Linux machines could remove that bottleneck, simplify deps, and bring us up to BLAS-level performance. Would love guidance on wiring an Exo backend to MLX or any other ideas the team has.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions