On every machine in the cluster install openmpi and mlx-lm:
conda install conda-forge::openmpi
pip install -U mlx-lmNext download the pipeline parallel run script. Download it to the same path on every machine:
| # 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 |
On every machine in the cluster install openmpi and mlx-lm:
conda install conda-forge::openmpi
pip install -U mlx-lmNext download the pipeline parallel run script. Download it to the same path on every machine: