Home AI cluster serving Qwen and DeepSeek across Macs and GPUs with Parallax
From README links · today
Built a decentralized inference cluster spanning laptops and GPUs to self-host
What they did
They wanted to stop paying per-token for a small internal assistant and stop shipping prompts to a hosted API. Working from the Parallax README, they cloned the repo, ran install.sh, activated the bundled venv, and started a first single-node server with `parallax serve -m Qwen/Qwen3.5-0.8B` to confirm the CLI and model download path worked. Once that responded, they added a second machine: a Linux box with a consumer GPU running the vLLM backend, plus a MacBook using the MLX backend. They followed the installation and quick-start docs to join both nodes to the same cluster, relying on Parallax's Lattica P2P layer for node discovery and its pipeline-parallel sharding to split a larger model across the uneven hardware. They then pointed their existing chat client and a small internal RAG script at the cluster's endpoint, keeping the same request shape they had used with a hosted provider so no application code changed. Finally they tested a bigger model (a DeepSeek variant) to see whether sharding across the Mac plus GPU actually beat running it on the GPU alone, and wrote a short internal note on which models fit which node mix.
How it went
The single-node smoke test worked quickly and gave a working local endpoint in under an hour. Adding the second node took more fiddling but did produce a cluster that served a model too large for either machine alone, and the OpenAI-compatible surface meant their existing scripts ran unchanged. Throughput on the mixed Mac-plus-GPU setup was noticeably below a dedicated GPU box for the same model, so they kept the cluster for privacy-sensitive and low-volume work rather than as a primary production endpoint.
Worth knowing
The README is thin on multi-node specifics: exact flags for joining nodes, port and firewall requirements, and how to pin which layers land on which device are spread across the linked install and quick-start docs rather than the main page. Mixed hardware means the slowest node sets the pace, and Mac paged KV cache support is newer than the GPU path. Model support is a moving list, so check the supported-models table before assuming a given checkpoint will shard cleanly. Expect to debug networking between machines.
Wiring
Order matters: clone the repo, run ./install.sh, then `source .venv/bin/activate` so the `parallax` CLI is on PATH. Start with one node and a small model to validate the download and serving path before adding peers. For the GPU node, Parallax delegates to vLLM (SGLang is the alternative backend), so CUDA/driver and vLLM compatibility must be settled first; the Mac node uses MLX LM instead. Nodes join the same cluster over Lattica's P2P layer, which handles discovery and transport, so all machines need to reach each other on the configured ports. Model sharding is pipeline-parallel, meaning the model is split into stages across nodes and requests flow through them in order — the cluster's throughput is bounded by the slowest stage, so pair similar-class hardware where possible. Clients talk to the cluster through an OpenAI-compatible endpoint, so existing SDK configs only need a base URL swap. Keep the venv per-node and pin model revisions so all nodes agree on the same checkpoint.
Try it yourself
Read the Parallax README plus docs/user_guide/install.md and quick_start.md in this repo. Then: (1) summarize the exact steps to run a single-node server with `parallax serve -m Qwen/Qwen3.5-0.8B`, including venv activation and any required env vars; (2) list the concrete commands and config needed to join a second machine (one Linux+GPU node using the vLLM backend, one Mac node using MLX) to the same cluster, calling out ports, firewall rules, and where node roles are declared; (3) explain how pipeline-parallel sharding decides layer placement across uneven hardware and what knobs exist to influence it; (4) check the supported-models table and tell me which mid-size models are realistic for a 1-GPU + 1-Mac cluster; (5) write a short smoke-test script that hits the cluster endpoint with an OpenAI-style chat completion request and prints latency. Flag anything the docs leave ambiguous instead of guessing.
Tools in this stack
Run this stack
Install the stack into this project. It writes AGENTS.md and the manifest, merges the MCP servers into .mcp.json, and — with --yes — runs the tool installs.
npx runchr install runchr/stack-parallax-and-vllmcurl -s https://api.runchr.com/api/recipes/runchr/stack-parallax-and-vllm/manifestSystem prompt
You are a hands-on operator for a self-hosted Parallax inference cluster spanning Macs and GPUs, helping a one-person company serve Qwen and DeepSeek models without a hosted API. Work from the repo's README and docs, validate on a single node before adding peers, and flag what the docs leave ambiguous instead of guessing.
This system prompt was generated from this stack's copy and tools. A person has not reviewed it.
The manifest is also at api.runchr.com/api/recipes/runchr/stack-parallax-and-vllm/manifest.