Source/Systems

GPT2.Build.Target

systems/gpt2/src/GPT2/Build/Target.alpha

137 lines26 declarations7.0 KiBSHA-256 897fac1e9ccb

def · lines 117–117

gpt2DeviceMinor

Full file
The card the host opens: a deployment input, not a target capability (Platform.Linux.Nvidia.DeviceBinding). A RunPod container sees only its own GPU, under the node's Linux minor -- not necessarily 0: the 2026-10-17 FineWeb pod's H100 is /dev/nvidia1, the probe pod's /dev/nvidia6 -- and a host bound to another minor refuses at `card-open`. A run builds its ELFs for the minor its pod shows (ls /dev/nvidia[0-9]*; comparisons/h100/fineweb-run/run.sh records it); the UUID is left empty (a node-only binding: the container holds one card).
117def gpt2DeviceMinor : Nat = 1

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.