techfreakworm commited on
Commit
1bcc98e
·
unverified ·
1 Parent(s): fff04a9

docs: the Space generates, and the fix is not attributed

Browse files

The retry at 8fb292d6 succeeded. A real 39,146-byte video, verified for
content and not only for structure: pixel std 72.657, 9 of 9 frames
distinct, mean frame-to-frame delta 18.894. Structure alone was not
accepted because H9 established on this build that a green stream table
and a silent file are indistinguishable, so the video got the analogue of
the RMS check that caught it. The device-API contrast is the cleanest
evidence in the file: fail=true twice against fail=false once, from the
platform's own accounting.

02fe943 stays. The revert condition was "if the retry fails" and it did
not fail, so the condition is discharged rather than overridden. Recorded
as kept because it did not fail, NOT because it was shown to help.

The caveat is given the same prominence as the success, in the banner and
in its own section. The failing and succeeding runs differ by two things:
02fe943, and a full container rebuild. That is not the clean A/B we had
for the RSS number, where an AST diff showed the quantised set was the
sole runtime variable. n=1 against n=1 with two variables supports "the
Space now serves" and does not support "the widening is why" -- and the
reason to resist the causal reading is unusually strong here, because the
hypothesis that motivated the change is itself dead. We changed something
for a reason that turned out to be wrong and the thing then worked; those
are two facts, not one chain. Three readings left open, including that
the rebuild alone fixed it. Route C stays leading: the success makes it
cheaper to justify, not unnecessary, because there is now a working
baseline to instrument against.

Retitles the file. "The Space starts and cannot generate" was a
present-tense claim that is now false; the original framing is kept
verbatim beneath it, marked as history, because it is accurate about the
first attempt.

Section 10 gains the other half of the acceptance criterion: no file
claimed on failure, and a genuine file behind the claim on success. A
build that only ever failed could not have shown the second half.

New follow-ups: the fix is unattributed and no document should say the
widening fixed generation until a revert-and-retry on the same image or
route C separates them; and only 1 of 11 modes has ever run on the Space,
none of them audio.

Costs bounded, not measured: 121.79 s wall-clock across both runs, at
xlarge 2x <= ~243.58 GPU-seconds, ~10.2% of the daily 2400.

Files changed (1) hide show
  1. docs/SPACE_GENERATION_FINDING.md +117 -14
docs/SPACE_GENERATION_FINDING.md CHANGED
@@ -1,5 +1,18 @@
1
- # The Space starts and cannot generate
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  > **First generation ever attempted on the live private Space. Startup succeeded;
4
  > the generation failed.** The forked ZeroGPU worker was **killed twice, with no
5
  > Python traceback**, and `spaces` returned `'GPU task aborted'`.
@@ -32,6 +45,10 @@ pinned source or the platform* · ⚠️ *inferred* · ⏸️ *not established*.
32
  **Startup: healthy.** **Generation: failed.** Those are two different claims and
33
  the rest of this file exists to keep them apart.
34
 
 
 
 
 
35
  ---
36
 
37
  ## 2. The request
@@ -534,18 +551,95 @@ survive the experiment it justified.
534
  > Keeping a change whose motivating hypothesis is dead, at **31.24 GiB** of
535
  > additional peak RSS, for an unmeasured benefit, is not defensible.
536
 
537
- ### ⏸️ PLACEHOLDER — retry outcome
538
 
539
- **The retry is running at sha `8fb292d6` as this is written.** Everything above
540
- is independent of how it lands: the ceiling is falsified either way, the
541
- mechanism applied a third time either way, and the RAM arithmetic is dead either
542
- way.
543
 
544
- | | |
545
- |---|---|
546
- | retry result | ⏸️ **pending** |
547
- | if it **succeeds** | generation works at two-component int8; §8's ⏸️ *(kill at fork vs at load)* stays open but stops blocking, and the steady-state measurement in §7 becomes the next thing to take |
548
- | if it **fails** | `02fe943` reverted per the standing decision above; the kill is unexplained at **both** RSS levels, which is itself strong evidence against RAM as the mechanism, and **route C** is the path |
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
549
 
550
  ---
551
 
@@ -562,6 +656,12 @@ tested by accident, on the first real failure, and it passed.
562
  The error was surfaced as an error, named as **not ours**, and no artifact was
563
  fabricated to accompany it.
