flybrain/infra/bin
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
..
dev-stage-deploy.sh flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
fly-backup-stage flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
fly-cpu-confine infra: fly-cpu-confine also confines /.lxc, check ignores its own chain (PERF-02 review R1-R3) 2026-10-01 15:57:46 +00:00
fly-feed EDGE-02 notes: bus threads on an aux cpu (FLY_SESSION_AUX_CPUS, SESSION_AUX_CPUS in the deploy), fly-feed direct never rolled back, watchdog falls back to direct at the 4th failure and never reboots for the edge; runbook cost corrected 2026-10-02 04:22:39 +00:00
fly-loop-recover infra: a reset's replay is not progress; the ladder measures progress and catches against the reward names it has seen (row 70 review r3) 2026-09-30 23:58:13 +00:00
fly-loop-reset loop recovery: wait on the watchdog's ActiveState, and only a root flysim that is the running build 2026-09-28 21:37:40 +00:00
fly-recap flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
fly-reset-to-milestone rewards: a catch reward, adapter v6 with a v5 migration, and a rung restart 2026-09-22 17:30:00 +00:00
fly-retention flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
fly-runtime infra: fly-runtime session --bus; shadow of the bus topology 2026-10-01 23:57:34 +00:00
fly-runtime-probation infra: CUT-01 speed probation after fly-runtime session 2026-09-30 12:58:05 +00:00
fly-shadow-run BUS-01 review notes: shadow check refuses on the session runtime (N1), workers die with their parent via PR_SET_PDEATHSIG (N2), test for the Hello digest refusal (N3) 2026-10-02 03:04:49 +00:00
fly-watchdog gpu-02 notes: a GPU failure falls back to the CPU for the process lifetime 2026-10-02 10:15:03 +00:00
flycast-launch flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
flypush flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
flystage-launch flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
wait-for-health flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
wait-for-stage flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
wait-for-x flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00