- : "With respect to": which inputs you want gradients for. wrt=None (the default) returns them all.
- : A fixed-size group of samples that the host launcher processes together with one SIMD instruction stream.
- : A lane count, the unit in which finished lanes are compacted away: eagle.ActiveSet takes it as group=, and a kernel that needs it declares it in its sidecar's launch.lane_space.
- : A per-packet record of which lanes are still active, so inactive lanes (or whole packets) can be skipped.
- : A recorded, dependency-ordered set of launches (a CUDA graph on the GPU, a host executor on the CPU) that is built once and replayed many times.
- : A source file that compiles both against CUDA and as plain C++ with OpenMP, with no change to the calling code.
-
: Bit-for-bit reproducible: the same inputs give the same bits on every run and every thread count. Every gradient eagle sums is bitwise
- : Computing derivatives by running the program's steps backwards, each step turning "how the objective moves with my outputs" into "how it moves with my inputs". One backward sweep gives the gradient with respect to every input at once, which is why it is the method of choice when you have one objective and many inputs. Also called the adjoint method (optimal control, PDE-constrained optimisation) or backpropagation (machine learning).
-
: eagle::cuda::Launcher, the instantiated, replayable form of a graph
- : How eagle.reduce() adds the leaf results of a floating-point sum: "compensated" (default, accurate, not bitwise on the GPU), "ordered" (the same bits every run) or "auto" ("compensated" for now).
- : In eagle, a plan is what eagle.deploy returns: a kernel built to run where its data lives, ready to launch. The general meaning, shared by the family, is in the family glossary.
-
: Locating a stop inside the step where its rule fires (events="refine"), so the stop time is a real number with a derivative instead of a multiple of the step
-
: One continuous piece of a hybrid trajectory: a refined run made a node of a Graph by eagle.diff.phase(), with a reset kernel between pieces
- : One independent item the same kernel runs over: a particle, a trajectory, a network input. eagle runs every sample through the same step.
-
: One launch of a kernel that reads a value reduced over samples: the read is a launch boundary, so eagle runs the stages in sequence with the finish of the cells between them
- : One submission of work: a single kernel call, or one replay of a whole graph.
-
: One value for the whole batch, made by a hawk kernel that stores a reduction over lanes (hawk.sum(x)) to a Mutable output. The kernel writes rows
|
- : One work item: a sample, seen through the shape its kernel declares for its lanes. On the CPU side, also one sample's slot inside a packet.
- : Recording the kernel launches issued on a stream, instead of running them, into a graph that can be replayed.
-
: Shrinking a per-sample array to just the samples that are still active, so later kernels launch over a smaller count
-
: The bytes a recorded run's reverse may hold (memory_budget=). Over it, the reverse runs the batch in passes with the same bits
-
: The cell a conditional node reads: an eagle.skippable() runs its step only while the cell is non-zero. A recorded graph saves the value each launch saw, and the reverse replays it
- : The one fixed grouping of additions eagle uses for sums, so a total has the same bits for any thread count.
-
: The quantity flowing backwards through the graph: for a plane p, ∂J/∂p. A seed is the adjoint of an output
-
: The samples still running
-
: The shape a hawk kernel gives its flat sample axis, as an ordered list of axes. Memory stays flat
- : The table that resolves a compiled kernel by name so it can be called, streamed or put in a graph (eagle.KernelRegistry).
- : Vector-Jacobian product: the kernel that pulls a seed back through one step, from the adjoints of the step's outputs to the adjoints of its inputs. hawk.diff.vjp(kernel) makes one from a kernel. Each launch node of a graph is reversed by its kernel's vjp.
- : What a kernel that reduces over samples writes: one partial per 32 samples, plus a _comp row of rounding corrections for a sum. Finishing them gives the cell.
-
: What comes back: ∂J/∂input. For a per-sample input, one value per sample (in sample order)
- : What one launch of a record=True graph keeps for its reverse: g.record after g.launch(). Most of it is the graph's own planes, so it is only valid until the graph runs again (see autodiff-record).
-
: What you hand the reverse pass: the gradient of your objective J with respect to an output plane, ∂J/∂output, one value per sample. If J is the sum of the outputs, every seed is 1
- : Which launch a Record belongs to: 1 for the first launch, 2 for the second, and so on. It is how a reverse knows its Record is still the newest one.
|