564
 
 
 
 
 
 
 
565
  ---
566
 
567
  ## 11. Follow-ups this run created
@@ -572,16 +672,19 @@ fabricated to accompany it.
572
  | 2 | **`ZEROGPU_DISK.md` §4.2**: upgrade the RSS prediction and the prune branch ⏸️ → ✅ from this run. | ⏸️ gated, docs-last |
573
  | 3 | **`OPERATOR_HANDOFF.md` §3 and §5 are stale in *both* directions** — §3 says the Space *"has never run"*, §5 says a deploy is *"not currently possible"*. **Startup demonstrably works and generation demonstrably does not**, and the document currently cannot express that distinction. | ⏸️ gated, docs-last |
574
  | 4 | ⏸️ **No readable ZeroGPU quota endpoint** — all three candidate URLs 404, so billed seconds cannot be measured, only bounded. Worst case ~200 GPU-s of 2400/day for this run (`xlarge` bills at 2×; packed 51.1 GB is over the 42.00 GiB threshold 📄). | ⏸️ open |
 
575
  | 6 | ⏸️ **No steady-state RSS measurement exists.** `peak_rss_gib()` reports the load peak; the RAM question is about what remains resident when the load settles. Every RSS number in this document is a peak. **This is the measurement that would have prevented the wrong prediction in §7** and it is still not taken. | ⏸️ open |
576
  | 7 | ⛔ **The ~68 GB ceiling was inherited, never measured, and is now falsified** (§6). Audit any other planning number with the same provenance — carried in from outside, never verified here, and load-bearing. It survived this long because it was *consistent* with our data, which is not the same as supported by it. | ⏸️ open |
577
- | 8 | ⚠️ **`02fe943` is provisional.** It stands on a hypothesis this run killed and costs 31.24 GiB of peak RSS for an unmeasured steady-state saving. Reverted if the retry fails (§9.2). | ⏸️ pending retry |
578
- | 5 | **Bus defect**: `lead-gate.mjs:1709` computes `isLead = (session_id === SOMA_LEAD_SESSION_UUID)`. A `/clear` rotates the session id while the env var stays baked in from launch, so every soma bus tool is denied and the lead cannot file a report. **Side effect: it also disarms the lead-only `git push` / `git merge` guard.** | ⏸️ open, infrastructure |
 
579
 
580
  ---
581
 
582
  ## 12. Repo state at the time of writing
583
 
584
- - **Six commits unpushed**; `origin/soma/ltx25-studio` is at `cbaa3ad`. Pushing
 
585
  is the orchestrator's — this team does not push by design. Verified with
586
  `git rev-list --count origin/soma/ltx25-studio..HEAD`, which is the only
587
  authority on this; an earlier count taken from *"what I authored this round"*
 
1
+ # The Space: a killed worker, a falsified ceiling, and a working generation
2
 
3
+ > ## ✅ RESOLVED — the Space generates. **Read §9.3 before citing why.**
4
+ >
5
+ > A real **39,146-byte** video, **content-verified**, at sha `8fb292d6`.
6
+ >
7
+ > ⚠️ **The fix is NOT attributed.** Two things changed between the failing and
8
+ > succeeding runs, not one. **"The Space now serves" is established; "the
9
+ > widening is why" is not.** §9.3.
10
+ >
11
+ > The investigation below is kept exactly as written. Its measurements stand, and
12
+ > **two of its central claims were falsified** by the run that resolved it —
13
+ > including one this build had been planning against since before any deploy.
14
+
15
+ > **Original framing, first attempt — accurate as history:**
16
  > **First generation ever attempted on the live private Space. Startup succeeded;
17
  > the generation failed.** The forked ZeroGPU worker was **killed twice, with no
18
  > Python traceback**, and `spaces` returned `'GPU task aborted'`.
 
45
  **Startup: healthy.** **Generation: failed.** Those are two different claims and
46
  the rest of this file exists to keep them apart.
47
 
48
+ > ✅ **Superseded on the retry at sha `8fb292d6`: generation now succeeds.** The
49
+ > separation above is what made that legible — startup never broke, so the
50
+ > failure was always in the second claim. §9.3.
51
+
52
  ---
53
 
54
  ## 2. The request
 
551
  > Keeping a change whose motivating hypothesis is dead, at **31.24 GiB** of
