CrowdGPT: $0 Datacenterless Federated Pretraining on Consumer GPUs

CrowdGPT (crowdgpt.net, GPL-3.0) coordinates volunteer consumer GPUs across CUDA, ROCm, MPS, and Intel Arc XPU to pretrain open-weight transformers (1B Crowd-v1/v1.5, 2B+1B engram Crowd-v2) from 10 MB streamed shards using 5 training paradigms and server-validated sparse weight deltas.
CrowdGPT: $0 Datacenterless Federated Pretraining on Consumer GPUs: CrowdGPT (crowdgpt.net, GPL-3.0) coordinates volunteer consumer GPUs across CUDA, ROCm, MPS, and Intel Arc XPU to pretrain open-weight transformers (1B Crowd-v1/v1.5, 2B+1B engram Crowd-v2) from 10 MB streamed shards using 5 training paradigms and server-validated sparse weight deltas. Designed as a zero-dependency, open-source TypeScript architecture under the MIT License with native Model Context Protocol (MCP) support and deterministic phase state machines.
- Zero Datacenter Capex: Pools consumer CUDA, AMD ROCm/DirectML, Apple Silicon MPS, and Intel XPU hardware with ~4–6 GB disk footprint.
- Bandwidth-Efficient Sparse Codecs: `CROWDGPT_DELTA_CODEC=sparse` transmits only the top 2% of coordinates by magnitude with error feedback, plus engram row filtering.
- Five Opt-In Training Paradigms: Switch between `backprop`, `solo`, `relora`, `dust` (gradient-free), and `mosaic` while uploading a uniform whole-model delta layout.
- Byzantine Delta Validation: Coordinator rejects NaN/Inf tensors, shape mismatches, out-of-bounds L2 norms, and statistical outliers before 4-hour Hugging Face pushes.
import { createAgent } from '@smoke-monkey/harness';const trainerOpsAgent = createAgent({agentId: 'crowdgpt-node-supervisor',provider: 'anthropic',model: 'claude-sonnet-4-5',workspacePath: process.cwd(),permissions: {read_file: 'allow',write_file: 'allow',run_command: 'ask',},mcpServers: {crowdgpt: {command: 'python3',args: ['-m', 'crowdgpt_telemetry_mcp', '--repo', 'Vxtzq/crowd-v1.5'],},},});async function launchVolunteerNode() {const result = await trainerOpsAgent.run('Verify GPU backend (CUDA/MPS/ROCm), set CROWDGPT_PARADIGM=relora and CROWDGPT_DELTA_CODEC=sparse, launch a bounded CrowdGPT training worker, and monitor held-out loss.');console.log('CrowdGPT Worker Status:', result.summary);}launchVolunteerNode().catch(console.error);
Watch: Related Video Guides
How AI Models Scale Beyond a Single GPU Across LLM Workloads
Training AI Models with Federated Learning
What Is CrowdGPT? Datacenterless Pretraining Mechanics
CrowdGPT (github.com/Vxtzq/CrowdGPT, GPL-3.0) is an open-source distributed pretraining coordinator and single-file Python volunteer client that trains shared language models across consumer GPUs without centralized A100/H100 clusters. Instead of reading local user files, each worker streams 10 MB slices of the public Hugging Face dataset over HTTP Range requests, trains locally in bfloat16 (~1.3 GB weights, ~4–6 GB total disk space), and uploads only the mathematical weight difference (delta).
| Model Generation | Status | Architecture & Precision | Memory / Bandwidth Optimization |
|---|---|---|---|
| Crowd-v1 | Shipped | 1B Dense Transformer, 24 layers, GQA, 151K Qwen3 tokenizer, BF16 | ~1.3 GB weights + 10 MB shards |
| Crowd-v1.5 | Active (v4.1) | Rebuilt 1B pipeline, stricter peer cross-check & aggregation | 5 opt-in paradigms + sparse delta codec |
| Crowd-v2 | Planned | 2B Dense parameters + 1B Engram parameters | Selective engram row delta upload (<=10%) |
Five Training Paradigms & Sparse Wire Compression
CrowdGPT v4.1 lets volunteer nodes select how each round optimizes weights via --paradigm (or CROWDGPT_PARADIGM) while normalizing every upload to the coordinator's flat whole-model layout so heterogeneous clients collaborate in the same round.
| Paradigm | Local Optimization Mechanism | Key Environment Controls |
|---|---|---|
| `backprop` | Standard full-model cross-entropy backpropagation | Default when unset |
| `solo` | Trains a single module via local auxiliary prediction head | CROWDGPT_SOLO_MODULES (default 2) |
| `relora` | Low-rank adapter updates folded into weight slice on upload | CROWDGPT_RELORA_RANK (default 8) |
| `dust` | Gradient-free random-direction ensemble estimation | CROWDGPT_DUST_POPULATION, CROWDGPT_DUST_SIGMA |
| `mosaic` | Contiguous slice local optimization, merged by server | CROWDGPT_MOSAIC_SLICES, CROWDGPT_MOSAIC_LOCAL_STEPS |
To prevent home broadband uplinks from bottlenecking aggregation, CrowdGPT adds two opt-in wire reducers: CROWDGPT_DELTA_CODEC=sparse uploads only the top CROWDGPT_SPARSE_FRAC (0.02, i.e., 2%) of coordinates by magnitude while retaining residuals via local error feedback, and Engram row filtering uploads only rows carrying CROWDGPT_ENGRAM_DELTA_MASS (0.995), capped at CROWDGPT_ENGRAM_DELTA_MAX_FRAC (0.10).
Installing the Headless Client & Coordinator Poisoning Defenses
Because default PyPI torch wheels are CPU-only, the CrowdGPT installer detects your hardware and pulls the matching wheel (cu124, cu118, rocm6.1, xpu, or cpu) into an isolated virtual environment.
# Install isolated CrowdGPT volunteer client (Linux / macOS)
curl -sSL https://raw.githubusercontent.com/Vxtzq/CrowdGPT/main/install.sh | bash
# Run Crowd-v1.5 worker with ReLoRA and 2% sparse delta compression
export CROWDGPT_PARADIGM=relora
export CROWDGPT_RELORA_RANK=8
export CROWDGPT_DELTA_CODEC=sparse
export CROWDGPT_SPARSE_FRAC=0.02
python client.py --headlessTo prevent gradient poisoning, the coordinator enforces four deterministic checks on every submitted delta: (1) zero NaN or Inf values, (2) exact parameter tensor shape matching, (3) L2 norm bounds within statistical thresholds, and (4) drift checks against peer baselines, banning repeat-offending subnets before pushing aggregated weights to Hugging Face every 4 hours.
Apple Silicon & AMD ROCm Support
Mac M1–M3 GPUs run natively via PyTorch MPS, and Linux AMD GPUs use ROCm 6.1 automatically. Keep at least 4–6 GB free disk space for temporary delta checkpoints (auto-cleaned between rounds).
Testing & Evaluating CrowdGPT Checkpoints in Smoke Monkey
Once CrowdGPT pushes a 4-hour aggregated checkpoint to Hugging Face (Vxtzq/crowd-v1.5), developers can pull the open BF16 weights into Smoke Monkey Harness via Ollama or vLLM and run deterministic SWE, instruction-following, or domain regression suites—closing the loop between decentralized community training and local agent verification.
Frequently Asked Questions
Q:Does CrowdGPT read any personal files or local data on my machine?
No. The open-source single-file Python client streams 10 MB shards from the public CrowdGPT dataset on Hugging Face over HTTP Range requests and uploads only compressed weight deltas.
Q:How much bandwidth does CrowdGPT use with the sparse delta codec?
Enabling `CROWDGPT_DELTA_CODEC=sparse` transmits only the top 2% (`CROWDGPT_SPARSE_FRAC=0.02`) of weight delta coordinates by magnitude using error feedback, cutting uplink traffic by roughly 50x.
Q:How does the CrowdGPT coordinator block poisoned or malicious updates?
Every uploaded delta is verified for NaN/Inf values, exact architectural byte length, L2 norm bounds, and divergence from peer baselines; repeat offenders are subnet-banned.
Q:Can Apple Silicon Macs or AMD Radeon GPUs contribute to CrowdGPT?
Yes. The installer provisions PyTorch MPS on Apple Silicon M1–M3 Macs, ROCm 6.1 on Linux AMD GPUs, DirectML/WSL2 on Windows AMD, XPU on Intel Arc, and CUDA on NVIDIA cards.
Related Alternatives & Comparisons
Related Architecture Guides
View all guidesBest Open Source Coding Agents in 2026: Free, Local & Fully Hackable Harnesses
MCP Server Security Best Practices: Hardening Model Context Protocol Agents in 2026
Open Source Coding Agent Harness: Build a Forkable, Local AI Engineering Runtime
Build with Smoke Monkey Harness
Zero dependencies. 24 built-in tools. Human-in-the-loop safety. 100% open source under the MIT License.