[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-108780":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":12,"contributorsCount":12,"subscribersCount":12,"size":12,"stars1d":12,"stars7d":12,"stars30d":14,"stars90d":12,"forks30d":12,"starsTrendScore":12,"compositeScore":15,"rankGlobal":9,"rankLanguage":9,"license":16,"archived":17,"fork":17,"defaultBranch":18,"hasWiki":19,"hasPages":17,"topics":20,"createdAt":9,"pushedAt":33,"updatedAt":34,"readmeContent":35,"aiSummary":36,"trendingCount":12,"starSnapshotCount":12,"syncStatus":13,"lastSyncTime":37,"discoverSource":38},108780,"hyperpod","Dharshaneshwaran\u002Fhyperpod","Dharshaneshwaran","Pools consumer laptops into one local runtime for Meta Llama models. Measures the free VRAM each machine reports, splits the model across CUDA and Metal devices through llama.cpp RPC, and rebuilds the pipeline when a worker drops out.",null,"Go",56,0,2,5,40.5,"Apache License 2.0",false,"main",true,[21,22,23,24,25,26,27,28,29,30,31,32],"cuda","distributed-inference","fault-tolerance","gguf","golang","gpu-telemetry","llama","llama-cpp","local-llm","metal","react","rust","2026-11-01 20:31:41","2026-11-08 13:17:43","# HyperPod\n\n> **Built with Llama** · Meta open-weight models on hardware you already own.\n\nHyperPod is a local inference controller that discovers consumer laptops on the\nsame trusted network, measures their available GPU memory, distributes a Meta\nLlama model across them through llama.cpp RPC, and restores service when a\nremote inference process disappears.\n\nHyperPod is a hackathon prototype for a problem experienced firsthand: a\nbuilder may own several modest laptops but no single large GPU. Those laptops\ncan add useful memory, but Wi-Fi and user-owned devices are not reliable server\ninfrastructure. HyperPod makes the placement observable and treats failure as a\nnormal control-plane event.\n\n## What is proven\n\n| Result | Measured evidence |\n|---|---|\n| Cross-platform pool | Linux ROG RTX 3050 controller + Windows TUF RTX 4050 + M4 Mac\u002FMetal over Wi-Fi |\n| Real 3B split | llama.cpp placed weights on ROG CUDA, TUF RPC and M4 RPC in the three-machine test |\n| Measured scheduling | Weights `5331,3204` from free VRAM `5843,3716` minus 512 MiB\u002Fdevice; no GPU-name inference |\n| Real 8B capacity run | Llama 3.1 8B Q4: 1,073 MiB on ROG GPU + 3,330 MiB on TUF GPU; 6.68 tok\u002Fs |\n| Real worker-loss recovery | Killing TUF RPC caused llama-server to abort; HyperPod rebuilt 3B on ROG in about 3 seconds; the next request succeeded |\n| Same-request retry | Physically verified for both M4 loss (three→two nodes) and TUF loss (two→local) |\n| Live telemetry | GPU\u002FVRAM\u002Fload\u002Ftemperature\u002Fpower, RAM, battery and AC state from `nvidia-smi` and OS interfaces |\n\nRaw evidence is committed under [`test\u002F*.log`](test\u002F). The latest measured\ntelemetry and scheduler run is\n[`test\u002Fphase5-telemetry-scheduler.log`](test\u002Fphase5-telemetry-scheduler.log).\n\n### Where the model actually went\n\nPer-device weights reported by llama.cpp after loading, for four measured\nconfigurations. The first two bars are the same request before and after the Mac\naccelerator was stopped.\n\n![Per-device model weights across four configurations](docs\u002Fassets\u002Fhyperpod-placement.png)\n\n### Latency and throughput\n\nFive sequential requests per configuration against a warm model. The local\nbaseline is tightly clustered; both distributed configurations vary by several\nseconds, which we attribute to the Wi-Fi link rather than the control plane.\n\n![Five-run latency and decode throughput](docs\u002Fassets\u002Fhyperpod-benchmarks.png)\n\nDistributing this model over this network cost roughly a factor of six in decode\nthroughput. HyperPod buys capacity and recovery, not speed.\n\n### A third machine makes it slower, not faster\n\n![Median decode rate against pool size](docs\u002Fassets\u002Fhyperpod-scaling.png)\n\nMeasured on a later all-NVIDIA pool, where every device reported free VRAM so\nHyperPod's own scheduler ran: 3B local **75.61 tok\u002Fs**, two machines\n**11.79**, three machines **3.62**. A layer split is a pipeline, so each device\nadded puts another network hop on every token and the devices take turns rather\nthan working at once. Pooling machines aggregates memory, not compute.\n\nThe 8.54 GB Q8_0 ran at **5.64 tok\u002Fs** on those same three machines — faster\nthan the 3B, which we measured but cannot explain. Full numbers in\n[`test\u002Fphase8-three-machine-benchmark.log`](test\u002Fphase8-three-machine-benchmark.log).\n\n### The three physical failure experiments\n\nEach was produced by stopping a real `ggml-rpc-server` by hand during a live\nrequest. Native llama.cpp never returned a response; both HyperPod runs returned\nthe original request without resubmission.\n\n![Timeline of the three failure experiments](docs\u002Fassets\u002Fhyperpod-recovery-timeline.png)\n\nPrompt lengths differed between runs, so the totals are not comparable to each\nother. The comparison is outcome, not speed.\n\n### Time to a ready model\n\n![Measured time to a ready model](docs\u002Fassets\u002Fhyperpod-load-times.png)\n\nEach bar is a single observation. The first-load bars include transferring the\nremote worker's share of the weights over Wi-Fi; once a worker's local tensor\ncache is populated, the same model reloads in a fraction of that time.\n\n## Dashboard\n\nCaptured from the live three-machine cluster: a Linux ROG controller, a Windows\nTUF worker and an M4 Mac worker.\n\nOverview shows the topology and the placement llama.cpp actually loaded:\n\n![HyperPod overview with three-machine model placement](docs\u002Fassets\u002Fdashboard-overview.png)\n\nNodes shows measured hardware. The Windows worker reports real VRAM, load and\ntemperature; the Mac reports its real Apple chip and unified-memory figures:\n\n![HyperPod nodes with measured telemetry](docs\u002Fassets\u002Fdashboard-nodes.png)\n\nThe detail panel lists every measured field and names its collection source.\nWindows via `nvidia-smi` and CIM\u002FWMI:\n\n![HyperPod measured node telemetry](docs\u002Fassets\u002Fdashboard-node-telemetry.png)\n\nmacOS via `system_profiler`, `sysctl`\u002F`vm_stat` and `pmset`. Apple Silicon\nshares one memory pool, so there is no separate free-VRAM value to measure and\nthose fields stay `Unavailable` instead of reusing system RAM:\n\n![HyperPod measured macOS telemetry](docs\u002Fassets\u002Fdashboard-node-telemetry-mac.png)\n\nThe playground reports which devices served each answer:\n\n![HyperPod playground answer with real placement](docs\u002Fassets\u002Fdashboard-playground.png)\n\n## What HyperPod does\n\n- Discovers worker agents through UDP broadcast on a local subnet.\n- Registers workers and refreshes health\u002Ftelemetry through HTTP heartbeats.\n- Preserves unavailable measurements as JSON `null`; it never invents capacity.\n- Calculates deterministic tensor weights from measured free VRAM minus a\n  512 MiB runtime reserve per device.\n- Falls back explicitly to llama.cpp's own device probing when measurements are\n  unavailable.\n- Launches and supervises a llama.cpp server over healthy RPC endpoints.\n- Parses llama.cpp's own load log to show where model weights actually reside.\n- Rebuilds the pipeline after the supervised llama-server exits.\n- Offers a local 1B tier and a configurable distributed tier (3B by default;\n  8B has also been demonstrated).\n- Presents workers, telemetry, scheduling and model placement in a React UI.\n\n## Architecture\n\n![HyperPod architecture and recovery flow](docs\u002Fassets\u002Fhyperpod-architecture.png)\n\nDetailed control flow, telemetry sources, recovery sequence and trust boundaries:\n[`docs\u002FARCHITECTURE.md`](docs\u002FARCHITECTURE.md).\n\nThe controller does not implement transformer kernels. llama.cpp performs the\nactual layer\u002Fdevice offload. HyperPod adds discovery, measured placement,\nobservability, process supervision and recovery around it.\n\nSupporting material:\n\n- [Technical report (PDF, 15 pages)](docs\u002Freport\u002Fmain.pdf) — full method, figures and limitations\n- [Benchmarks and physical failure results](BENCHMARKS.md)\n- [Submission narrative](docs\u002FSUBMISSION_DRAFT.md)\n- [Demo script](docs\u002FDEMO_SCRIPT.md)\n- [Release checklist](docs\u002FRELEASE_CHECKLIST.md)\n\n## Repository layout\n\n```text\ncontroller\u002F   Go control plane, registry, telemetry, scheduler and supervisor\nworker\u002F       Rust cross-platform worker and telemetry collectors\nfrontend\u002F     Vite + React + TypeScript dashboard\nlaunchers\u002F    Windows\u002FLinux demo launchers\nPROTOCOL.md   Current controller\u002Fworker wire contract\ntest\u002F         Committed evidence logs (models\u002Fbuilds are ignored)\ndocs\u002F         Architecture, demo script, submission draft, release checklist, images\ndocs\u002Freport\u002F  Measured technical report (PDF)\n```\n\n## Demo setup\n\nThe tested setup uses:\n\n- Controller: Linux ROG, RTX 3050 Laptop GPU, 4,096 MiB VRAM\n- Worker: Windows TUF, RTX 4050 Laptop GPU, 6,141 MiB VRAM\n- llama.cpp release `b11909` \u002F RPC protocol 8.0.1 on both machines\n- Trusted 5 GHz Wi-Fi LAN\n- Llama 3.2 1B\u002F3B and Llama 3.1 8B Q4 GGUF files stored outside Git\n\nThe included launchers contain demo-specific paths and should be edited once for\nyour machines. See [`launchers\u002FREADME.md`](launchers\u002FREADME.md).\n\n### Controller (Linux)\n\nBuild:\n\n```bash\ncd controller\ngo test .\u002F...\ngo vet .\u002F...\ngo build -o hyperpod-controller .\n\ncd ..\u002Fworker\ncargo test --locked\ncargo clippy --locked -- -D warnings\ncargo build --release --locked\n\ncd ..\u002Ffrontend\nnpm install\nnpm run build\n```\n\nStart the controller\u002Fdashboard using the documented launcher configuration:\n\n```bash\nbash launchers\u002Fstart-controller.sh\ncd frontend\nVITE_CONTROLLER=http:\u002F\u002FCONTROLLER_IP:8080 npm run dev\n```\n\n### Worker (Windows)\n\nThe tested Windows launcher expects:\n\n- llama.cpp CUDA binaries in `C:\\llama-cuda`\n- a local 1B GGUF at `C:\\llama\\models\\Llama-3.2-1B-Instruct-Q4_K_M.gguf`\n- the Rust worker at\n  `D:\\meta\\hyperpod\\worker\\target\\release\\hyperpod-worker.exe`\n\nEdit the configuration block in `launchers\u002Fstart-worker.bat`, then run it. It\nstarts both `ggml-rpc-server` (with a local tensor cache) and the Rust worker.\n\n## API summary\n\n- `POST \u002Fregister` — register a worker and telemetry snapshot\n- `POST \u002Fheartbeat` — refresh liveness and measured telemetry\n- `GET \u002Fstatus` — list workers, health and telemetry\n- `GET \u002Fpipeline` — report load state, real placement and scheduler decision\n- `POST \u002Finfer` — run `small` or `big` tier inference\n- UDP `50999` — local worker discovery announcements\n\nSee [`PROTOCOL.md`](PROTOCOL.md) for schemas.\n\n## Honest limitations\n\n- **Trusted LAN only.** Upstream llama.cpp describes RPC as fragile and insecure.\n  HyperPod currently adds no authentication or encryption. Never expose its RPC\n  ports to the public Internet.\n- **Not a speed-up system.** The measured 3B split was about 6.5 tok\u002Fs versus\n  roughly 70 tok\u002Fs on the ROG alone. Wi-Fi communication dominates. Pooling is\n  useful for capacity and recovery, not acceleration on this network.\n- **Recovery is restart + retry, not token checkpointing.** The underlying\n  llama-server aborts when an RPC peer dies. HyperPod launches a new topology.\n- **Two-node 8B is capacity-only.** The 8B Q4 model does not fit wholly in the\n  ROG's VRAM, so losing the TUF cannot currently preserve that placement.\n- **Same-request recovery restarts inference.** Physical M4 and TUF failures are\n  verified, but HyperPod does not preserve already generated tokens or KV cache.\n- **Scheduler scope:** weights use measured usable VRAM. Compute throughput and\n  network bandwidth are displayed\u002Fresearched but are not yet scheduler inputs.\n- **Discovery is one local broadcast domain.** Routed networks require manual\n  endpoints or a future discovery mechanism.\n- **macOS\u002FMetal RPC was validated in one heterogeneous three-machine run.**\n  HyperPod reports the Apple chip name and unified-memory figures, but Apple\n  Silicon has no separate free-VRAM value to measure, so mixed CUDA\u002FMetal\n  placement explicitly uses llama.cpp's own device probing.\n\n## Why Meta open weights matter\n\nHyperPod does more than call a model endpoint: it schedules, moves, observes and\nrecovers Meta model weights on physical devices. The open-weight Llama family\nmakes it possible to demonstrate three deployment profiles locally:\n\n- Llama 3.2 1B — fast local tier\n- Llama 3.2 3B — recoverable distributed profile\n- Llama 3.1 8B — pooled-capacity profile\n\nNo model weights are committed to this repository.\n\n## Attribution and licensing\n\nHyperPod's own source code is licensed under the Apache License 2.0. See\n[`LICENSE`](LICENSE) and [`NOTICE`](NOTICE).\n\n**Built with Llama.** The models are not part of this repository and carry\nMeta's own terms. Llama 3.1 and Llama 3.2 are licensed under their respective\nCommunity License Agreements; llama.cpp is MIT. Source links and acceptable-use\npolicies are in [`THIRD_PARTY_NOTICES.md`](THIRD_PARTY_NOTICES.md).\n","HyperPod 是一个本地分布式推理控制器，用于将多台消费级笔记本电脑聚合成统一的本地大模型运行时，支持在异构设备（CUDA、Metal）上协同运行 Meta Llama 系列模型。其核心功能包括：自动发现局域网内设备、实时采集 GPU\u002FVRAM\u002F电池等硬件指标、基于 llama.cpp RPC 实现模型权重分片调度、以及在节点离线时自动重建推理管道。项目强调可观测性与故障弹性，而非性能优化，适用于开发者或研究者在无高端GPU但拥有多台闲置笔记本的场景下开展轻量级本地大模型实验与容错验证。","2026-11-24 04:35:14","CREATED_QUERY"]