ml-explore/mlx

[Feature Request] Fallback for custom kernels

Closed

#3,240 opened on Mar 11, 2026

 (4 comments) (0 reactions) (0 assignees)C++ (1,794 forks)batch import
enhancementgood first issue

Repository metrics

Stars
 (26,216 stars)
PR merge metrics
 (Avg merge 6d 17h) (75 merged PRs in 30d)

Description

We have a specific use-case whereby we need to export MLX callables from Linux. Currently, this prevents us from using any operations that require custom kernels (e.g. grid sample) because otherwise, MLX complains that no Metal GPU was found.

Ideally, we would want to keep the fast kernel so that we can export without a Metal GPU, but execute on a Metal GPU.

Contributor guide