Tessera

An open collective to empower fellow hobbyists. Shared compute, Shared freedom.

Tessera

Created At

ETHGlobal Mumbai

Project Description

Apparently, we live in an era where RAM held by consumers and fellow hobbyists is RAM wasted. We boldly disagree.

Tessera is an open collective where hobbyists pool their spare laptops to train machine learning models together, without having to trust each other. Training good models usually takes a data center. We think a community of ordinary machines can do it too, and that the people who contribute the compute should own the result and get paid for it. A requester posts a job and locks a budget in TOD, priced from the job's spec at 1 TOD for at least 1 GFLOP (a billion floating-point operations) of training. Each round, a group of nodes is seated and each one trains on its own slice of the data, commits to a hash of its checkpoints, then reveals it. Verifiers replay that work with a deterministic kernel that produces the same bytes on x86 and ARM, so a lazy or cheating node gets caught and loses its stake, while honest nodes are paid onchain. Owners verify with World ID, and one owner can't hold two seats in a round, so nobody can fill a round with their own machines. Finished models are indexed on Arkiv for fast lookup and stored on Swarm, so anyone can find, download, check and build on them. Anyone can also host a competition: the host locks a prize and a salted hash of the hidden labels, entrants commit their predictions, and a contract with no admin scores the entries and pays the winner. Joining takes one command: install the node, pair it with your wallet, verify, stake and run. Every contributor gets a public profile with their nodes, verified work and earnings, so reputation is built from real work rather than claims. Everything is open source, trains on public datasets and is verified in the open, which makes it a platform for hobbyists, by hobbyists. Shared compute, shared freedom.

How it's Made

The contracts are Solidity, built and tested with Foundry and OpenZeppelin. The token, node registry, job market and competitions contract are deployed on Base Sepolia. The registry and market handle stake, slashing, commit-reveal and payouts. The coordinator is Python with FastAPI and SQLite. It seats nodes, stores specs and weights by hash, and prepares each round's settlement, which two verifiers replay and co-sign with EIP-712 signatures before it goes onchain. Everything it serves can be checked against hashes recorded on the chain. Nodes run a Python CLI that ships as a multi-arch Docker image (amd64 and arm64), so joining needs nothing but Docker. Job code runs in a throwaway container with no network, a read-only root and capped CPU and memory. The web app is Next.js, wagmi and viem on Vercel, and there's also a terminal UI for operators. The hacky part is the exact kernel. Normal ML libraries don't give identical floats across machines, so we wrote a fixed-order training kernel on numpy. Every PR runs the tests natively on both x86 and ARM runners and compares the hashes byte for byte. It's far slower than BLAS, but it means a verifier can replay a round and match it exactly. Even the data order is fixed: each node's batches come from a seeded shuffle derived onchain, so nobody picks their own data. Because the steps are fixed, we can count a job's operations from its spec alone, a bit like gas, and price the job in GFLOP from that count instead of trusting anyone's self-reported compute. Accepted updates are combined with a trimmed mean, and a validation gate drops any update that makes the model worse. For GPU training we're adding a second replay mode that checks results against measured tolerance bands, since GPUs can't be made bit-exact. World ID gives us one person per owner, which stops one person filling rounds with fake nodes. Arkiv is our public index of finished models and job data, so anyone can query it without going through our servers. Swarm holds the actual files, referenced from those Arkiv records. The competitions contract scores entries itself by checking each reveal against its commitment and counting correct answers, so it needs no oracle or trusted scorer. One more small hack: a new node's operator key starts with no ETH, so on first start it asks the coordinator for a small gas top-up, rate limited per node. The hacky part is the exact kernel. Normal ML libraries don't give identical floats across machines, so we wrote a fixed-order training kernel on numpy and CI compares its hashes on x86 and arm. It's far slower than BLAS, but it means a verifier can replay a round and match it to the byte. Because the steps are fixed, we can count a job's operations from its spec alone, a bit like gas, and price the job from that count instead of trusting anyone's self-reported compute.

World ID gives us one person per owner, which stops one person filling rounds with fake nodes. Arkiv is our public index of finished models and job data, so anyone can query it without going through our servers. Swarm holds the actual files, referenced from those Arkiv records. The competitions contract scores entries itself by checking each reveal against its commitment and counting correct answers, so it needs no oracle or trusted scorer.

background image mobile

Join the mailing list

Get the latest news and updates