Mindket

DaisyChain-Web

Newversion 1 · updated

Overview

Train a small shared model by opening one web page on two or more devices. Browsers link directly over WebRTC and average their gradients, with no install or account. A proof of concept.

DaisyChain-Web is a kit in the Developer category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page, a zip of its files. Nothing in it runs by itself.

At a glance

You need
  • Node and npm for the direct route, or Docker for the container route
  • Python and pip, for the hf download command
  • Two browser tabs or two devices, to see the training connect
Runs in
  • A web browser, on the Space's page at Hugging Face
  • A local Node server on Windows, macOS or Linux, opened in two tabs or on two devices
  • A local Docker container on port 7860
  • Hugging Face's cpu-basic hardware, where the online Space runs
Start with
pip install -U huggingface_hub
hf download Quazim0t0/DaisyChain-Web --repo-type space --local-dir DaisyChain-Web
cd DaisyChain-Web

Platform

WindowsOperating system
macOSOperating system
LinuxOperating system
DockerContainer

About

What it is

DaisyChain-Web is the browser version of the DaisyChain project. Open one page on a few devices and each becomes a training peer for the same model. The devices link directly to each other over WebRTC and average their gradients as they go.

The math runs through INT8 units that the project calls verified, as a lookup-table multiply on WebGPU. Older machines fall back to the CPU.

Who it suits

It suits people who want to watch distributed training happen between browsers, and developers who want to read a small WebRTC and WebGPU project. The author calls it a proof of concept.

IndustryWho uses itHow they use itExample
Machine learning researchResearchersJoin two devices into one training run and watch the shared lossTesting gradient averaging between a phone and a laptop
EducationStudentsOpen two tabs and click Start training in eachSeeing distributed training with nothing to set up
Web developmentBrowser developersRead server.js, app.js and webgpu.jsLearning how a WebRTC mesh and a WebGPU shader fit together
Embedded and edge AIHardware-minded engineersStudy the INT8 lookup-table units in the browserChecking how quantize, multiply and dequantize are done

Skip it if you need a hardened service for strangers, since the project says it is not built for that.

Where to use it

The page runs in these places.

  • A web browser, on the Space's page at Hugging Face
  • A local Node server on Windows, macOS or Linux, opened in two tabs or on two devices
  • A local Docker container on port 7860
  • Hugging Face's cpu-basic hardware, where the online Space runs
Use caseWhoWhat they get back
Start a shared training runResearchersA shared loss that falls on every connected device
Check the training math without a browserDevelopersThe result of a two-peer gradient averaging test
Study the INT8 unitsEngineersBrowser code for the quantize, multiply and dequantize steps

How to set it up

Online you only need a browser. A local copy needs these.

  • Node and npm for the direct route, or Docker for the container route
  • Python and pip, for the hf download command
  • Two browser tabs or two devices, to see the training connect
  1. Install the huggingface_hub package.
  2. Download the Space's files into a folder with the hf command.
  3. Move into that folder.
  4. Either build and run the Docker image, or install the Node packages and start the server.
pip install -U huggingface_hub
hf download Quazim0t0/DaisyChain-Web --repo-type space --local-dir DaisyChain-Web
cd DaisyChain-Web

For the container route, continue with these two commands.

docker build -t daisychain-web .
docker run -it -p 7860:7860 daisychain-web

For the Node route, continue with these two commands instead.

npm install
npm start

How to use it

Start the server, then open the page it serves in two browser tabs or on two devices. They find each other and connect directly. Click Start training on each one and watch the shared loss fall on both.

Only devices on the same network find each other on their own. To link people on other networks, everyone adds the same room code to the page address through the room parameter.

ToolWhat it does
npm startStarts the signaling server that also serves the page
npm testRuns a two-peer gradient averaging check without a browser

Example

You run npm start, open the page in two tabs and click Start training in each one. Both tabs show the same loss curve falling, and the two copies of the model stay identical.

For newcomers and experts

If you are new, open the Space's page on two tabs of your own browser and click Start training in each. You do not need an account, and nothing is installed. Do this only with devices you trust.

If you know the field, every peer starts from the same seeded weights, trains on its own data shard and broadcasts its gradient each step. All peers average everyone's gradients, so they converge to one model. server.js only relays WebRTC handshakes and hosts the files, and the compute never passes through it.

  1. Open the page on two or more devices
  2. A small server introduces the peers
  3. Peers connect directly over WebRTC
  4. Each trains and shares its gradients
  5. All peers average them and stay in sync

Good to know

Each device links straight to the others, which exposes your IP address to every device in your group. Nothing verifies who sends a gradient, so a hostile peer could spoil the shared model. The run stops and keeps its weights when a gradient is malformed, meaning NaN, Inf or the wrong length. A bad gradient with ordinary numbers still gets averaged in.

  • License: MIT
  • Cost to run: none named. The project says there is no install and no account
  • Data it reaches: the other peers' IP addresses and gradients, plus the signaling server that relays handshakes. The Space names the fineweb-edu dataset
  • Not for: public use with strangers. WebGPU and cross-device WebRTC also need a secure context, such as localhost

README and files

README

DaisyChain-Web

Train a small shared model by opening one web page on two or more devices. Browsers link directly over WebRTC and average their gradients, with no install or account. A proof of concept.

Made by Quazim0t0 on Hugging Face. These notes are Mindket's, written from its Space page and README; the app's own files and license are on Hugging Face.

About

What it is: DaisyChain-Web is the browser version of the DaisyChain project. Open one page on a few devices and each becomes a training peer for the same model. The devices link directly to each other over WebRTC and average their gradients as they go.

The math runs through INT8 units that the project calls verified, as a lookup-table multiply on WebGPU. Older machines fall back to the CPU.