552
  > additional peak RSS, for an unmeasured benefit, is not defensible.
553
 
554
+ ### ✅ Retry outcome — it succeeded
555
 
556
+ **It did not fail, so `02fe943` STAYS.** The standing revert decision above is
557
+ discharged, not overridden. Detail and the attribution limit: §9.3.
 
 
558
 
559
+ ---
560
+
561
+ ## 9.3 ✅ The Space generated — and what that does **not** establish
562
+
563
+ ```
564
+ PREDICT_WALL_CLOCK_SECONDS 21.44
565
+ RESULT: ["output.mp4", null, "✅ Text to video complete. seed 1234 · run directory outputs/run-fc6d3a762eaa"]
566
+ ```
567
+
568
+ ### The artifact is real — structure **and** content
569
+
570
+ Structure alone was not accepted, because **H9 taught this build that a green
571
+ stream table and a silent file are indistinguishable.** So the video got the
572
+ analogue of the RMS check that caught H9:
573
+
574
+ ```
575
+ 39,146 bytes · h264 · 256x256 · 24 fps · 9 frames · duration 0.375 s
576
+ verify_streams text_to_video -> MATCHES, exit 0 (video: True, audio: False -- correct for this mode)
577
+
578
+ global pixel std 72.657 (~0 would be a flat/blank frame)
579
+ mean |frame-to-frame| 18.894 per-pair 57.17 .. 8.35, none near zero
580
+ distinct frames 9 of 9
581
+ dynamic range 0.0 .. 255.0 on every frame
582
+ ```
583
+
584
+ ✅ **Varied, moving, all frames distinct.** Not a blank file that passes a
585
+ schema.
586
+
587
+ ### The device-API contrast — the cleanest evidence in this file
588
+
589
+ ```
590
+ FAILED run: schedule -> allow tok=2bca839a pid=262 -> release fail=true 404
591
+ schedule -> allow tok=1c3ef0c9 pid=286 -> release fail=true 404 (same taskId, spaces retried)
592
+ SUCCESS run: schedule -> allow tok=34ddf8b8 pid=258 -> release fail=FALSE 200 (one worker, no retry)
593
+ ```
594
+
595
+ **`fail=true` twice against `fail=false` once**, from the platform's own
596
+ accounting rather than from ours.
597
+
598
+ ---
599
+
600
+ ### ⛔ The caveat, stated as prominently as the success: **the fix is not attributed**
601
+
602
+ **The failing and succeeding runs differ by TWO things:**
603
+
604
+ 1. `02fe943` — the text encoder moved to int8.
605
+ 2. **A full container rebuild** — new image, new download, plausibly a different
606
+ worker node.
607
+
608
+ **This is not the clean A/B we had for the RSS number, and the difference is
609
+ worth being exact about.** For RSS, an AST diff of the shipped package showed the
610
+ quantised set was the *sole* runtime variable between the two measurements — so
611
+ the 31.24 GiB rise is attributable. Here a rebuild sits in the middle, and a
612
+ rebuild changes things we do not observe.
613
+
614
+ > **n=1 success against n=1 failure, with two variables between them, supports
615
+ > "the Space now serves" and does not support "the widening is why."**
616
+
617
+ **And the reason to resist the causal reading is stronger than the usual one:**
618
+ the hypothesis that motivated `02fe943` — cgroup OOM against a ~68 GB ceiling —
619
+ is **dead**, falsified by our own 87.13 GiB survival (§6). So we changed
620
+ something for a reason that turned out to be wrong, and the thing then worked.
621
+ **Those are two facts, not one causal chain.** ⏸️ Readings still open:
622
+
623
+ - RAM at fork was real, with different arithmetic than ours, and the lower steady
624
+ state genuinely helped.
625
+ - The first failure was a platform-side transient; **the rebuild alone fixed it.**
626
+ - Something else about the new container.
627
+
628
+ ✅ **Route C — instrument the worker — remains the leading path.** This success
629
+ does not retire it; it makes it *cheaper to justify*, because there is now a
630
+ **working baseline to instrument against** instead of a dead Space.
631
+
632
+ ### Costs
633
+
634
+ ```
635
+ failed run 100.35 s wall-clock, TWO worker attempts
636
+ success run 21.44 s wall-clock, ONE worker attempt
637
+ session total 121.79 s wall-clock; at xlarge 2x that is <= ~243.58 GPU-seconds
638
+ budget 2400 GPU-seconds/day (PRO) -> ~10.2% consumed
639
+ ```
640
+
641
+ ⏸️ Exact billed seconds remain unmeasurable — no readable ZeroGPU quota endpoint
642
+ (404 on all three probed). The figure above is a **bound**, not a measurement.
643
 
