Source/Systems

Bob.Build.PhysicalComponents

systems/bob/src/Bob/Build/PhysicalComponents.alpha

470 lines80 declarations20.9 KiBSHA-256 d35b583e56d3

def · lines 193–195

bobArenaNext

Full file
Bob's device arena: one system-memory staging buffer the host maps, each tensor after the previous, page-aligned: the parameters and the two optimizer moments (the checkpoint, contiguous, in that order), the gradients, the input record (Bob.TrainingRun), the two loss blocks, the prompts' logit rows and their predictions. The host (Bob.Build.NativeHost) reads the input record and the checkpoint into it and writes the results out of it.
193def bobArenaNext =
194  (lambda unrestricted address : Nat .
195    (lambda unrestricted bytes : Nat . (vaPlaceAfter address bytes nvidiaPlanHostPageBytes)))

The compiler supplied declaration spans and resolved links from this source snapshot. This page does not assert that this file belongs to a checked closure.