We’re building Ygaraty: distributed AI across browser GPUs, with a share-a-link app and an open research engine
Ygaraty
Intelligence built together.
Hey everyone! We’re building Ygaraty, an open-source project exploring how to run and train models across the devices people already have.
The idea is simple: launch a model, share a link, and let other devices contribute their GPUs. Underneath that experience is a harder question: how do we make different GPUs, memory capacities, and network connections work together usefully?
There are two parts to the project: Yby, the application you can use to launch and chat with models, and Ygaraty, the distributed compute framework and execution engine behind it.
Yby: launch, share a link, chat
Yby is the practical entry point. You launch a session, get a contributor link, and open it yourself or share it with other people. Contributors open the link in a supported browser, accept participation, and their devices load the model layers they will process.
Once the workers are ready, you can chat from the terminal, a browser interface, or an application using the OpenAI-compatible API.
The browser contribution path means someone can join without installing a Python environment or setting up a machine-learning stack. There are also command-line and native WebGPU worker options.
An integrated laptop GPU can be enough to get started with a small model. Larger models can be split across workers, reducing how much model memory each worker needs.
Inference is working today. The repository documents tested models, memory requirements, reference comparisons, and measured performance. The current published presets support one to four workers, with limits documented explicitly.
Ygaraty: the framework underneath
We’re also building our own compiler and execution engine for distributed computation.
The broad goal is to describe a computation once and turn it into a plan that says what each worker computes, which tensors it needs, and what must cross the network.
The framework includes a tensor computation graph, automatic differentiation, compiler passes that split and group work, analysis tools, execution runtimes, training recipes, and WebGPU kernels.
This gives us a place to investigate questions like:
- How should a model be divided when devices have different memory capacities?
- When does adding another worker help, and when does communication erase the benefit?
- Which operations should stay together to avoid unnecessary transfers?
- How can training do more useful work between synchronization rounds?
- How do we check that a distributed execution still computes the intended result?
Our longer-term goal is to make this useful for a broader range of models and scientific computations. Supporting arbitrary computation seamlessly is still a research goal; the repo records where we are today.
Why WebGPU?
We chose WebGPU because we want participation to be as seamless and multiplatform as possible.
A link is a convenient way to invite someone into a computation. WebGPU gives us a GPU programming interface that can work across different hardware and operating systems, through supported browsers and native runtimes.
That matters for a project built around heterogeneous devices. We want to make use of the GPU someone already has, with as little setup as possible.
There are real tradeoffs. Browser and driver support vary, memory limits matter, and optimized native implementations can be faster. We’re researching those gaps directly: GPU kernels, memory bandwidth, dispatch overhead, quantization, and the cost of moving data between devices.
Networking matters just as much. Splitting a model across more GPUs can make it fit, but doesn’t automatically make one conversation faster. Placement, bandwidth, latency, and concurrent workloads all affect the result.
Making those tradeoffs measurable is a substantial part of the project.
What we’re researching
Distributed inference is the most immediately usable part, but the research goes further:
- Distributed training with DiLoCo: workers perform local training steps and periodically combine updates, reducing how often they need to synchronize.
- Compiler and numerical correctness: checking graph transformations, gradients, and distributed results against reference implementations.
- Scheduling and communication: studying placement, direct worker connections, batching, and how slower devices or links affect the whole computation.
- WebGPU performance: understanding where time goes and testing optimizations against correctness checks.
- Workloads beyond chat: including matrix factorization and an engineering experiment involving protein embeddings, with explicit worker memory budgets.
The reports include successes, failures, and results that only hold under particular conditions. For example, historical DiLoCo experiments trained across eight machines, while a protein-space factorization experiment checked WebGPU results against a numerical reference. Those are specific experiments with stated limitations, rather than promises of universal scaling.
Training remains ongoing research. Historical experiments are available, but we have not yet timed a distributed training run of the current public code. We distinguish those reports from the current supported inference workflow.
You can contribute with an AI agent
One direction we’re particularly excited about is making the framework approachable enough that you can open the repository with an AI coding agent and ask:
“Implement this model in Ygaraty’s distributed fashion. Reuse the existing graph, compiler, and runtime where possible. Add a small reference implementation, check numerical agreement, and document how to reproduce the experiment.”
That can be a starting point for a contribution.
The repository exposes the pieces an agent needs to inspect: model builders, compiler contracts, runtime code, kernels, examples, and research reports. You can ask it to implement a small architecture, adapt a paper’s method, investigate a bottleneck, or reproduce an existing result.
New operations may require compiler work or new kernels. Generated code still needs review and validation. But you can begin with a question and use an agent to help turn it into an implementation and an experiment.
We want that path—from “could this work?” to something another person can run and check—to become much easier.
What we mean by open research
We want people to be able to participate while the questions are still open.
That means sharing the implementation, methods, configurations, comparisons, limitations, and negative results. Someone should be able to reproduce a result, challenge its interpretation, or extend it to different hardware.
An optimization that made things slower is useful evidence. So is a numerical mismatch, a reproduction on an integrated GPU, or a finding that an apparent speedup disappears over a real network.
You don’t need a large GPU or a finished paper to contribute. Useful contributions include:
- Trying Yby and reporting your hardware, runtime, and experience.
- Reproducing an experiment or adding a better baseline.
- Implementing a model or a small scientific workload.
- Improving a kernel, compiler pass, or scheduling decision.
- Investigating correctness, memory use, or recovery behavior.
- Improving documentation and examples.
For research contributions, we ask for a clear question, a reproducible method, results, and limitations. Small, focused experiments are welcome.
The project is experimental and MIT licensed. We’d love to hear from people interested in distributed systems, browser computing, GPU programming, machine learning, or simply making more use of the hardware around them.