Contributors¶
How Gradient is built, for anyone changing the code. Readers can start with the architecture and then read the part matching the change.
flowchart LR
arch[Architecture] --> sched[Scheduler]
arch --> proto[Proto]
arch --> internals[Internals]
sched --> proto
Start Here¶
-
Crates, binaries and how server, workers and the database fit together.
License, setup instructions, contribution workflow and coding standards.
-
Test locations, the Nix checks and the test database on a real Postgres.
Core¶
-
Build sharing, start counters, upstream substitution, cache closure and scoring.
-
The worker protocol under
/proto: handshake, assignment, jobs, transfers and federation. -
Git host webhooks, NAR storage, cache serving, graph queries and authentication.
-
How to write, register and retire database migrations.
Evaluation¶
-
Covers the subprocess pool for evaluations, shard discovery across workers and the shared eval cache.
-
Explains per-evaluation Nix metrics, their storage format and display on the Job Board.
Debugging and UI¶
-
How to read the report file, its scopes and the
gradient-reportinspector. -
A reference page covering the form, layout and grid primitives used across the web UI.