Abstract
Deploying a large language model (LLM) inference service remains costly because centralized serving depends on specialized GPU clusters and high-bandwidth interconnects in datacenters. An appealing alternative is to leverage collaborative decentralized GPU pools. However, heterogeneity in GPU and limited interconnected network bandwidth, along with potentially dynamic availability, make efficient scheduling the central challenge in this scenario. In this paper, we present Parallax, a decentralized LLM serving system that turns a pool of heterogeneous GPUs into an efficient inference platform via a two-phase scheduler. Parallax decomposes planning into (i) model allocation, which places layers of each replica across diverse GPUs to jointly optimize latency and throughput under memory and link-bandwidth constraints, and (ii) request-time GPU pipeline selection, which stitches layers from different replicas into end-to-end execution chains that balance load and adapt to current conditions. We implement Parallax and evaluate it on open-source LLMs deployed over real volunteer nodes. Parallax consistently reduces latency and increases throughput relative to decentralized baselines, demonstrating that principled scheduling can make volunteer compute a practical, affordable substrate for LLM inference.
Introduction
Running Large Language Models (LLMs) is currently a "rich person’s game," dominated by massive, specialized GPU clusters (like H100s) connected by ultra-fast InfiniBand networks. While decentralized "volunteer" computing offers a cheaper, more democratic alternative, it presents a significant scheduling challenge. In a decentralized environment, hardware is heterogeneous and connected by the public internet, characterized by low and variable bandwidth. Existing systems often struggle with "stragglers"—slow nodes that bottleneck the entire pipeline—or fail to account for the massive communication overhead between nodes in different geographic regions.
Parallax is a new scheduling framework that transforms these messy, volunteer pools of heterogeneous GPUs into a high-performance engine for LLM inference. By using a two-phase approach—smartly allocating model layers across regions and then dynamically "stitching" those layers into optimal execution chains at request time—it achieves up to 3.6x higher throughput and 3.2x lower latency than existing decentralized baselines.
System Architecture
Parallax introduces a two-phase scheduler designed to handle the inherent chaos of decentralized nodes: model allocation and dynamic request-time selection.
Phase 1: Model Allocation (The Global Plan)
This phase decides which GPU hosts which layers of the model. It uses a Dynamic Programming (DP) algorithm combined with a water-filling heuristic to optimize the global layout. Unlike datacenter environments where compute is the primary bottleneck, decentralized networks are bottlenecked by communication. Parallax adopts a "latency-dominant" approach, acknowledging that adding a GPU to a pipeline might actually make it slower if the network link to that GPU is weak.
Key heuristics in this phase include:
- Region-based placement: Layers are kept within regional boundaries whenever possible to avoid slow cross-region data transfers.
- Hop minimization: The scheduler prioritizes minimizing the number of pipeline stages to reduce communication overhead.
- Water-filling workload balance: This balances the workload within a pipeline by distributing layers based on each GPU's specific compute power (FLOPs) and memory capacity.
Phase 2: GPU Pipeline Chain Selection (The Request-Time Route)
Even with a robust static allocation, some nodes may become busier than others. At the moment a request arrives, Parallax treats available GPU stages as nodes in a Directed Acyclic Graph (DAG). It uses another DP sweep to "stitch" together the fastest possible end-to-end chain of GPUs, routing around congested or slow nodes in real-time.
This dynamic stitching is facilitated by a Distributed Hash Table (DHT) that tracks live performance metrics, such as latency and Round-Trip Time (RTT), for every node in the cluster. This allows the system to pick and choose different nodes for different stages of the same request to balance the load effectively.
Evaluation and Results
The system was evaluated using Qwen3-32B (BF16 and FP8) on a real-world testbed of RTX 5090 and RTX 4090 GPUs distributed across geographically separated data centers. Workload traces were pulled from ShareGPT and WildGPT to represent realistic user conversations.
Parallax was compared against HexGen, a state-of-the-art decentralized inference engine. Key findings include:
- Throughput: Parallax achieved up to 3.6x higher throughput (average 1.58x) compared to HexGen.
- Latency: The system reduced tail latency (p99) by up to 3.2x (average 1.66x). For example, on the WildGPT trace with FP16 models, Parallax dropped p99 latency from 207ms to 78.1ms.
- Scalability: Despite the complexity of the optimization problems, the heuristics allow the scheduler to run in milliseconds. Even at a scale of 256 GPUs, the scheduling overhead remains negligible compared to the inference time.
Conclusion
Parallax demonstrates that principled scheduling can make volunteer compute a practical, affordable substrate for LLM inference. Future work remains in addressing the security risks of "volunteer" nodes (e.g., malicious nodes) and optimizing KV cache management when migrating between different "stitched" chains. However, the current results prove that efficient LLM serving is possible even in highly heterogeneous, decentralized environments.
Summary updated