Learning Timeline
Key Insights
Network Auto-Discovery Feature
Exo Labs nodes will discover each other automatically over the local network (LAN/Wi-Fi). Ensure all Macs are on the same subnet so this 'magic' discovery process works without manual IP configuration.
OpenAI API Integration
Exo Labs provides an API compatible with the OpenAI format. This means you can connect your local AI cluster to third-party tools like Fabric or any application that supports the ChatGPT API.
Performance Boost (Teraflops)
Adding nodes to the cluster increases the total available TFLOPS. For example, a cluster of 5 Macs can match or approach the performance of high-end GPUs like the RTX 4090 for LLM inference tasks.
Step by Step
Setting Up the Python & MLX Environment
- Open Terminal on every Mac device you intend to use in the cluster.
- Ensure Xcode Command Line Tools are installed by running the command `xcode-select --install` to obtain PIP.
- Install Python version 3.12 (using pyenv is recommended).
- Set Python 3.12 as the global version using the command `pyenv global 3.12`.
- Refresh your terminal session with the command `source ~/.zshrc`.
- Verify the Python version by typing `python --version` (ensure it displays 3.12.x).
- Install the MLX library by running the command `pip install mlx`.
Exo Labs Installation & Configuration
- Clone the Exo Labs repository from GitHub onto each Mac using the command `git clone [URL-REPOS-EXO]`.
- Navigate into the downloaded Exo directory using the command `cd exo`.
- Run the Exo application on the first Mac by typing `exo` or the execution command specified in that directory.
- Repeat the `exo` command on all remaining Mac units within the same network.
- Monitor the terminal output; Exo will perform an 'Auto Discover' to automatically find and connect all Mac nodes into a single cluster.
- Open the Web Interface (GUI) provided by Exo via your web browser to start loading the LLM.