docs: correct device map — 3 usable R9700s (0/1/2); 50:00 runtime-invisible, off-limits

This commit is contained in:
hugypufy committed 2026-10-23 12:25:59 +01:00
1 parent 5b055a9f38
commit 29869dd70e
1 file changed
+4 -4
+4 -4
View File
@@ -9,7 +9,7 @@ _Updated: 2026-10-23 09:00 — PROJECT COMPLETE. Winner: FT-SEED1 (KL mean 0.021
| MAIN (seed 0, fold=kernel) | 0.02194 | 0.00652 | 94.17 % | 7.6435 | — | keeper |
| EXACT (seed 0, fold=exact) | 0.02203 | 0.00696 | 94.01 % | 7.6814 | — | fold=exact bought nothing |
Baselines: RTN 0.0348 / AWQ 0.0599 / old MXFP4 grid 0.0754. Winner serve: depth-7 DFlash2 drafter, 83 tok/s single-stream (+29 % vs RTN), GSM8K 94.0 % with speculation active. Winner KL/GSM8K artifacts: kld-SEED1-vs-bf16.json, gsm8k-m2xfp4-ft-seed1.json.
Fixed en route (committed 2a7d5c3): packer verifier now accepts rule-quantized drafter planes (plain transform) and fused row-joins (ffn_gate_up/ssm_inz) — all containers proven byte-exact. KL scoring needs `--host-pool-mib 10240 --max-num-seqs 1 --max-model-len 40000` (the df2 container + default serve sizing OOMs one card; m2xfp4's per-piece rotations cannot be TP-split, so single-GPU only). hip4 quirk: invisible to HOST processes since ~08:00 (docker sees it fine) — clear with a reboot when convenient.
Fixed en route (committed 2a7d5c3): packer verifier now accepts rule-quantized drafter planes (plain transform) and fused row-joins (ffn_gate_up/ssm_inz) — all containers proven byte-exact. KL scoring needs `--host-pool-mib 10240 --max-num-seqs 1 --max-model-len 40000` (the df2 container + default serve sizing OOMs one card; m2xfp4's per-piece rotations cannot be TP-split, so single-GPU only). hip4 (50:00) is runtime-invisible to host processes since ~08:00 (docker sees it fine) — do not schedule there; it needs a reboot, and the box must not be rebooted.
## RESUME AFTER BOOT (in order) — v2, crash-aware
```bash
@@ -18,7 +18,7 @@ docker rm -f paro_s2_MAIN paro_s2_EXACT paro_s2_SEED1 2>/dev/null
mkdir -p /tmp/night # /tmp is tmpfs — tooling must be recreated after every boot
cd /home/zee/code/vllm/ggz14/paroquant
# launch STAGGERED (90s apart — simultaneous 52G mmaps storm amdgpu SVM):
**hip2 = 0000:2c:00.0 is the newest R9700 — prefer it for the heaviest training/compute lanes. AMENDED 2026-10-23 00:40 (user): 0000:03:00.0 (trx pcie 1, hip0) is the LAST to use.** Order: hip2 → hip4 → hip1 → hip0. hip3 = W6600, never.
**hip2 = 0000:2c:00.0 is the newest R9700 — prefer it for the heaviest training/compute lanes. AMENDED 2026-10-23 00:40 (user): 0000:03:00.0 (trx pcie 1, hip0) is the LAST to use.** Order: hip2 → hip1 → hip0. hip3 = W6600, never; 50:00 off-limits (runtime-invisible).
# (+90s) same + PARO_HIP_VISIBLE=1 M2XFP4_FOLD=exact PARO_NAME=paro_s2_EXACT FT_RESULTS=/media/zee/ai/paro-out-ft-m2xfp4-exact OUT=Qwen3.8-27B-PARO-M2XFP4-FT-EXACT > /tmp/ft-EXACT.log
# (+180s) same + PARO_HIP_VISIBLE=2 PARO_SEED=1 PARO_NAME=paro_s2_SEED1 FT_RESULTS=/media/zee/ai/paro-out-ft-m2xfp4-seed1 OUT=Qwen3.8-27B-PARO-M2XFP4-FT-SEED1 > /tmp/ft-SEED1.log
# watchdogs: recreate /tmp/night/watch-lane.sh (frozen-progress, phase-aware) + lanes.tsv; run one per lane
@@ -29,7 +29,7 @@ Watch: `watch -n 10 -c /tmp/ft-live.sh` (files %, bar, ETA, tripwire count, RAM)
Hard freeze, no OOM (0 hits), no GPU reset, no clean shutdown. Last kernel line: `workqueue: svm_range_restore_work [amdgpu] hogged CPU for >10000us 19 times`. Trigger: 3 concurrent torch FT processes (52 G mmap each) on the now-5-GPU box + a 4th radiance process probing devices. Mitigations in force: staggered lane starts; NO host radiance serve while lanes run (converts/serves go through docker with an explicit HIP pin); no 52 G pre-fault `cat`; kernel tripwire armed on `svm_range_restore_work|soft lockup`. If it recurs: drop to 2 lanes (SEED1 is the sacrificial one — MAIN + EXACT carry the quality story).
## GPU PREFERENCE (user, 2026-10-22 20:55)
**hip2 = 0000:2c:00.0 is the newest R9700 — prefer it for the heaviest training/compute lanes** on any future cold start or lane restart (current run keeps its placement mid-flight; a move re-pays ~1 h capture+replay). Order for new lanes: hip2 first, then hip4, hip1, hip0. hip3 = W6600, never.
**hip2 = 0000:2c:00.0 is the newest R9700 — prefer it for the heaviest training/compute lanes** on any future cold start or lane restart (current run keeps its placement mid-flight; a move re-pays ~1 h capture+replay). Order for new lanes: hip2 first, then hip1, then hip0. hip3 = W6600, never; 50:00 off-limits (runtime-invisible).
## ROOT CAUSES FOUND TODAY (all evidence-backed — do not re-litigate)
1. **GPU wedges → driver resets** = LACT **−100 mV undervolt** under sustained load. Fixed by user at 11:00 (all R9700s 0 offset / 0 clock offset / 250 W). Zero resets since, across 3 concurrent FTs. **Do not re-undervolt while training.**
@@ -37,7 +37,7 @@ Hard freeze, no OOM (0 hits), no GPU reset, no clean shutdown. Last kernel line:
3. Fixed red herrings (real bugs, not the wedge): stale root-owned JIT cache (`docker run --rm -v /home/zee/.cache/paroquant:/c alpine rm -rf /c/torch_extensions`); `PARO_ROT_KERNEL`/`PARO_SEED` env now passed into docker (stage2.sh); container name parameterised (`PARO_NAME`); my leftover `attn_implementation: eager` in the staged config reverted to SDPA (it was a 2–5× brake); `rocm-smi` absent post-reboot → amd-smi fallback in gpu_guard.
## HARDWARE RULES
HIP devices **0, 1, 3 = R9700; 2 = W6600 (gfx1032, desktop) — never use**. amd-smi: same indices. LACT currently 0/0/250 W.
HIP devices **0 = 0000:03:00.0, 1 = 0000:27:00.0, 2 = 0000:2c:00.0 are the three usable R9700s**; 3 = 0000:45:00.0 W6600 (gfx1032, desktop) — never use; **4 = 0000:50:00.0 (PCIe3 trx40 R9700) is OFF-LIMITS: the host HIP runtime cannot see it (needs a reboot), do not schedule there (user, 2026-10-23)**. lspci and KFD list 50:00; the runtime does not. LACT currently 0/0/250 W.
## COMPLETED AND VERIFIED (committed 12:46)
- m2xfp4 end-to-end: libquant quantiser (adaptive Sg-EM; `wide` is a no-op on real weights), gfx1201 WMMA kernels + host rows, arch wiring (`rad_block_dflash2.h:560`), spec/docs.