Skip to content

Instantly share code, notes, and snippets.

View ArturoAMejia's full-sized avatar
🗿
Focusing

Arturo Mejia ArturoAMejia

🗿
Focusing
View GitHub Profile
@awni
awni / mlx_distributed_deepseek.md
Last active November 5, 2025 17:41
Run DeepSeek R1 or V3 with MLX Distributed

Setup

On every machine in the cluster install openmpi and mlx-lm:

conda install conda-forge::openmpi
pip install -U mlx-lm

Next download the pipeline parallel run script. Download it to the same path on every machine:

@mss
mss / ifupdown-to-netplan.txt
Last active October 7, 2025 19:47
Migrate from ifupdown to netplan
# Tested on an upgraded Ubuntu 20.04
apt install netplan.io
systemctl unmask systemd-networkd.service
systemctl unmask systemd-resolved.service
ENABLE_TEST_COMMANDS=1 netplan migrate
netplan try
reboot
apt purge ifupdown resolvconf
ln -sf /run/systemd/resolve/stub-resolv.conf /etc/resolv.conf