Building a Local AI Learning Factory on a $200 Pascal GPU & a 4-Node Fleet
An unfiltered bare-metal engineering report from ELYRAON Labs — real hardware, real benchmarks, dead SSDs, and $0 in cloud GPU spend.
Honesty disclosure. Everything in this report comes from our live homelab and Factory 2.0 implementation records. Where a node broke (Node 2's SSD), where a CPU-bound 7B model stalled our worker queue, or where cloud frontier judges remained deliberately locked behind a $0 spend cap, we report the failure verbatim instead of polishing it away.
# 1. The Spark: Autonomous Coding Factories Without the Cloud Bill
After LangChain's viral X post about running an internal autonomous coding factory, we asked a blunt engineering question: how much of a self-verifying coding and learning loop can you run locally on cheap, depreciated hardware you actually own?
Most "agent factory" demos assume unlimited frontier API credits, elastic Kubernetes clusters, and cloud GPU rentals that quietly burn hundreds of dollars a week. We wanted the opposite: a deterministic, lease-fenced local fleet that can claim bounded engineering tasks, generate or modify code in isolated git worktrees, run immutable acceptance tests, and verify patches with $0 in mandatory cloud spend.
What we ended up building sits under a desk and on a small shelf: one dual-GPU main workstation anchored by a ~$200 Pascal datacenter card, four upgraded Dell compute nodes, and a resurrected legacy 4-bay NAS.
# 2. Bare-Metal Topology: $200 Pascal GPU, 4 Upgraded Dells & a Resurrected NAS
Instead of buying one expensive workstation GPU, we split the problem into three distinct tiers: VRAM-heavy inference on MAIN, isolated CPU worker lanes across 4 upgraded Dell nodes, and asynchronous cold artifact storage on a resurrected NAS.
# 2.1 Fleet hardware inventory
| Tier / Node | Hardware | Memory / VRAM | Primary Role in the Fleet |
|---|---|---|---|
| MAIN | Primary workstation + 24 GB Pascal datacenter GPU + 8 GB secondary GPU | 32 GB RAM · 32 GB vram | Manager daemon (factory-manager.service), SQLite task queue, independent SHA validation, and primary GPU inference lanes |
| N1–n4 | 4 upgraded Dell compute nodes (N2 temporarily downgraded after an SSD failure) | ~96 GB RAM combined across the 4 nodes | Stateless coding workers in isolated git worktrees (N1/N4 worker lanes, N3 integration/release node) |
| Legacy NAS | Resurrected 4-bay Iomega StorCenter ix4-200d | 4-bay RAID archive | Cold archive for verified release artifacts, logs, and immutable audit bundles via asynchronous outbox transfer |
Homelab reality check: mid-build, Node 2's SSD died and took that node out of active rotation until replaced. Because our dispatcher uses explicit worker registration and lease tokens rather than hardcoding static host assumptions, losing N2 degraded total capacity cleanly without corrupting the queue or losing task state.
# 2.2 The resurrected NAS rule: never put SQLite on NFS
Bringing an old 4-bay Iomega StorCenter ix4-200d back from the dead is great for cheap bulk storage, but it taught us a strict distributed-systems boundary early: never place active multi-writer SQLite databases on NFS.
All live task queues, lease fencing tokens, and reasoning state stay strictly local on MAIN's local disk. The resurrected NAS sits behind an asynchronous outbox bridge (vault_bridge) that only receives verified, immutable artifacts and archives. If the NAS reboots or drops off the LAN, active fleet workers keep running without lock corruption.
# 3. Taming a $200 Pascal Datacenter GPU in 2026 (< $10/GB VRAM)
The hero of the entire setup is a used 24 GB Pascal-generation datacenter GPU paired alongside an 8 GB secondary GPU inside our main PC — giving us 32 GB of local VRAM at a cost of under $10 per gigabyte on the Pascal card.
# 3.1 Cooling a passive datacenter card on a budget
The catch with a $200 datacenter GPU is thermal design: passive server cards ship with zero onboard fans, expecting high-static-pressure 2U server chassis airflow. Getting proper cooling rigged up in a standard workstation took real iteration. It isn't pretty, and it won't win any cable-management awards, but once static pressure across the heatsink fins was dialed in, thermals stabilized under sustained inference loads — and the economics (24 GB VRAM for ~$200) are still unbeatable for a solo builder.
# 3.2 Why Pascal shines on big MoE models & 50+ tok/s local runs
Conventional wisdom writes off Pascal cards because they lack modern Tensor Cores and native BF16/FP8 pipelines. In practice, 2026 local LLM serving has shifted heavily toward sparse Mixture-of-Experts (MoE) architectures and aggressive quantization (Q4/Q5/QAT):
- Capacity beats raw FLOPs for MoE: Large MoE models need lots of VRAM to hold all expert weights in memory, while only activating a fraction of parameters per generated token. A 24 GB Pascal card + 8 GB secondary card holds models that simply OOM on newer 8 GB–12 GB consumer cards.
- Real local throughput: On our dual-GPU host, Qwen 27B abliterated sustains 50+ tokens/sec, while our verified ORDIVYR harness benchmark on local GPU dispatch ran Gemma-4-12B QAT across 16/16 validated agent tasks at 6.57 tasks/min (7.4 GiB VRAM) with zero duplicate commits.
- Dedicated semantic audit lane: The 24 GB card also serves Qwen3.5-9B locally for semantic contradiction and prompt-injection checks inside Dataset Doctor with zero customer data leaving localhost.
# 4. Factory 1.0 → 2.0: Lease-Fenced Dispatch & Deterministic Guardrails
Hardware alone doesn't make a coding factory useful. Our first iteration (Factory 1.0) could only rewrite single functions and suffered from fragile substring matching — for example, a prompt containing the word "Add" once collided with an unrelated add() function name, causing a silent MODEL_CODING_FAILURE.
In Factory 2.0, we kept the lightweight SQLite + Python architecture (no heavy Kubernetes or third-party agent frameworks) and hardened every boundary between model output and repository state:
- Explicit task contracts: Every admitted job pins
repo_id,base_ref, explicit{file, name}targets,files,create_files, and an immutabletest_sha256. Admission rejects overlapping file sets, unsafe relative paths, or attempts to create/modify test files. emit_onlymode for new modules: Asking small local models to reproduce unchanged sibling files verbatim caused unnecessary syntax drift. Addingemit_onlyrestricts generation strictly to the new module being created.- Deterministic pre-write validation: Every emitted Python file passes
ast.parsesyntax checking, allowed-path enforcement, and git patch integrity checks before touching disk. Workers execute inside isolated git worktrees (factory/task-*) with zero arbitrary shell execution from model output. - Fail-closed cloud spend gate: Frontier judge adapters exist in the codebase (
42/42local protocol unit tests passing), but live cloud calls hard-fail unless an explicit owner spend-cap attestation file exists. Cloud spend throughout the entire build: $0.
# 5. Measured Benchmarks & Honest Failure Modes
To test whether CPU-only Dell worker nodes could carry the full coding workload on their own while the GPUs handled other jobs, we ran an identical 4-task battery (single-function rewrite, add-function, create-file, multi-file edit) through the worker's own validation path on CPU (-t 6, -ngl 0, 4096 context):
# 5.1 The CPU capability-vs-throughput wall
| Local Model (CPU-Only) | Pass | Rewrite | Add-Fn | Create-File | Multi-File | Gen Speed | Battery Time |
|---|---|---|---|---|---|---|---|
qwen2.5-coder-0.5b-instruct-q8 |
2 / 4 | Pass | Fail | Fail | Pass | ~33 tok/s | 2.6 s |
Qwen2.5-Coder-7B-Instruct-Q5_K_M |
4 / 4 | Pass | Pass | Pass | Pass | ~3 tok/s | 81.8 s |
The result was crystal clear: the 0.5B model is fast enough for trivial rewrites (~33 tok/s) but physically cannot create modules or add functions reliably. The 7B model passes 4/4 capabilities — but at ~3 tok/s on CPU, it hits a brick wall under real repository tasks.
# 5.2 Real product task postmortem: emit_only & slot-busy pileups
When we pointed the CPU-only 7B worker on Node 4 at a real production utility (ELYRAON Workflow Autopsy — adding a missing event_counts(rows) summary helper in a new stats.py module), two real failures surfaced immediately:
- Task 12 (whole-file mode): Failed with
MODEL_CODING_FAILUREbecause the 7B model failed to reproduce an unchanged__init__.pyfile byte-for-byte. Fixing this led directly to shippingemit_onlymode. - Tasks 13–14 (
emit_onlyon CPU): Failed withslot busy— each ~11-minute CPU generation held worker-2's single slot long enough to starve follow-on dispatches.
That benchmark proved the exact architectural split we run today: CPU-only Dell nodes are great for fast triage, isolated test execution, git worktrees, and tiny rewrite lanes — while the capable coding lane belongs on the $200 Pascal GPU / MoE tier where generation jumps from ~3 tok/s to 50+ tok/s and clears the queue before slot contention can form.
# 6. Lessons Learned & Local-First Tooling Built From This Fleet
Running a messy, real-world 4-node fleet on depreciated hardware forced us to build tooling around the exact failure modes we kept hitting — and several of those internal tools became standalone ELYRAON products:
- Multi-agent fleet supervision: Keeping track of local workers, Claude Code/Codex sessions, and stalled slots became JEV Fleet Command and the open-source ORDIVYR Desktop Harness (37 MB coordinator RAM baseline, 0.15 CPU-s/task).
- Cross-session memory: Stopping agents from forgetting constraints after a node reboot or dead SSD became ELYRAON Continuity Engine (local Python + SQLite decision ledger).
- Execution forensics: Diagnosing why automated runs silently failed, retried, or hit slot timeouts became ELYRAON Workflow Autopsy and our free browser-based Workflow Rescue checker.
- Deep inference research: Understanding why sparse MoE models and KV-cache compression let cheap VRAM punch above its weight connects directly to our DeepInfer (DeepSeek-V4.1-Flash) architecture dissection.
You don't need an H100 rack to build real autonomous systems. A $200 Pascal GPU with ugly-but-effective cooling, a handful of upgraded Dell boxes, a resurrected NAS kept strictly out of the SQLite write path, and ruthless deterministic guardrails will teach you more about production agent reliability than a $5,000 cloud bill ever will.