flybrain/services/flysim/crates
acamilo 7d2650ae5e gpu-02 notes: a GPU failure falls back to the CPU for the process lifetime
A CUDA failure (a failed batch or read-back, or an attach that fails at a restart) now marks the
GPU unusable for the process: the replacement agent worker is created on the CPU and restores the
last checkpoint, so a lost device no longer leaves the session unable to restore and a flaky one is
never re-attached in a loop. Worker processes share the record through a marker file the launcher
owns and empties when it starts. Exposed as the LIF_GPU_FALLBACK log line,
fly_brain_backend{backend}, fly_brain_backend_wanted and fly_brain_backend_fallbacks_total, and
fly-watchdog check 11 (report only).

Adds a committed fault-injection hook for the cuda feature (FLY_LIF_CUDA_FAULT or the inject
setters), the recovery harness in legacy_parity, and the cuda_fallback test: init failure, transient
(host current) and permanent (in-process and process) faults, each equal to the CPU reference.
Corrects the runbook, documents the stale host arrays on LifNetwork, and has cuda_session assert
that no fallback hid a CPU pass.
2026-10-02 10:15:03 +00:00
..
fly-control-edge control edge follows flysim's stops and starts; large request bodies match direct 2026-10-02 01:43:34 +00:00
fly-edge fly-edge: healthz fails when the bus goes silent; snapshot age gauge 2026-10-01 21:56:34 +00:00
fly-legacy-session GPU-02: the session steps a frame per call, the CUDA backend keeps its state on the device 2026-10-02 07:49:17 +00:00
fly-scorecard scorecard: per-checkpoint trap rule, Holm over the metric family, throws count throws, children die with the suite, LegacyConfig fields 2026-10-02 03:50:50 +00:00
fly-session gpu-02 notes: a GPU failure falls back to the CPU for the process lifetime 2026-10-02 10:15:03 +00:00
fly-session-types session types: the legacy composition names pokered-unique8-v8 2026-09-30 02:11:45 +00:00
flybrain-core gpu-02 notes: a GPU failure falls back to the CPU for the process lifetime 2026-10-02 10:15:03 +00:00
flybrain-gb docs: macros.md 12.35 and macros-wram.md 17 (row 73); the hidden-event list bound covers the Game Corner's 48 entries, checked on the cartridge 2026-10-02 02:18:22 +00:00
flybus BUS-01 review notes: clippy fixes in the new tests 2026-10-02 05:15:45 +00:00
flysim Merge fix/loop-row73 (reviewed: APPROVE-WITH-NOTES): rung 16 is Bill's errand inside his house; hidden objects read from the cartridge's table are targets only as the errand's next step; Cerulean graph 2026-10-02 07:43:20 +00:00
flysim-store FLYSIM01 carries the reinforcement count; the import takes its ids from the file; StageRestore refuses conflicts before building a network 2026-09-29 17:17:56 +00:00