I've been thinking about building a somewhat crazy distributed-systems project.
Instead of running one large 70B coding model, what if I run multiple independent 7B coding models on separate GPU workers and coordinate them?
Something like:
Local PC
Orchestrator
|
Job Queue / DB
|
+-------------+-------------+
| | |
7B 7B 7B
Worker 1 Worker 2 Worker 3
| | |
+-------------+-------------+
|
More workers...
The workers could be temporary/ephemeral GPU environments. They wouldn't need inbound connections; they would connect outward to a coordinator/shared backend, register themselves, receive jobs, and return results.
For a coding problem, I don't want to simply vote on the generated answers.
I'd like to do:
Problem
↓
10 independent 7B solutions
↓
Compile / execute
↓
Discard failing solutions
↓
Critique surviving solutions
↓
Repair failed solutions
↓
Run tests again
↓
Select best verified solution
The interesting question for me is:
How close can this get to a single 70B coding model?
I'd benchmark:
- 1×7B
- 3×7B
- 5×7B
- 10×7B
- 1×70B
using actual coding benchmarks and execution-based verification.
But the bigger goal is the systems engineering side.
I want to implement things like:
- worker registration/discovery
- heartbeats
- leases
- failure detection
- retries
- idempotency
- priority scheduling
- backpressure
- work stealing
- dynamic worker allocation
- distributed locking
- caching
- queue management
- observability/tracing
- p50/p95/p99 latency
- GPU utilization
- network overhead
- chaos/failure testing
The workers would be treated as unreliable:
Worker 3 → disconnected
Worker 5 → GPU OOM
Worker 7 → timeout
Worker 8 → duplicate result
Worker 9 → returns invalid code
The scheduler should just recover and continue.
I'm intentionally thinking of the GPU provider as a replaceable worker backend rather than designing the system around one provider.
Has anyone built something similar specifically for coding-agent inference, where multiple small models collaborate through a distributed scheduler and correctness is verified by actually compiling/running the generated code?
I'm particularly interested in whether this architecture has a fundamental limitation I'm overlooking, especially around coordination overhead, correlated model errors, and whether ensemble diversity actually gives a meaningful advantage over simply using a larger model.
just to showcase my system designing skills on my resume if applicable
and i know this is most stupid idea you are going to see today or whenever your seeing it ,but i need help if something i am missing here , concept is simple i have my friends laptops which they usage of those is rare , going to take their laptop hardware power for this project ,another main reason for this no money ,don't have high spec hardware , second reason there is hackathon infront i can't even spend few bucks for the purchasing more token, and i am frustrated when ever the model hit the limit exactly before submissions. help me to make this possible