Gradient Exec¶
Flake apps started on workers after each evaluation, with the hardware they ask for. Every exec job boots in a fresh virtual machine with a checkout of the evaluated commit.
flowchart LR
app["App with passthru.gradient"] --> build["Program build"]
build --> job["Exec job"]
job --> worker["Exec worker"]
worker --> results["Phases, outputs, pull requests"]
-
The four switches between a repository and a worker.
-
Guest image, devices, mounts and limits of a worker.
-
passthru.gradient, hardware requests and the job context. -
Project secrets, repository sops files and worker sops files.
-
Browser terminals, SSH logins and port forwards into a job.
-
Packages, exec apps and devShells, started from the working tree.
-
A
nixosConfigurationas the guest system of one app. -
One guest per node, on workers of one zone.
-
Report Phases and Upload Outputs
Restart points and files from inside a job.
-
The job token,
gradient pr openand theexec_treeaction. -
New evaluations and entry points after a finished job.