Repository navigation
Releases
Releases · ToniBirat7/dscp
v0.12.10
dscp-worker v0.12.10, desktop 0.4.10. The release after the pilot's week: what the week found, and the backlog behind it. 0.12.8 and 0.12.9 were the pilot's unpublished hotfixes; their fixes are here.
Every machine in a pool runs one version: upgrade the coordinator first (dscp coordinator upgrade v0.12.10), then each agent aligns when it starts.
A machine whose card fails (the pilot's week)
- A trainer that finds no usable CUDA device says so to the pool as the machine's fault, instead of leaving silently and being handed the same work again; on the pilot it was handed out 95 times.
- The agent reads the driver's recovery action and steps aside when the card needs a reset, and its person is told the machine needs a reboot (
gpu-unusable). - A trainer that outlives SIGKILL takes its machine out of the pool the same way.
- A job that wakes onto a broken card is planned around it, or sleeps until a machine can hold it, instead of failing.
- A machine that answers but never asks for its work is left out of plans until it asks again; on the pilot the job waited on one for eight hours.
- A trainer that says nothing is told when the pool goes on without it, or when its job is put to sleep, and its agent stops it.
- A trainer that hangs while its machine still answers no longer fails its job: the machine is left out until its agent asks again, and the job goes on without it or sleeps (D29; chaos 11 three of three on the GPU, 2026-11-07).
- A runtime with no pip is given one (ensurepip) instead of being retried as a network fault.
A machine's first hour
- Two machines and a cable, nothing else, make a pool; the desktop app finds the pool on its network and asks before it joins.
- Pools are found over mDNS on IPv4 as well, at an IPv6 address, and through a join link that skips virtual interfaces.
- A failed join names every address it tried and why; a bare name means port 47615; the firewall check says where a coordinator's ports are shut, and a machine behind a router is not told to open its own.
- A machine under WSL's NAT is told the remedy is in Windows.
- A machine with no usable NVIDIA card is told why, and a driver too old for CUDA 12 offers its card as no memory instead of failing later.
install.shchecks the signature in Python where openssl is older than 3, runs the new binary before it replaces the old one, renames it into place, and finds the latest release without the GitHub API.- What is installed is the version asked for.
install.shsays how to usedscpin the shell it ran from; every command is named as it is typed (dscp provision,dscp coordinator,dscp agent).dscp service install --coordinatorwaits for the coordinator to answer before it printsdscp coordinator invite; a command that finds no coordinator names the service's journal first; a session with no systemd user manager is told to run in the foreground.- A pool named by hostname no longer makes the agent core-dump.
- A packaged worker (the
.deb) follows its pool's version into the user's own copy, instead of failing to write to /usr/bin. - A binary replaces itself only with a release that starts on its machine.
- A bad join link, a pool that does not answer, an expired invitation, a taken name, a command run before joining, a disk too small for the runtime, and clearing or moving storage under a running job each say one sentence and the one thing to do, the same in the terminal, the app and the page; a disk too small for the runtime gets the app's Free space button.
- Releases are published at github.com/ToniBirat7/dscp, which anybody can download from; the installer and
dscp upgradelook there.
Every OS, NVIDIA only (D40)
- Linux on Arm, Windows (x86_64 and Arm) and macOS (Apple Silicon and Intel) each have a release binary, built in CI on their own platform and signed with the one release key; Linux and Windows need nothing installed beside them.
- Windows installs from PowerShell with one line (
irm .../install.ps1 | iex): per user, no administrator, the release signature checked,dscpon the user's PATH. - The worker passes its tests on Windows and macOS runners and runs its first minute on each (
dscp version,doctor,status,storage,discover). On both, whether a process runs is asked of the OS, so a runtime build cut short no longer leaves several GB behind; a runtime moved on Windows has its scripts repointed whatever form of the path they name. - A Mac installs with the same
curl | shas Linux and is told it lends no GPU: it holds a pool, runs the app and chats;dscp statusthere says so, anddscp agentrefuses to register a machine no job can use. - A machine with no NVIDIA card is told so in one sentence (
no-nvidia-here), with what it can still do; the app shows it in place of every sharing control, and the tray says "Lends no GPU". dscp service installstarts at login with no administrator on every OS: systemd on Linux, LaunchAgents on a Mac (the coordinator, its nightly copy, its hourly snapshot), a per-user Run value on Windows, where the agent runs with no window; a Windows machine can keep the pool too (--coordinator).- On Windows the agent steps aside on battery and for a full-screen game, as on Linux; every process it starts ends with it, so a crash cannot leave a trainer holding the card; and it starts its new version itself when it aligns to the pool's.
- The runtime is built on each platform from a pinned standalone Python; Windows Blackwell cards get PyTorch's CUDA 13 build, which needs driver 580.88 or later.
- A coordinator fetches another platform's binary from the release the first time a machine of that platform asks, checked against the signed list before it is served.
Setting up a machine
- While an agent builds its Python and PyTorch, the app's This machine page shows the step, a bar and the time so far, instead of calling the agent dead after 75 s; a stop during the build ends pip at once.
- A runtime off the release's pins is rebuilt beside the old one; a failed build says why (
logs/pip.log), retries only the network, and backs off from 10 minutes to 6 hours. - A model's download has a total, so the app draws a bar; DSCP_MODEL_DIR is the model cache for the trainer too; a Hub id finds the copy kept under its basename.
Training
- A loss spike must also rise a nat above the running mean, not only triple it; a rollback rewinds to before the first spike it saw, its skip stays inside its lease, and the detector resumes where its checkpoint left it.
- A rolled-back stage that asks again is not told to restart again.
- A stage resumes from its own part of the checkpoint, where its lease had got to, with its own Adam moments, and never at a point its group already trained past.
- Every stage refuses a non-finite update, and a group whose weights are not finite misses the outer step.
- The last stage of a split tied model trains a head of its own; a from-scratch stage makes only the layers it holds; the streaming loader reads an MoE checkpoint into fused experts.
- A job names its learning rate, weight decay and adapter.
- The held-out set is spread over the corpus; a window that is all prompt is never trained or evaluated on.
- Lost groups' corpus spans come back to the pool; a group lost mid-span returns its lease whole.
- Model files come from the listing's commit, each token goes only where it is meant, and a gated model says so.
Scheduling
- An empty room during an open outer step puts the job to sleep instead of rejecting it, and an operator can revive a rejected or failed job at its frozen resume point.
- A machine is in one job at a time, and a job waits for a machine still evaluating a finished one.
- A group admitted at an outer-sync boundary clears the job's "limited to one group" note, and no group is admitted where the run ends.
- Who has arrived at the barrier is counted, not read; a whole-job plan forgets the old plan's group points; a frozen checkpoint holds the weights of its label's step.
Verifying work (D20)
- A verifier is stage 0 of 1; a claim names the windows it trained on and is challenged only against the weights it ran on.
- A check this machine could not complete is not tried again on every poll.
Serving and the OpenAI-compatible API
- Tool calls:
toolsandtool_choice(auto or none) on/v1/chat/completions, the model's call read back as OpenAI'stool_calls, whole and streamed, and the tool's answer sent back in the next turn; checked on the GPU with the unmodifiedopenaipackage. /v1/completions, for a prompt continued as text.- A long prompt is prefilled in chunks, so the wire no longer caps the context.
- A served model says whether it can answer yet, how many requests it is answering and how many wait; keys for the served models are made and taken back from Chat.
- A served model is placed again when a stage fails or leaves; one put to sleep ends what it was answering.
- A client that hangs up leaves the line; requests sent at once share what is left of a day's quota.
- Requests that cannot be read, stop strings out of bounds, and options an answer would silently ignore are refused in OpenAI's shape; a seed out of range is refused instead of ending the model; a sliding-window model is refused before a weight is loaded.
- Streaming is faster: a decode step reads its positions back from the card at most once, and an answer is decoded a few ids at a time.
- A failed turn in Chat is not sent again, and a cut answer says so.
The web console
- A job has an address, a timeline, who submitted it and when, the machines on it now and before, and an Evaluation card.
- A submission can be previewed before it is sent; invitations are listed with a chosen lifetime and can be taken back.
- A machine with no work says why; a refused machine is told so on its page; a remedy the app can take has a button.
- One word per fact on the web and the desktop: Paused is the owner's, Stepped aside is a guard's; one meaning of ve...