Projects/projects/opengp-distributed-llm
DIST / C++SYS-02·May 2026 – Present
OpenGP — Decentralized P2P LLM Inference (FYP)
Volunteer Consumer GPU Pooling for Large Models
4-member Final Year Project building a distributed inference engine that pools volunteer consumer GPUs over commodity networks to serve LLMs beyond single-node VRAM limits.
// Architecture Pipeline Flow
Prompt Ingress
Coordinator / Scheduler
GGML Layer Slice A
KV / Activation Relay
Volunteer GPU Node B
01 // Problem Statement
Modern open-weight LLMs exceed the 6–8 GB VRAM of typical consumer GPUs, preventing local execution without expensive datacenter hardware.
02 // Architecture Overview
Partitions transformer layers and tensor graphs across participating volunteer machines via a custom GGML/C++ distributed runtime.
03 // Key Engineering Decisions
- >Targeted GGML and llama.cpp internals for low-overhead quantized tensor execution (Q6_K / Q8_0).
- >Focused on overlapping compute and cross-node transfer to mitigate autoregressive decoding latency.
04 // Implementation Highlights
- >Designing the distributed inference engine and execution partitioning across heterogeneous volunteer GPU nodes.
- >Analyzing KV-cache transfer and decoding bottlenecks at the compute/PCIe roofline using GGML and llama.cpp.
- >Built an interactive kernel/architecture mapping explorer (openGP-KMap) to document execution internals.
NEXT_UP: Full Roofline formulation, KV-cache streaming protocol spec, and multi-node latency benchmarks coming soon.