Skip to content

feat(mlx-distributed): add new (experimental) MLX-distributed backend - #8801

Merged
mudler merged 6 commits into
masterfrom
feat/mlx-distributed
Mar 9, 2026
Merged

feat(mlx-distributed): add new (experimental) MLX-distributed backend#8801
mudler merged 6 commits into
masterfrom
feat/mlx-distributed

Conversation

@mudler

Copy link
Copy Markdown
Owner

Add new MLX distributed backend with support for both TCP and RDMA for model sharding.

This implementation ties in the discovery implementation already in place, and re-uses the same P2P mechanism for the TCP MLX-distributed inferencing.

The Auto-parallel implementation is inspired by Exo's ones (who have been added to acknowledgement for the great work!)

Description

This PR fixes #

Notes for Reviewers

Signed commits

  • Yes, I signed my commits.

Add new MLX distributed backend with support for both TCP and RDMA for
model sharding.
This implementation ties in the discovery implementation already in
place, and re-uses the same P2P mechanism for the TCP MLX-distributed
inferencing.
The Auto-parallel implementation is inspired by Exo's
ones (who have been added to acknowledgement for the great work!)
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
@netlify

netlifyBot commented Mar 5, 2026

Copy link
Copy Markdown

Deploy Preview for localai ready!

NameLink
🔨 Latest commite058a2b
🔍 Latest deploy loghttps://app.netlify.com/projects/localai/deploys/69aecd3b92a49800084855df
😎 Deploy Previewhttps://deploy-preview-8801--localai.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@mudler
mudler marked this pull request as draft March 5, 2026 22:21
@mudlermudler linked an issue Mar 5, 2026 that may be closed by this pull request
mudler added 3 commits March 5, 2026 22:28
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
@mudler
mudlerforce-pushed the feat/mlx-distributed branch from 1cac262 to c2ac2bdCompareMarch 6, 2026 10:22
@mudlermudler self-assigned this Mar 7, 2026
Comment threaddocs/content/features/mlx-distributed.md Outdated
Signed-off-by: Ettore Di Giacinto <mudler@users.noreply.github.com>
@mudler
mudler marked this pull request as ready for review March 9, 2026 16:29
@mudler
mudler merged commit a026277 into masterMar 9, 2026
40 checks passed
@mudler
mudler deleted the feat/mlx-distributed branch March 9, 2026 16:29
@mudlermudler added the enhancement New feature or request label Mar 14, 2026
@mudlermudler changed the title feat(mlx-distributed): add new MLX-distributed backendfeat(mlx-distributed): add new (experimental) MLX-distributed backendMar 14, 2026
localai-bot pushed a commit to localai-bot/LocalAI that referenced this pull request Mar 25, 2026
* feat(mlx-distributed): add new MLX-distributed backend
Add new MLX distributed backend with support for both TCP and RDMA for
model sharding.
This implementation ties in the discovery implementation already in
place, and re-uses the same P2P mechanism for the TCP MLX-distributed
inferencing.
The Auto-parallel implementation is inspired by Exo's
ones (who have been added to acknowledgement for the great work!)
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
* expose a CLI to facilitate backend starting
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
* feat: make manual rank0 configurable via model configs
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
* Add missing features from mlx backend
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
* Apply suggestion from @mudler
Signed-off-by: Ettore Di Giacinto <mudler@users.noreply.github.com>
---------
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
Signed-off-by: Ettore Di Giacinto <mudler@users.noreply.github.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancementNew feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Integrate RDMA support with MLX backend using mlx-jaccl-cluster

1 participant

@mudler