Spaces:
Running on Zero
docs: structure is not content -- H9 came back near-silent
Browse filesAll twelve artifacts passed every structural check. Content was inspected
for two of them and one looked wrong. That sentence is the honest state of
this build and it is now the sentence the mode table is read through.
video_to_audio produced roughly -55 dBFS: RMS 58.3 against text_to_audio's
18013.9 at the same settings, about 309x quieter, on a 32767 ceiling.
Different md5 so it is not an echo of H8, but effectively inaudible where H8
is healthy. Recorded as OPEN -- defect, property of the conditioning clip, or
correct is not established, and whether H5/H6/H7 are also quiet decides
whether this is one defect or nine silent artifacts.
Channels, rate, duration, non-emptiness and verify_streams exit 0 all pass on
H9. Silence and a healthy signal have identical stream layout. This is the
'output looks right?' column failing exactly where it was predicted to, which
is the one column no instrument can fill -- so the mode table now says these
runs produce well-formed files rather than correct output.
Real-path byte counts filled in for H1-H9, H14, H15, H16.
The two-figures-for-H1 note is sharpened rather than kept: 865,447 vs 886,265
were the BYPASS and REAL code paths, not two runs of the same one, and H2 is
starker at 577,051 vs 432,486 -- 25% smaller. Recorded as open with both
routes named. Calling it GPU non-determinism would be a guess in the
reassuring direction, which is the move this document exists to prevent. The
advice stands either way: assert stream layout, never an exact size.
Section 7 now has two items, not one. H10/H11 stay marked not-run; the lead
confirmed they were not among the twelve attempted.
50 unmodified lines51525354555657585960616263646566676869707172737475767778798081828384858692 unmodified lines179180181182183184185159 unmodified lines3453463473483493503513525 unmodified lines35835936036150 unmodified linesBaseline is **704 Γ 480 Γ 121 frames**, seed pinned to **1234**. "Streams" iswhat `tests/verify_streams.py` observed in the container, not a human reading.| # | Mode | Result | Streams | Size | Time ||---|---|---|---|---|---|| H1 | `text_to_video` | β pass | h264 @24, no audio | 886,265 B | 25.7 s || H2 | `image_to_video` | β pass | h264 @24, no audio | 577,051 B | ~26 s || H3 | `image_text_to_video` | β pass | h264 @24, no audio | 1,040,007 B | ~26 s || H4 | `video_to_video` | β pass | video only | βΈοΈ not recorded | βΈοΈ || H5 | `text_to_audio_video` | β pass | h264 + **aac, 2 ch** | βΈοΈ not recorded | βΈοΈ || H6 | `image_to_audio_video` | β pass | h264 + aac, 2 ch | βΈοΈ not recorded | βΈοΈ || H7 | `image_text_to_audio_video` | β pass | h264 + aac, 2 ch | βΈοΈ not recorded | βΈοΈ || H8 | `text_to_audio` | β pass | **pcm_s16le, 2 ch**, no video | βΈοΈ not recorded | βΈοΈ || H9 | `video_to_audio` | β pass | pcm_s16le, 2 ch, no video | βΈοΈ not recorded | βΈοΈ || H10 | `audio_to_audio` | βΈοΈ **pending** | β | β | β || H11 | `audio_to_video` | βΈοΈ **pending** | β | β | β |**Nine of eleven modes have produced a real artifact with the expected streamlayout.** The two pending ones are the audio-**input** modes; see Β§4.> β οΈ **Artifact sizes are not reproducible to the byte.** H1 was run twice at the> same settings and returned **865,447 B** and later **886,265 B** β β the figure> above is the second, from the full run through `get_pipeline`. Sizes here are> evidence that a real encode happened and roughly how much came out. **Do not> write a check that asserts an exact size**; assert the stream layout, which is> what `verify_streams.py` does and what these runs were judged on.### 2.3 Beyond the baseline| Run | What it proves | Result ||---|---|---|| **H16** high resolution | usability, not just correctness | β `text_to_audio_video` at **1216 Γ 704**, aac stereo at 48 kHz || **H15** `duration_head` | the model chose the length, rather than a default leaking through | β returned **97 frames**, not 121 || **H14** stage 2 | upsample β 3-step schedule β diffusion decode | β **1408 Γ 960**, 121 frames, 2,254,799 B, 84.3 s |H15 is worth understanding: `num_frames` is *omitted* and the duration head92 unmodified linesand both documented recipes mention only the spatial one. We download it(0.2619 GB) and do **not** wire it in. Not a defect; an open question.5. **The audio input rate is 16000, the vocoder output is 48000.** π They arenot symmetric. Anything that assumes one rate for both directions willpitch-shift audio without erroring.159 unmodified lines## 7. If you do one thing**Run H10b.** It is the one claim this project has not earned: *that a user'suploaded audio reaches the model.*Two `noise_scale` values β 0.1 and 0.9 β at the **same pinned seed**, on`audio_to_audio`. **Identical audio means the input is not reaching the model**,5 unmodified linescorrect operation. The mode produces valid audio either way. Every other checkin the matrix passes either way.Everything else in Β§2 has produced an artifact and been observed.50 unmodified lines5152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011192 unmodified lines204205206207208209210211212213214215216217218219220221222223224225226227228229230231232159 unmodified lines3923933943953963973983994004014024034044054064074084094105 unmodified lines41641741841942050 unmodified linesBaseline is **704 Γ 480 Γ 121 frames**, seed pinned to **1234**. "Streams" iswhat `tests/verify_streams.py` observed in the container, not a human reading.| # | Mode | Result | Streams observed | Size | Time ||---|---|---|---|---|---|| H1 | `text_to_video` | β | h264 704Γ480@24, f=121 | 886,265 B | 25.7 s || H2 | `image_to_video` | β | h264 704Γ480@24, f=121 | 432,486 B | βΈοΈ || H3 | `image_text_to_video` | β | h264 704Γ480@24, f=121 | 1,130,178 B | βΈοΈ || H4 | `video_to_video` | β | h264 704Γ480@24, f=121 | 727,490 B | βΈοΈ || H5 | `text_to_audio_video` | β | h264 + **aac 48000 Hz 2 ch** | 1,091,468 B | βΈοΈ || H6 | `image_to_audio_video` | β | h264 + aac 48000 Hz 2 ch | 620,537 B | βΈοΈ || H7 | `image_text_to_audio_video` | β | h264 + aac 48000 Hz 2 ch | 784,282 B | βΈοΈ || H8 | `text_to_audio` | β | **pcm_s16le 48000 Hz 2 ch**, no video | 961,998 B | βΈοΈ || H9 | `video_to_audio` | β οΈ see Β§4.5 | pcm_s16le 48000 Hz 2 ch, no video | 961,998 B | βΈοΈ || H10 | `audio_to_audio` | βΈοΈ **not run** | β | β | β || H11 | `audio_to_video` | βΈοΈ **not run** | β | β | β |All β measured. `verify_streams.py` returned 0 on every one.> ### β οΈ Structure is not content>> **Twelve runs produced artifacts with the expected stream structure. Content> was inspected for two of them, and one looked wrong** β see **Β§4.5**. Nothing> here should be read as "nine modes produce correct output"; it says they> produce well-formed files, which is a weaker and different claim.>> H8 and H9 are byte-identical in size because uncompressed PCM of equal> duration always is. That is why size proves nothing about content, and why it> took an RMS measurement to notice.> ### βΈοΈ Sizes differ between the two code paths, and it is not known why>> Three modes were run both through a **bypass** (`_base_pipeline` plus an> injected `StageRunner`) and through the **real** `get_pipeline` path at the> same seed:>> | | bypass | real path |> |---|---:|---:|> | H1 | 865,447 B | 886,265 B |> | H2 | **577,051 B** | **432,486 B** β 25% smaller |> | H3 | 1,040,007 B | 1,130,178 B |>> **This is recorded as open, not as noise.** It may be GPU non-determinism β> cuDNN picks convolution algorithms heuristically and small pixel differences> compound hard through h264 β or it may be a genuine difference between the two> routes. βΈοΈ Nobody has established which, and calling it non-determinism would> be a guess in the reassuring direction.>> Either way: **assert stream layout, never an exact size.** A byte-count check> here would fail for reasons nobody understands, and be "fixed" by loosening it> until it proved nothing.### 2.3 Beyond the baseline| Run | What it proves | Result ||---|---|---|| **H16** high resolution | usability, not just correctness | β `text_to_audio_video` at **1216 Γ 704** @24, f=121 + aac 48000 Hz 2 ch β **2,331,528 B** || **H15** `duration_head` | the model chose the length, rather than a default leaking through | β **f=97**, not 121 β 704 Γ 480, 684,374 B || **H14** stage 2 | upsample β 3-step schedule β diffusion decode | β **1408 Γ 960**, 121 frames, 2,254,799 B, 84.3 s |H15 is worth understanding: `num_frames` is *omitted* and the duration head92 unmodified linesand both documented recipes mention only the spatial one. We download it(0.2619 GB) and do **not** wire it in. Not a defect; an open question.5. ### β οΈ `video_to_audio` produced near-silence, and this is unresolvedH9 produced audio at roughly **β55 dBFS** β β **RMS 58.3 against H8's18013.9 at the same settings, about 309Γ quieter** β on a 32767 int16ceiling. It is not an echo of H8 (different md5), so it is *something*, buteffectively inaudible where H8 is a healthy signal.βΈοΈ **Not established** whether this is a defect, a property of theconditioning clip, or correct behaviour for the mode. Under investigation,including whether H5/H6/H7 are also quiet β **if they are, this is one defectand every audio artifact counted above is silent.**The sentence that matters most in this document:> **All twelve artifacts passed every structural check. Content was> inspected for two of them, and one looked wrong.**Channels, sample rate, duration, non-emptiness and `verify_streams` exit 0**all pass on H9**. Silence and a healthy signal have identical streamlayout. This is the *"output looks right?"* column of the run log failingexactly where it was predicted to β the one column no instrument can fill.6. **The audio input rate is 16000, the vocoder output is 48000.** π They arenot symmetric. Anything that assumes one rate for both directions willpitch-shift audio without erroring.159 unmodified lines## 7. If you do one thing**Two things, and they are the two claims this project has not earned.**### First: settle whether the audio is real`video_to_audio` came back at roughly **β55 dBFS** β see Β§4.5. Check whetherH5/H6/H7 are also quiet. **If they are, every audio artifact in Β§2 is silent**and nine passing modes becomes four. Listen to them; no instrument here cananswer it, which is the whole reason it went unnoticed through twelve greenruns.### Second: run H10b*That a user's uploaded audio reaches the model* is otherwise unproven.Two `noise_scale` values β 0.1 and 0.9 β at the **same pinned seed**, on`audio_to_audio`. **Identical audio means the input is not reaching the model**,5 unmodified linescorrect operation. The mode produces valid audio either way. Every other checkin the matrix passes either way.Everything else in Β§2 has produced an artifact and had its **structure**observed. Structure was never the hard part.