Who it suits: It suits people who want to watch distributed training happen between browsers, and developers who want to read a small WebRTC and WebGPU project. The author calls it a proof of concept.

Industry | Who uses it | How they use it | Example
Machine learning research | Researchers | Join two devices into one training run and watch the shared loss | Testing gradient averaging between a phone and a laptop
Education | Students | Open two tabs and click Start training in each | Seeing distributed training with nothing to set up
Web development | Browser developers | Read server.js, app.js and webgpu.js | Learning how a WebRTC mesh and a WebGPU shader fit together
Embedded and edge AI | Hardware-minded engineers | Study the INT8 lookup-table units in the browser | Checking how quantize, multiply and dequantize are done

Skip it if you need a hardened service for strangers, since the project says it is not built for that.

Where to use it: The page runs in these places.

  • A web browser, on the Space's page at Hugging Face
  • A local Node server on Windows, macOS or Linux, opened in two tabs or on two devices
  • A local Docker container on port 7860
  • Hugging Face's cpu-basic hardware, where the online Space runs
Use case | Who | What they get back
Start a shared training run | Researchers | A shared loss that falls on every connected device
Check the training math without a browser | Developers | The result of a two-peer gradient averaging test
Study the INT8 units | Engineers | Browser code for the quantize, multiply and dequantize steps

How to set it up: Online you only need a browser. A local copy needs these.

  • Node and npm for the direct route, or Docker for the container route
  • Python and pip, for the hf download command
  • Two browser tabs or two devices, to see the training connect
  1. Install the huggingface_hub package.
  2. Download the Space's files into a folder with the hf command.
  3. Move into that folder.
  4. Either build and run the Docker image, or install the Node packages and start the server.
pip install -U huggingface_hub
hf download Quazim0t0/DaisyChain-Web --repo-type space --local-dir DaisyChain-Web
cd DaisyChain-Web

For the container route, continue with these two commands.

docker build -t daisychain-web .
docker run -it -p 7860:7860 daisychain-web

For the Node route, continue with these two commands instead.

npm install
npm start

How to use it: Start the server, then open the page it serves in two browser tabs or on two devices. They find each other and connect directly. Click Start training on each one and watch the shared loss fall on both.

Only devices on the same network find each other on their own. To link people on other networks, everyone adds the same room code to the page address through the room parameter.

Tool | What it does
npm start | Starts the signaling server that also serves the page
npm test | Runs a two-peer gradient averaging check without a browser

Example: You run npm start, open the page in two tabs and click Start training in each one. Both tabs show the same loss curve falling, and the two copies of the model stay identical.

For newcomers and experts: If you are new, open the Space's page on two tabs of your own browser and click Start training in each. You do not need an account, and nothing is installed. Do this only with devices you trust.

If you know the field, every peer starts from the same seeded weights, trains on its own data shard and broadcasts its gradient each step. All peers average everyone's gradients, so they converge to one model. server.js only relays WebRTC handshakes and hosts the files, and the compute never passes through it.

Open the page on two or more devices
A small server introduces the peers
Peers connect directly over WebRTC
Each trains and shares its gradients
All peers average them and stay in sync

Good to know: Each device links straight to the others, which exposes your IP address to every device in your group. Nothing verifies who sends a gradient, so a hostile peer could spoil the shared model. The run stops and keeps its weights when a gradient is malformed, meaning NaN, Inf or the wrong length. A bad gradient with ordinary numbers still gets averaged in.

  • License: MIT
  • Cost to run: none named. The project says there is no install and no account
  • Data it reaches: the other peers' IP addresses and gradients, plus the signaling server that relays handshakes. The Space names the fineweb-edu dataset
  • Not for: public use with strangers. WebGPU and cross-device WebRTC also need a secure context, such as localhost

On Hugging Face, 13 November 2026

  • Likes: 18
  • Built with: docker
  • License: mit

Links

Try it

Open the Space in your browser, or copy it to your own Hugging Face account from its page. Nothing in this kit runs by itself.

Files
README.md  6 KB

1 file, 6 KB, downloaded as a zip.

What’s new

  • Version 1 · 2026-11-12

Compare with similar

Listed Hugging Face Spaces in the same category that share the most tags with this one.

ProductLikesBuilt withLicenseLast change
DaisyChain-Web This page18dockermit
Zero GPU SpacesShares docker985dockermit
KimodoShares docker340dockerapache-2.0
Harness LeaderboardShares docker323dockerapache-2.0
FlowiseShares docker132dockermit
Multitrack Midi Music GeneratorShares docker130dockermit
Numbers as Mindket last read them, on 2026-11-12.

Reviews

No ratings yet

Write a review

No reviews yet.

More from Mindket

See all from Mindket

Nanosaur2-670M

well9472 · Kit

Makes illustrations from text prompts with a small 670M-parameter diffusion model, run through ComfyUI. Built as a low-budget research model for people who wan…

New

Reads handwritten Arabic text from images and returns it as text. A fine-tuned PaddleOCR-VL model for people digitizing Arabic handwriting.

New

Makes video clips from a text prompt or an image plus text, at up to 720P and 24 frames per second, in the Diffusers format for a single consumer GPU.

New

Similar in Developer

See all in Developer

Wan2.2-S2V-14B

Wan-AI · Kit

Generates cinematic video of a character driven by an audio track, and can also lip-sync existing video. For video creators, animators and researchers with a l…

New

Wan2.2-Animate-14B

Wan-AI · Kit

Animates a character or swaps one into a video by copying a performer's movement and expressions, as one model from the Wan2.2 video family. Use only faces and…

New

d3-turbo

vllm-sr · Kit

Answers choice, yes-or-no, score, box and tracking questions about text, images or video in one call, with a probability for each answer. For people building r…

New