yslan commited on
Commit
c52a4f8
·
verified ·
1 Parent(s): 52fb638

Upload cosmos_480p_round_after_next_prepared_20261124/geometry_variants/nexus_mean_disparity_sky_zero/DESIGN.md with huggingface_hub

Browse files
cosmos_480p_round_after_next_prepared_20261124/geometry_variants/nexus_mean_disparity_sky_zero/DESIGN.md ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # 480p disparity continuation
2
+
3
+ ## Changes from the current round
4
+
5
+ - Draw one weighted native-aspect bucket per update across all four B200 ranks. Retain 21 frames and eight windows per rank. The historical reference protocol is one Euler step at 480 × 832. Native depth uses Bonn at 544 × 736, KITTI at 352 × 1152 and Sintel at 416 × 960. Native camera uses 544 × 736 for 7-Scenes, Neural RGB-D and TUM.
6
+ - Keep Kubric81 (3), ReCamMaster (3), and ASE (2.25). ASE uses optical-Z depth labels and one-frame gaps. The prepared real-data camera supervision stays active wherever camera labels exist. Remove Schlepp’s 1.5 weight from the prepared variant. Remove DAVIS (0.5) and all three of its aspect partitions without redistributing the weight. The effective weights are synthetic 74.25, real video 26, robot 26, tracks 19 and human video 6, total 151.25.
7
+ - Use the frozen read-only Gemini ASE scene table for every window from a covered scene. For uncovered ASE scenes, retain the recipe’s placeholder. The snapshot receipt records the pilot and shard hashes, counts, and fallback shares by scene and sampleable window. Cosmos processes the caption with the anchor image online using the Qwen3-VL processor.
8
+ - Exclude Bonn, KITTI, Sintel, 7-Scenes, Neural RGB-D (NRGBD), TUM, TAP-Vid / DAVIS, and the PointMotionBench test cohort (HOT3D, WorldTrack and DAVIS) from the training mixture.
9
+ - Use `frame0_point_distance_mean` as the geometry scale and `disparity_sky_zero` as the depth code with the frozen native Wan2.2 video VAE. Code zero corresponds to pixel value −1 at the VAE input. The training target materializer and frame-0 reprojection use the same codec. The ray map keeps its existing pixel encoding and uses the versioned translation gauge.
10
+ - Each checkpoint’s windows file supplies the codec to native and historical depth evaluation. Both score one-step depth using the shared decoder. Historical depth uses the full-frame 480 × 832 squash and the historical sequence disparity fit. Native depth maps disparity back to the original image after the crop. Both pose protocols use the shared camera decoder and report three windows × eight seeds × 15 sequences.
11
+ - Benchmark inference accepts `--geometry-config` pointing to the released windows file or uses the same receipt from `OMNI4D_GEOMETRY_CONFIG`. The saved-layout evaluator supports `--geometry-config` and the expert geometry readback tools consume the same receipt.
12
+
13
+ ## Launch and checkpointing
14
+
15
+ Five-update trial `76705.16` passed on four B200s and recorded PointOdyssey before-and-after invalid shares, an ASE Gemini caption, the 151.25 mixture sum, native raster and sources, and optimizer-group learning rates. Formal step `76705.17` started 2026-11-24T15:55:38Z from the same update-15,000 EMA with fresh AdamW, 200 warm-up updates, the inherited 10× stream groups, cosine decay to 10%, and EMA 0.999.
16
+
17
+ The planner used the measured 12.0 s/update p90 from step 76705.11, multiplied by 1.10, and separate allowances for startup and checkpoint writes. It scheduled 9500 updates through 24500 and projected completion at 2026-11-26T03:03:50Z, at least 75 minutes before 2026-11-26T04:42:26Z. Keep every online and EMA overlay at 250-update intervals and archive optimizer state every 1,000 updates and at completion. The evaluation watcher records readiness and the Hugging Face finisher verifies the final pair using the immutable-path and checksum workflow.
18
+
19
+ ## Depth inpainting
20
+
21
+ PointOdyssey and Spring use `max_pool_inpaint` before camera-space point and gauge construction and disparity encoding. Up to three 3 × 3 max-pool passes take the farthest valid neighbouring depth. A 9 × 9 opening of the original missing mask protects broad holes and loader-supplied far labels stay invalid. Frame-0 reprojection splats only observed depths. The effective mixture remains 151.25.
22
+
23
+ The 20-window production-reader audit for each depth-supervised source is in `DEPTH_SPECKLE_AUDIT.md`. The completed audit requires no further restart. The run receipt and the six before-and-after comparisons are in `RESTART_POINTODYSSEY_DEPTH_FILL.md` and `pointodyssey_depth_restart/sheets`.
24
+
25
+ ## Syn4D
26
+
27
+ The collaborator’s disparity definition and the shared port agree on all 20 frozen-VAE windows within 3e-7 on the scalar code. One window, `seq_000015_2_0236_000_q0`, contributes frame-fit AbsRel 2.114 after the VAE and 1.973 before the VAE in float32. Its 99.5th-percentile disparity normalizer is 26.56× the median, 13.37% of labelled pixels map below q=0.01, and 0.38% of labelled pixels round to the sky endpoint in bf16. The clipped near tail biases the per-frame disparity fit. In frame index 7, 16.92% of labelled pixels hit the inverse-disparity floor and the frame's AbsRel is 41.42 before the VAE. Removing the upper code clamp in a float32 diagnostic lowers mean frame-fit AbsRel to 3.02e-8. The other 19 windows average 0.01325 frame-fit AbsRel for disparity and 0.03490 for grey log at the approved geometry scale. The `seq_000004_3_0131_000_q0` comparison has a 5.58× normalizer and its disparity frame-fit AbsRel is 0.0676 versus 0.2106 for grey log.
28
+
29
+ The p98 variant increased clipping and did not meaningfully improve the outlier before the VAE. The next controlled comparison can use the existing `log_disparity_sky_reserved` with the same scale, frozen VAE and unmasked loss. Keep the approved code in this release. Raw post-VAE tail attribution and the alternate-code VAE measurement on Syn4D remain open.
30
+
31
+ ## Recovery after the 25 November host-memory OOM
32
+
33
+ Slurm step `76705.17` ended at 08:44:50 UTC after update 20,874. Slurm reported five host OOM kills. The step requested 768 GiB and accounting recorded a maximum RSS of 724,781,428 KiB. The shared node advertises 2,576,000 MiB and allocation 76705 owns 1,288,000 MiB. The resumed step requests 1,200 GiB within that allocation, with the same four B200s, six persistent workers per rank, prefetch depth one, and pinned-memory batches. Its user cgroup enforces 1,080 GiB, as verified on the compute node. The failed step's accounting peak is consistent with the same 90% enforcement ratio.
34
+
35
+ Historical logs have no time series for rank or worker RSS. The native caption reader loads fixed JSON text dictionaries and indexes during construction (20 input files totaling 238 MB on disk). The ASE caption snapshot is a 66 MiB immutable SQLite database. ASE and ReCamMaster use read-only SQLite indexes and per-reader sequence lists. ASE retains at most eight sets of ZIP offsets and poses and closes the archive after each read. ReCamMaster closes the decoder after reading the requested frames. Syn4D has bounded NPZ and sequence caches, and its v1 reader retains per-sequence safetensor indexes when that path is used. These are possible sources of worker memory growth. The available accounting does not identify their contribution to the failed step. The resumed run records per-rank and per-worker RSS and step cgroup data in `oom_resume/rss/` at updates 1, 25 and 50 after each resume and every 100 absolute updates.
36
+
37
+ Step `76705.20` started at 09:32:41 UTC from the online overlay, EMA overlay and AdamW sidecar at absolute update 20,000. The loader uses its absolute-update offset. Worker and model RNG state were unavailable in the saved artifacts, so the restarted sampler cannot replay the uninterrupted stream. The original 15,000–24,500 cosine and EMA decay 0.999 continue through absolute update 24,500. The conservative finish projection is 26 November at 00:44 UTC, using 12 s/update plus startup and checkpoint allowance. The new optimizer checkpoints use safetensors.
38
+
39
+ The detached guard records attempts in `AUTO_RESUME.md` and polls every five minutes. It permits three automatic retries, checks for `training.complete` and `CANCELLED_BY_US`, and refuses new starts in the allocation's final two hours. Evaluation readiness follows the original 500-update cadence plus the final checkpoint. The HF finisher picks up the final attempt's resolved config and verifies the final online and EMA overlays.
40
+
41
+ ## Host-memory handoff on 25 November 2026
42
+
43
+ Read-only 30-minute measurements on 76705.20 found combined rank/worker PSS rising from 492.66 to 567.07 GiB and step cgroup memory rising from 554.87 to 761.35 GiB. The candidate online-caption and bounded-cache change is on branch cosmos/480p-online-captions-memory-20261125 at cca626150e27bf4791d5e9b0609b72c469220366. Its 19 focused tests passed. The live step keeps the existing reader while the 2,000-window CPU replay and the optimizer-boundary gate are pending. See [MEMORY.md](MEMORY.md).
44
+
45
+ ## Owner stop on 25 November 2026
46
+
47
+ At 2026-11-25T15:25:30Z, the owner stopped 480p training on step 76705.20 at its last logged update 21,990 to put the four B200 GPUs on tracking. The auto-resume and transition helpers were stopped. Saved overlays were retained. The supervised scorer continues processing those overlays.