Upload docs/2026-08-28-NIGHT-SS-X8.md with huggingface_hub
Browse files
docs/2026-08-28-NIGHT-SS-X8.md
ADDED
|
@@ -0,0 +1,81 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# 2026-08-27/28 night — SS live, 8×5090, HF hourly x8
|
| 2 |
+
|
| 3 |
+
All times **UTC** unless marked PDT. Pod `t8620qxxqgn6x4`, US-NC-2, 8× RTX 5090, community $5.52/h.
|
| 4 |
+
Code tree: `fractus-p0` (this package). Weights: `thefinalboss/fractus-cte/checkpoints/x8run/`.
|
| 5 |
+
|
| 6 |
+
## Snapshot at 03:50 UTC 2026-08-28 (~20:50 PDT 2026-08-27)
|
| 7 |
+
|
| 8 |
+
| GPU | tokens (phase-2 shard) | ema_tf | ema_ss | tok/s | VRAM |
|
| 9 |
+
|-----|------------------------|--------|--------|-------|------|
|
| 10 |
+
| 0 | 41,931,776 | 7.68 | 18.94 | 989 | 27.4 GB |
|
| 11 |
+
| 1 | 40,197,120 | 6.87 | 17.61 | 989 | 27.6 GB |
|
| 12 |
+
| 2 | 39,945,216 | 14.95 | 27.14 | 983 | 27.6 GB |
|
| 13 |
+
| 3 | 41,035,776 | 13.03 | 24.58 | 987 | 27.6 GB |
|
| 14 |
+
| 4 | 39,173,120 | 37.83 | 42.51 | 982 | 27.6 GB |
|
| 15 |
+
| 5 | 40,068,096 | 20.68 | 27.76 | 980 | 27.4 GB |
|
| 16 |
+
| 6 | 40,314,880 | 19.23 | 26.58 | 987 | 27.5 GB |
|
| 17 |
+
| 7 | 38,942,720 | 29.96 | 36.90 | 991 | 27.6 GB |
|
| 18 |
+
|
| 19 |
+
- Shard length: 429,896,462 tokens/GPU (phase-2 memmap). ~9.1–9.8% of this pass.
|
| 20 |
+
- Recipe now: **B=4 SEQ=128 SS_RATE=1.0** LR=7e-4, `FRACTUS_ATTN_IMPL=chunked`, `BLOCK_CKPT=0`.
|
| 21 |
+
- All 8 `_live.pt` present on disk (4.3–4.4 GB each).
|
| 22 |
+
- unique@40 PREFIX still **NO-GO** on last probe before SS (mean unique ≈ 3.3). SS is the intervention; speech is not claimed yet.
|
| 23 |
+
|
| 24 |
+
## Timeline
|
| 25 |
+
|
| 26 |
+
### 2026-08-27 19:05–19:20 PDT — diagnosis
|
| 27 |
+
|
| 28 |
+
- 8 trainers died mid-save: workspace volume **80 GB full**. `PytorchStreamWriter` / unexpected pos.
|
| 29 |
+
- unique@40 PREFIX NO-GO mean_u=3.3. Probe on `gpu0_live` (440/440 tensors, 1.05B):
|
| 30 |
+
- "Hello, my name is" → HOME/Rac loop (unique 2)
|
| 31 |
+
- "Once upon a time" → relation/AFTA (unique 3)
|
| 32 |
+
- Teacher-forced CE was learning (GPU0 tf ~5–8). **Free-run was not.** SS_RATE was 0 because of a checkpoint bug.
|
| 33 |
+
|
| 34 |
+
### 2026-08-27 19:20–19:35 PDT — SS surgery (code)
|
| 35 |
+
|
| 36 |
+
Cause of SS crash: `torch.utils.checkpoint` inside `chunked_cross_entropy` / `chunked_repeat_logprob` colliding on the **second** backward (saved logits `[N,50257]` vs recomputed hidden `[N,1280]`).
|
| 37 |
+
|
| 38 |
+
Fixes landed in-tree:
|
| 39 |
+
|
| 40 |
+
1. `fractus/train/v4_step.py`
|
| 41 |
+
- `snapshot_carry` / `restore_carry` so SS replays the **same** thought + attn_S/z + Kuramoto phases as the TF chunk.
|
| 42 |
+
- `v4_ss_pass` uses `tick_chunk_train` + **dense** CE (B·SEQ·vocab is tiny at B≤4). No CE-checkpoint on the SS pass.
|
| 43 |
+
2. `fractus/nn/ce.py` + `fractus/train/ar_loss.py`
|
| 44 |
+
- skip activation checkpoint when `N <= ce_chunk` (the 1B B=2/4 regime).
|
| 45 |
+
3. `scripts/fast4gpu_boost_v4.py`
|
| 46 |
+
- restore carry before SS; `block_ckpt=False` on SS.
|
| 47 |
+
|
| 48 |
+
First live SS lines (B=2): `tf=29.6 ss=42.2` GPU2, no CheckpointError. ~600 tok/s (two forwards).
|
| 49 |
+
|
| 50 |
+
### 2026-08-27 19:38 PDT — volume
|
| 51 |
+
|
| 52 |
+
- REST PATCH `volumeInGb` 80 → **200**. Public SSH dropped ~1 min (new port 35370).
|
| 53 |
+
- Trainers restarted. Disk **146 GB free**. VRAM B=2+SS ~18/32 GB.
|
| 54 |
+
|
| 55 |
+
### 2026-08-27 19:41–19:43 PDT — x8 save + HF push
|
| 56 |
+
|
| 57 |
+
- Save every `n % 4000 == (GPU * 500) % 4000` — **all 8**, staggered.
|
| 58 |
+
- `hf_push_x8.py` → `thefinalboss/fractus-cte/checkpoints/x8run/fractus_1b_gpu{i}.pt` + `RESUME_gpu{i}.json`.
|
| 59 |
+
- Interval corrected from 15 min to **3600 s**.
|
| 60 |
+
|
| 61 |
+
### 2026-08-27 20:01 PDT — batch push
|
| 62 |
+
|
| 63 |
+
- B=2 → **B=4**, SS still 1.0.
|
| 64 |
+
- Holds: **27.1 / 32 GB**, ~**1070 tok/s**/GPU first steps, later ~980–990.
|
| 65 |
+
- Aggregate ~7.9k tok/s. B=5 not taken (OOM risk).
|
| 66 |
+
|
| 67 |
+
## What this night did **not** do
|
| 68 |
+
|
| 69 |
+
- Did not finish the 3.44B phase-2 pass (~9% of current shards).
|
| 70 |
+
- Did not make unique@40 GO. SS is on; generation quality is the next measured gate, not a slogan.
|
| 71 |
+
- Did not re-ingest phase-1 (~1.5B already in the X8 weights).
|
| 72 |
+
|
| 73 |
+
## How to resume
|
| 74 |
+
|
| 75 |
+
```
|
| 76 |
+
CKPT_IN=checkpoints/fractus_1b_gpu{i}_live.pt
|
| 77 |
+
START_TOKEN=<tokens_processed from config or RESUME_gpu{i}.json>
|
| 78 |
+
BATCH=4 SS_RATE=1.0 BLOCK_CKPT=0 FRACTUS_ATTN_IMPL=chunked
|
| 79 |
+
```
|
| 80 |
+
|
| 81 |
+
Pusher: `python3 -u /workspace/hf_push_x8.py` (hourly).
|