Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
record seg-OFF AGX-fix validation run + the mlx #3267 data-point comment
[._.]/ Adam Eivyada979dd13f8
diff --git a/docs/research/2026-06-13-mflux-training-watchdog-panic.md b/docs/research/2026-06-13-mflux-training-watchdog-panic.mdindex 1fbdb87d8e..af0476bf90 100644--- a/docs/research/2026-06-13-mflux-training-watchdog-panic.md+++ b/docs/research/2026-06-13-mflux-training-watchdog-panic.md@@ -32,9 +32,12 @@ open ones that together explain this incident**, so we did NOT file a duplicate:**Our signature differs from both** (`watchdog timeout: no checkins from watchdogd`vs #3267's process-kill exception and #3186's `completeMemory` panic), but it isthe same family: a system-level GPU/Metal driver stall under sustained ML load on-new Apple Silicon, escalating to a `watchdogd` reboot on M5. So our exact panic-string may be a third manifestation — worth adding as a data-point comment on-#3186 (the panic tracker) when convenient, rather than a fresh issue.+new Apple Silicon, escalating to a `watchdogd` reboot on M5. Our exact panic+string is a harsher manifestation of #3267's watchdog mechanism (process kill →+full reboot), so we **posted it as a data-point comment on #3267**+(https://github.com/ml-explore/mlx/issues/3267#issuecomment-4819498999, 2026-06-27)+rather than filing a duplicate, cross-referencing #3186 as the related panic+tracker.**Action taken (#1329):** PortOS now sets `AGX_RELAX_CDM_CTXSTORE_TIMEOUT=1`automatically in `scripts/train_mflux_lora.py` (mirrors the `generate_ltx2.py`@@ -286,6 +289,7 @@ doesn't lose which version was under test.|---|---|---|---|---|---|| (baseline, not run) | 0.17.5 | 0.30.6 | 0.30.6 | known-bad (3 panics 06-13/14) | none captured (sudo was off) || 2026-06-14 candidate #1 | 0.17.5 | **0.31.2** | **0.31.2** | ✅ **VALIDATED (seg-ON)** — full LoRA run `d36562a0` completed to adapter extraction (4B bf16, 768px, 4×150-step segs); box up, no panic. Pinned 2026-06-27 (#1329). | telemetry captured; GPU/power normal through the run |+| 2026-06-27 AGX fix (seg-OFF) | 0.17.5 | 0.31.2 | 0.31.2 | ⏳ **IN FLIGHT** — `flux2-klein-9b` bf16, 768px, **segmentation OFF**, `AGX_RELAX_CDM_CTXSTORE_TIMEOUT=1` set, under `caffeinate -s`. Scratch run `data/training-runs/_validate-agx-segoff/` (run.log + powermetrics.log). The real seg-OFF test of the env-var fix on the exact panic config. **If still IN FLIGHT after a reboot → the AGX fix did NOT prevent the panic on 9B seg-OFF** (read scratch powermetrics.log). | telemetry capturing |**Verdict & pin (2026-06-27, #1329).** The candidate #1 "IN FLIGHT" row above wasthe *seg-OFF scratch* run, which was **manually stopped clean at step ~11** (neverdiff --git a/docs/research/2026-06-14-upstream-issue-draft-m5-watchdog.md b/docs/research/2026-06-14-upstream-issue-draft-m5-watchdog.mdindex b2cb0db451..6f2df841b8 100644--- a/docs/research/2026-06-14-upstream-issue-draft-m5-watchdog.md+++ b/docs/research/2026-06-14-upstream-issue-draft-m5-watchdog.md@@ -1,15 +1,16 @@# Draft upstream issue — M5 Max GPU watchdog kernel panic under sustained MLX LoRA training-> **DO NOT FILE AS A NEW ISSUE (updated 2026-06-27, #1329).** A tracker search found-> existing open MLX issues that cover this — **[mlx #3267](https://github.com/ml-explore/mlx/issues/3267)**-> (watchdog kills LoRA training when the display is active; confirmed workaround-> `AGX_RELAX_CDM_CTXSTORE_TIMEOUT=1`) and **[mlx #3186](https://github.com/ml-explore/mlx/issues/3186)**-> (IOGPU `completeMemory()` kernel panic, filed with Apple as FB22091885). mflux-> itself has no relevant issue. Our `watchdogd`-timeout signature differs slightly-> from both, so the right contribution is a **data-point comment on #3186** (the-> kernel-panic tracker), not a fresh issue. Keep the environment/symptom material-> below as the body of that comment if/when posting. See the "Upstream root cause-> + fix" section of the incident doc.+> **DO NOT FILE AS A NEW ISSUE — already contributed (updated 2026-06-27, #1329).**+> A tracker search found existing open MLX issues that cover this:+> **[mlx #3267](https://github.com/ml-explore/mlx/issues/3267)** (watchdog kills+> LoRA training; confirmed workaround `AGX_RELAX_CDM_CTXSTORE_TIMEOUT=1`) and+> **[mlx #3186](https://github.com/ml-explore/mlx/issues/3186)** (IOGPU+> `completeMemory()` kernel panic, filed with Apple as FB22091885). mflux itself+> has no relevant issue. Our `watchdogd`-timeout reboot is a harsher manifestation+> of #3267's watchdog mechanism, so we **posted a data-point comment on #3267**+> ([issuecomment-4819498999](https://github.com/ml-explore/mlx/issues/3267#issuecomment-4819498999))+> cross-referencing #3186 — NOT a fresh issue. The material below was the basis for+> that comment; retained for reference.---