644
  ---
645
 
 
656
  The error was surfaced as an error, named as **not ours**, and no artifact was
657
  fabricated to accompany it.
658
 
659
+ > ✅ **And now the other half.** On the successful run the app returned a path
660
+ > **and the file behind it was real** — 39,146 bytes, 9 distinct frames, pixel
661
+ > std 72.657 (§9.3). The invariant has now been exercised in both directions:
662
+ > **no file claimed on failure, and a genuine file behind the claim on success.**
663
+ > A build that only ever failed could not have shown the second half.
664
+
665
  ---
666
 
667
  ## 11. Follow-ups this run created
 
672
  | 2 | **`ZEROGPU_DISK.md` §4.2**: upgrade the RSS prediction and the prune branch ⏸️ → ✅ from this run. | ⏸️ gated, docs-last |
673
  | 3 | **`OPERATOR_HANDOFF.md` §3 and §5 are stale in *both* directions** — §3 says the Space *"has never run"*, §5 says a deploy is *"not currently possible"*. **Startup demonstrably works and generation demonstrably does not**, and the document currently cannot express that distinction. | ⏸️ gated, docs-last |
674
  | 4 | ⏸️ **No readable ZeroGPU quota endpoint** — all three candidate URLs 404, so billed seconds cannot be measured, only bounded. Worst case ~200 GPU-s of 2400/day for this run (`xlarge` bills at 2×; packed 51.1 GB is over the 42.00 GiB threshold 📄). | ⏸️ open |
675
+ | 5 | **Bus defect**: `lead-gate.mjs:1709` computes `isLead = (session_id === SOMA_LEAD_SESSION_UUID)`. A `/clear` rotates the session id while the env var stays baked in from launch, so every soma bus tool is denied and the lead cannot file a report. **Side effect: it also disarms the lead-only `git push` / `git merge` guard.** | ⏸️ open, infrastructure |
676
  | 6 | ⏸️ **No steady-state RSS measurement exists.** `peak_rss_gib()` reports the load peak; the RAM question is about what remains resident when the load settles. Every RSS number in this document is a peak. **This is the measurement that would have prevented the wrong prediction in §7** and it is still not taken. | ⏸️ open |
677
  | 7 | ⛔ **The ~68 GB ceiling was inherited, never measured, and is now falsified** (§6). Audit any other planning number with the same provenance — carried in from outside, never verified here, and load-bearing. It survived this long because it was *consistent* with our data, which is not the same as supported by it. | ⏸️ open |
678
+ | 8 | ⚠️ **`02fe943` STAYS** — the retry succeeded, so the revert condition never triggered (§9.2). But it stands on a hypothesis this run killed and costs 31.24 GiB of peak RSS for a steady-state saving still unmeasured. **Kept because it did not fail, not because it was shown to help.** | ✅ resolved, ⚠️ unjustified |
679
+ | 9 | ⛔ **The fix is unattributed** — a container rebuild changed alongside `02fe943`, so n=1 vs n=1 with two variables (§9.3). Distinguishing them needs either a revert-and-retry on the same image, or route C. **Until then no document should say the widening fixed generation.** | ⏸️ open |
680
+ | 10 | ⏸️ **Only 1 of 11 modes has ever run on the Space** — `text_to_video`, 256x256x9, no conditioning, no stage 2, no LoRA, no audio. The audio modes exercise the mel front-end and the 16 kHz/48 kHz asymmetry, none of which has run on this platform. | ⏸️ open |
681
 
682
  ---
683
 
684
  ## 12. Repo state at the time of writing
685
 
686
+ - **`origin/soma/ltx25-studio` is at `1802bfd`** — the six earlier commits were
687
+ pushed by the orchestrator; the findings commits after it are unpushed. Pushing
688
  is the orchestrator's — this team does not push by design. Verified with
689
  `git rev-list --count origin/soma/ltx25-studio..HEAD`, which is the only
690
  authority on this; an earlier count taken from *"what I authored this round"*