Hy4 1.51×

Harness: Codex · switches: GS_ASYNC_LOGGING=1 GS_ASYNC_DENSIFY_STATS=1 GS_FUSED_ADAM=1 GS_FAST_MATH=1 GS_SKIP_UNUSED_DEPTH=1 GS_TIGHT_RECT=1 GS_CUSTOM_ADAM=1 GS_TIGHT_ALLOC=1

Judged
1.51×
Tier
N1
Self-best
1.57×
Rounds
17
Hours
10.0
API cost
$8.87
Input tokens · 95.8% cached
101 M
Output tokens
0.5 M
Requests
666
Smaller tiles + rewritten binning
partial: tiles not shrunk (32×8 / 8×32 slower than 16×16); binning tightened: GS_TIGHT_RECT visits only tiles in the support ellipse's bounding box, 1.3304 → 1.3957×; GS_TIGHT_ALLOC allocates keys from the tight box (+0.6%)
Bypass autograd, activations folded into raster kernel
✗ not in the log; training loop and activations stay in PyTorch
Lazy Adam (update only visible Gaussians)
✗ dense: torch fused Adam (GS_FUSED_ADAM, 1.0633 → 1.2454×), then a custom single-kernel GS_CUSTOM_ADAM for all 6 param groups, still every Gaussian every step, 1.3780 → 1.4642× (fast-math, lower precision)
Fused loss / SSIM
✗ GS_TORCH_COMPILE fused the L1 / loss combination with torch.compile, but full checks were slower, left off; SSIM untouched
Other main levers
GS_ASYNC_LOGGING and GS_ASYNC_DENSIFY_STATS remove per-step syncs (→ 1.0633×); GS_FAST_MATH: rasterizer built with --use_fast_math (lower precision), 1.2454 → 1.3271×; GS_SKIP_UNUSED_DEPTH skips the unused depth path, 1.3200 → 1.3411×
Raw work log17 sections
0.0 hRound 1 (baseline profile + async logging)
- Start (UTC): 2026-11-19 00:58:38; end (UTC): 2026-11-19 01:20:12.
- Baseline frozen reference timing: 332.345 s total, spread 0.0055 (/opt/researchboost/ws/task/timing_ref.json).
- Baseline profile (/tmp/r1/profile, steps 7000..7019): 190.1 ms GPU work in a 230.9 ms span (82.3% busy, 40.8 ms gaps). Top self-CUDA shares: backward PerGaussianRenderCUDA<3> 27.42%, forward _RasterizeGaussians 26.49% (renderCUDA 16.82%), Gaussian Adam 25.80%, preprocessCUDA 5.26%, duplicateWithKeys 5.04%. Host/sync signals: cudaStreamSynchronize 100.5 ms, aten::item 61.9 ms, aten::nonzero 43.8 ms, cudaMemcpy 39.6 ms.
- Hotspot chosen: per-step host synchronization from progress logging and CUDA event timing.
- Change: GS_ASYNC_LOGGING=1 (off by default) skips loss.item(), CUDA event timing, and the no-op TensorBoard report when there is no writer or test iteration; progress-bar updates remain. Training arithmetic, RNG draws, schedules, and optimizer calls are unchanged.
- Numeric tier: N1 (logically identical; no arithmetic change).
- Baseline time: /tmp/r1/time, total 334.814 s, speedup_vs_frozen_reference 0.9926.
- Candidate time: /tmp/r1/logging-time, total 322.231 s, speedup_vs_frozen_reference 1.0314.
- check --quick: /tmp/r1/logging-quick/check.json = PASS (exact_items_pass).
- Commit: 67c1f9e = Add async logging switch (N1; time 1.0314x).
0.4 hRound 2 (sync-free densification statistics)
- Start (UTC): 2026-11-19 01:20:29; end (UTC): 2026-11-19 01:31:57.
- Profile (/tmp/r2/profile, steps 7000..7019): async logging removed all 20 cudaEventElapsedTime calls and the expensive aten::item calls (61.9 ms -> 0.55 ms), improving GPU busy from 82.3% to 86.6% and cutting gaps from 40.8 ms to 29.5 ms. Remaining host-sync signals: 80 aten::nonzero (46.0 ms), 80 cudaMemcpy (89.2 ms), 83 cudaStreamSynchronize (41.9 ms).
- Hotspot chosen: per-iteration visibility-filter nonzero and integer-indexed densification-stat updates.
- Change: GS_ASYNC_DENSIFY_STATS=1 (off by default) returns a boolean visibility mask from gaussian_renderer.render and updates max_radii2D, xyz_gradient_accum, and denom with full-tensor masked PyTorch ops. A production-size synthetic probe showed bitwise-identical outputs versus integer-indexed upstream updates.
- Numeric tier: N1 (same arithmetic; bitwise-identical on the probe, N1 under the task's atomic-backward nondeterminism).
- time: /tmp/r2/stats-time, total 312.547 s, speedup_vs_frozen_reference 1.0633 (versus 322.231 s / 1.0314x for logging-only).
- check --quick: /tmp/r2/stats-quick/check.json = PASS (exact_items_pass).
- Full check: /tmp/r2/check/check.json = PASS, tier N1, performance.speedup 1.085 (candidate 306.299 s).
- Commit: ac041ec = Add sync-free densification stats switch (N1; time 1.0633x).
0.8 hRound 3 (fused Adam)
- Start (UTC): 2026-11-19 01:44:18; end (UTC): 2026-11-19 02:01:58.
- Profile (/tmp/r3/profile, steps 7000..7019): GPU busy 91.8%; backward PerGaussianRenderCUDA<3> 27.66%, forward _RasterizeGaussians 26.62%, Gaussian Adam 25.57%. Adam still used six foreach passes over all parameters.
- Hotspot chosen: Adam's multi-kernel implementation; fused Adam is an existing library fast path not enabled.
- Change: GS_FUSED_ADAM=1 (off by default) passes fused=True to the Gaussian and exposure torch.optim.Adam instances; fused=None keeps the original default foreach path. A production-shape numerical probe showed float32 optimizer state is preserved and parameter differences are at most 3e-8 after five steps.
- Numeric tier: N1 (same Adam update rule with small float32 rounding differences).
- time: /tmp/r3/fused-time, total 266.855 s, speedup_vs_frozen_reference 1.2454.
- check --quick: /tmp/r3/fused-quick/check.json = PASS (exact_items_pass).
- Full-run statistical validation: /tmp/r3/skip-timing/check.json = PASS, tier N1; exact items over the full seed-1 trajectory match and all four endpoints are within 3 sigma.
- Commit: f0386b9 = Add fused Adam switch (N1; time 1.2454x).
1.1 hRound 4 (backward-kernel launch configuration: no gain)
- Start (UTC): 2026-11-19 02:01:58; end (UTC): 2026-11-19 02:24:44.
- Profile (/tmp/r4/profile, steps 7000..7019): fused Adam cut kernel launches from 3782 to 2870 per 20 steps and the measured span from 205.2 ms to 179.2 ms. Backward PerGaussianRenderCUDA<3> 31.52% self-CUDA, forward _RasterizeGaussians 30.66%, fused Adam 13.99%.
- Hotspot chosen: backward rasterizer launch configuration. Its kernel launches one 32-thread warp as one CUDA block.
- Change: GS_BACKWARD_THREADS (default 32 when unset) makes the PerGaussianRenderCUDA launch use a validated multiple of 32 from 32 to 1024 and adjusts its grid accordingly.
- Numeric tier: N1 (same kernel arithmetic; only atomic accumulation order can change).
- time results: 32 threads 266.855 s / 1.2454x; 64 threads /tmp/r4/time-64 269.218 s / 1.2345x; 128 threads /tmp/r4/time-128 271.804 s / 1.2227x; 256 threads /tmp/r4/backward-time 271.407 s / 1.2245x. All tuned variants are slower.
- check --quick: /tmp/r4/backward-quick/check.json = PASS for 256 threads; 64 and 128 were not quick-checked because they showed no timing gain.
- Conclusion: no gain; the switch stays off in the final configuration.
- Commit: 0163da8 = Add configurable backward-kernel threads (N1; best screened 1.2345x, no gain).
- Definitive full check of the then-best configuration: /tmp/r4/check-best/check.json = PASS, tier N1, speedup 1.2333 (candidate 269.481 s).
1.7 hRound 5 (fast-math rasterizer build)
- Start (UTC): 2026-11-19 02:38:04; end (UTC): 2026-11-19 02:58:16.
- Profile (/tmp/r5/profile, steps 7000..7019): top self-CUDA shares are backward PerGaussianRenderCUDA<3> 31.56%, forward renderCUDA 19.20% (full _RasterizeGaussians 30.34%), fused Adam 13.83%, preprocessCUDA 6.04%, and duplicateWithKeys 5.81%.
- Hotspot chosen: transcendental and division throughput inside the dominant CUDA rasterizer kernels.
- Change: GS_FAST_MATH=1 (off by default) adds --use_fast_math to the rasterizer extension's nvcc flags; the default build is unchanged. Parameter and optimizer dtypes remain float32.
- Numeric tier: N2 (CUDA fast-math approximations; judged by exact items and the statistical gate). The judge reports the accepted measured tier as N1.
- time: /tmp/r6/fast-time, total 250.436 s, speedup_vs_frozen_reference 1.3271.
- check --quick: /tmp/r6/fast-quick/check.json = PASS (exact_items_pass).
- Full check: /tmp/r6/full-check/check.json = PASS, tier N1, speedup 1.3042 (candidate 254.829 s); exact items and all four endpoints within bounds.
- Commit: d896df3 = Add fast-math rasterizer build switch (N2; time 1.3271x).
2.0 hRound 6 (rasterizer tile layout)
- Start (UTC): 2026-11-19 02:58:16; end (UTC): 2026-11-19 03:14:10.
- Current best tree: commit d896df3 with GS_ASYNC_LOGGING=1, GS_ASYNC_DENSIFY_STATS=1, GS_FUSED_ADAM=1, and GS_FAST_MATH=1; full check /tmp/r6/full-check/check.json PASS N1 at 1.3042x.
- Plan: profile the current best tree first, then test a rasterizer tile-layout configuration with BLOCK_X * BLOCK_Y = 256.
- Profile (/tmp/r7/profile, steps 7000..7019): fast math reduced the 20-step profiler span to 169.0 ms with 92.5% GPU busy. Top self-CUDA shares: backward PerGaussianRenderCUDA<3> 30.57% (full backward node 37.64%), forward renderCUDA 17.83% (full _RasterizeGaussians 29.85%), fused Adam 14.01%, preprocessCUDA 6.51%, and duplicateWithKeys 6.44%. The render kernels still use fixed 16x16 tiles.
- Hotspot chosen: rasterizer tile geometry. BLOCK_X and BLOCK_Y are compile-time constants used by the forward and backward render kernels; alternative layouts with the same 256 threads per tile can change memory coalescing and tile counts.
- Change: GS_TILE_X and GS_TILE_Y (default 16x16 when unset) pass compile-time macros into config.h after validating that their product is 256. The setup change is off by default and composes with GS_FAST_MATH.
- Numeric tier: N1/N2 candidate (same image formation but different per-tile work grouping and accumulation order; judged by exact items and the statistical gate).
- time results: default 16x16 with fast math 250.436 s / 1.3271x; 32x8 /tmp/r7/time-32x8 262.233 s / 1.2674x; 8x32 /tmp/r7/time-8x32 265.047 s / 1.2539x. Both alternatives are slower.
- check --quick: not run for the slower layouts; no exactness claim is needed for a rejected no-gain configuration.
- Conclusion: no gain; the tile-layout switches stay off in the final configuration.
- Commit: 08de577 = Add configurable rasterizer tile layout (N2; best screened 1.2674x, no gain).
2.3 hRound 7 (host-overhead switches: no reliable gain)
- Start (UTC): 2026-11-19 03:14:10; end (UTC): 2026-11-19 03:35:00.
- Profile (/tmp/r8/profile, steps 7000..7019): self-CUDA total 158.712 ms; backward _RasterizeGaussiansBackward 37.38% (the PerGaussianRenderCUDA<3> kernel 30.35%), forward _RasterizeGaussians 29.56% (renderCUDA 17.72%), fused Adam 14.96%, preprocessCUDA 6.47%, and duplicateWithKeys 6.31%. Host-side signals included aten::index 15.480 ms, aten::nonzero 14.548 ms, aten::mul 2.234 ms, and 60 aten::nonzero calls from one densification step.
- Hotspot chosen: the remaining per-step host overhead from the identity alpha-mask multiply and the failing network-GUI accept() call.
- Change: GS_SKIP_IDENTITY_ALPHA=1 (off by default) leaves Camera.alpha_mask=None for three-channel, depth-free, non-test-exposure cameras, so train.py skips the multiplication by an all-ones mask; GS_SKIP_NETWORK_GUI=1 (off by default) skips the per-iteration try_connect() call. Both switches preserve the image, gradients, RNG draws, schedules, and optimizer calls when enabled.
- Numeric tier: N1 (no arithmetic change; multiplication by ones and a failed nonblocking socket accept are no-ops).
- Combined time: /tmp/r8/combined-time/time.json = 258.865 s, speedup_vs_frozen_reference 1.2839; windows 89.218/86.117/83.531 s.
- check --quick: /tmp/r8/combined-quick/check.json = PASS (exact_items_pass) with both switches enabled.
- Noise control: a re-time of the unmodified four-switch configuration from the same tree was /tmp/r8/baseline-time/time.json = 263.081 s, 1.2633; windows 93.002/86.355/83.724 s. The earlier best four-switch time was 250.436 s / 1.3271, so the 3-4% spread is dominated by this session's first-window noise, not by the host switches.
- Conclusion: no reliable gain; both new switches stay off in /submission/switches.json, and no full statistical check is needed for an unselected configuration.
- Commits: 7635b09 = Add optional identity-alpha mask skip (N1; combined time 1.2839x, no gain); 6955814 = Add optional network-GUI poll skip (N1; combined time 1.2839x, no gain).
3.1 hRound 8 (unused-depth rasterizer skip)
- Start (UTC): 2026-11-19 03:35:00; end (UTC): 2026-11-19 04:09:35.
- Profile basis: /tmp/r8/profile on the unchanged four-switch best tree (the Round 7 profile); forward and backward rasterizer kernels dominate GPU time, and the recipe has no depth regularization, so inverse-depth output accumulation and zero depth-gradient propagation are unused work.
- Hotspot chosen: depth-output and depth-gradient arithmetic in renderCUDA, PerGaussianRenderCUDA, computeCov2DCUDA, and the associated sample-buffer writes/copies.
- Change: GS_SKIP_UNUSED_DEPTH=1 (off by default) passes compute_depth=False to gaussian_renderer.render only when the iteration's depth regularization is inactive. The rasterizer returns a zero depth tensor but skips inverse-depth accumulation, sampled-depth writes/copies, and the zero-valued depth-gradient path; color compositing and all color gradients follow the same formulas. Depth-enabled iterations keep the original path. Added a compute_depth field to GaussianRasterizationSettings with default True; the C++ forward signature gained the matching flag.
- Numeric tier: N1 (unused zero-gradient terms removed; exact items and statistical endpoints judged).
- Build: /tmp/r9/build.log = {"status": "ok", "extensions": "/tmp/gs-ext/97a0d6b2da5bd45446ea2660"} with GS_FAST_MATH=1.
- Paired time on the isolated draft tree: baseline four-switch /tmp/r9/baseline-time/time.json = 251.767 s / 1.3200; depth switch /tmp/r9/depth-time/time.json = 247.818 s / 1.3411; windows baseline 80.248/87.176/84.343 s, depth 82.026/84.221/81.571 s.
- check --quick: /tmp/r9/depth-quick/check.json = PASS (exact_items_pass).
- Statistical check (check --skip-timing): /tmp/r9/stat-check/check.json = PASS, measured tier N1; full seed-1 exact items match and all four endpoints are within 3 sigma (PSNR 1.358 sigma, SSIM 0.819 sigma, LPIPS -0.328 sigma, log-count 1.391 sigma).
- Commit: eb5be96 = Add unused-depth rasterizer skip switch (N1; time 1.3411x).
- Final full check on the exact submitted tree/config: /tmp/final-check/check.json = PASS, tier N1, speedup 1.359 (candidate 244.557 s; windows 78.178/84.852/81.527 s); all exact items and statistical endpoints pass. Started detached at 2026-11-19 03:59:48, PID 15703, log /tmp/final-check.log.
3.3 hRound 9 (compiler vectorization flag)
- Start (UTC): 2026-11-19 04:09:35; end (UTC): 2026-11-19 04:58:18.
- Profile (/tmp/r10/profile, steps 7000..7019) on the exact five-switch passing tree: self-CUDA total 154.7 ms; backward _RasterizeGaussiansBackward 35.88% (PerGaussianRenderCUDA<3> 28.71%), forward _RasterizeGaussians 30.07% (renderCUDA 17.99%), fused Adam 15.57%, preprocessCUDA 6.64%, and duplicateWithKeys 6.49%.
- Hotspot chosen: the dominant memory/throughput-bound forward and backward rasterizer kernels; try one NVCC device-vectorization flag on all rasterizer CUDA sources.
- Change: GS_EXTRA_VECTORIZATION=1 (off by default, isolated copy /tmp/r10/tree-v1) adds --extra-device-vectorization to nvcc flags. No arithmetic source changes and the default build is unchanged.
- Numeric tier: N1/N2 candidate (compiler code generation only; judged by exact items and statistical gate if selected).
- Build: /tmp/r10/build.log = {"status": "ok", "extensions": "/tmp/gs-ext/8ed89d6db614415313942789"} with GS_FAST_MATH=1 and GS_EXTRA_VECTORIZATION=1.
- First paired time: baseline /tmp/r10/baseline-time/time.json = 255.947 s / 1.2985 (window 1 outlier 91.492 s); extra-vectorization /tmp/r10/extra-time/time.json = 243.184 s / 1.3666 (windows 77.444/84.484/81.256 s).
- check --quick: /tmp/r10/extra-quick/check.json = PASS (exact_items_pass).
- Noise-control baseline re-time: /tmp/r10/baseline-time-2/time.json = 246.690 s / 1.3472 (windows 81.532/83.964/81.193 s). The extra-vectorization gain versus this control is about 1.4%, and versus the exact-tree final check (244.557 s / 1.359x) about 0.6%.
- Full check on the isolated draft: /tmp/r10/extra-full-check/check.json = PASS, tier N1, speedup 1.3346 (candidate 249.015 s), slower than the current exact-tree full check 1.359 (244.557 s). Started detached at 2026-11-19 04:36:12, PID 18077, log /tmp/r10/extra-full.log.
- Conclusion: no reliable gain; GS_EXTRA_VECTORIZATION stays off in /submission/switches.json.
- Commit: 07b63a8 = Add optional NVCC vectorization switch (N1/N2; full check 1.3346x, no gain).
- Exact submitted tree quick check after the off-by-default commit: /tmp/r10/final-quick/check.json = PASS (exact_items_pass).
4.1 hRound 10 (raw warp-shuffle intrinsics in backward kernel)
- Start (UTC): 2026-11-19 05:00:57; end (UTC): 2026-11-19 05:30:29.
- Profile (/tmp/r11/profile, steps 7000..7019) on the exact current best tree: self-CUDA total 153.9 ms; backward _RasterizeGaussiansBackward 36.10% (PerGaussianRenderCUDA<3> 28.93%), forward _RasterizeGaussians 30.08% (renderCUDA 17.96%), fused Adam 15.28%, preprocessCUDA 6.64%, and duplicateWithKeys 6.51%.
- Hotspot chosen: the dominant backward kernel's 287-step pipeline uses eight cooperative-groups shfl_up calls per step to carry per-pixel state across lanes. Replace those with raw __shfl_up_sync intrinsics behind a compile-time switch.
- Change: GS_RAW_SHFL=1 (off by default, isolated copy /tmp/r11/tree-v1) defines WARP_SHFL_UP(value, delta) as __shfl_up_sync(0xffffffff, value, delta) instead of my_warp.shfl_up(value, delta) in PerGaussianRenderCUDA; setup.py adds -DGS_RAW_SHFL. The default cooperative-groups path is unchanged.
- Numeric tier: N1 (same shuffle dataflow and arithmetic; judged by exact items and statistical gate if selected).
- Build: /tmp/r11/build.log = {"status": "ok", "extensions": "/tmp/gs-ext/3fdc3ff59059cf174fda94d2"} with GS_FAST_MATH=1 and GS_RAW_SHFL=1.
- Paired time: baseline /tmp/r11/baseline-time/time.json = 248.309 s / 1.3384 (windows 83.266/83.799/81.244 s); raw-shuffle /tmp/r11/raw-time/time.json = 247.312 s / 1.3438 (windows 82.227/83.810/81.275 s). The 0.4% difference is below the session's timing noise and both are slower than the exact-tree full check 244.576 s / 1.3589x.
- check --quick: /tmp/r11/raw-quick/check.json = PASS (exact_items_pass).
- Conclusion: no reliable gain; GS_RAW_SHFL stays off in /submission/switches.json.
- Commit: 6ab44e5 = Add optional raw warp-shuffle intrinsics (N1; time 1.3438x, no gain).
- Exact submitted tree quick check after the off-by-default commit: /tmp/r11/final-quick/check.json = PASS (exact_items_pass). Final exact-tree full check /tmp/final-check-3/check.json = PASS, tier N1, speedup 1.3361 (candidate 248.743 s).
4.6 hRound 11 (active-lane loop bound in backward kernel)
- Start (UTC): 2026-11-19 05:30:29; end (UTC): 2026-11-19 06:15:02.
- Profile (/tmp/r12/profile, steps 7000..7019) on the exact current best tree: self-CUDA total 154.8 ms; backward _RasterizeGaussiansBackward 35.93% (PerGaussianRenderCUDA<3> 28.76%), forward _RasterizeGaussians 30.03% (renderCUDA 18.01%), fused Adam 15.53%, preprocessCUDA 6.64%, and duplicateWithKeys 6.44%.
- Hotspot chosen: the dominant backward kernel always runs 287 pixel-pipeline iterations per bucket and keeps all 32 lanes alive, even when max_contrib[tile_id] proves that only a suffix of the bucket can contribute.
- Change: GS_ACTIVE_LANES=1 (off by default, isolated copy /tmp/r12/tree-v1) computes active_lanes from the tile's maximum contributor count and the bucket start, marks higher lanes invalid, and shortens the loop bound from BLOCK_SIZE + 31 to BLOCK_SIZE + active_lanes - 1. Shuffles only propagate state from lower to higher lanes, so truncated high lanes cannot change any active lane's result; the default path keeps the original 287 iterations.
- Numeric tier: N1 (skips provably inactive lanes/iterations; judged by exact items and statistical gate if selected).
- Build: /tmp/r12/build.log = {"status": "ok", "extensions": "/tmp/gs-ext/b00b3fdb49038aa1b104424b"} with GS_FAST_MATH=1 and GS_ACTIVE_LANES=1.
- Paired time: baseline /tmp/r12/baseline-time/time.json = 252.037 s / 1.3186 (windows 86.000/84.357/81.680 s); active-lane /tmp/r12/active-time/time.json = 211.651 s / 1.5703 (windows 76.144/69.398/66.108 s). All three windows improve materially, about 19% end to end.
- check --quick: /tmp/r12/active-quick/check.json = PASS (exact_items_pass).
- Statistical check (check --skip-timing): /tmp/r12/stat-check/check.json = INCORRECT; all endpoints are far beyond 3 sigma (PSNR -7.28 sigma, SSIM -24.21 sigma, LPIPS 39.62 sigma, log-count -24.51 sigma). Started detached at 2026-11-19 05:48:45, PID 23426, log /tmp/r12/stat.log. The large timing gain is therefore not usable as-is.
- Variant A (loop truncation only, no high-lane masking): /tmp/r12/stat-a/check.json = INCORRECT; PSNR -6.20 sigma, SSIM -23.84 sigma, LPIPS 22.07 sigma, log-count -16.30 sigma.
- Variant B (high-lane masking only, original loop bound): /tmp/r12/stat-b/check.json = INCORRECT; PSNR -3.66 sigma, SSIM -22.68 sigma, LPIPS 39.38 sigma, log-count -24.65 sigma. Both the truncation and the masking independently damage the trained model.
- Conclusion: neither part of GS_ACTIVE_LANES can be enabled; its 1.5703x paired time is rejected. The switch remains off in /submission/switches.json.
- Commit: 99166f1 = Add optional active-lane backward switch (N1 candidate; statistical INCORRECT, off by default); the submitted tree and switch file retain the five validated switches.
5.9 hRound 12 (opacity-support tile culling)
- Start (UTC): 2026-11-19 06:32:59; end (UTC): 2026-11-19 07:01:36.
- Profile (/tmp/r13/profile, steps 7000..7019) on the exact submitted tree: self-CUDA total 154.1 ms; backward _RasterizeGaussiansBackward 36.01% (PerGaussianRenderCUDA<3> 28.85%), forward _RasterizeGaussians 29.97% (renderCUDA 17.89%), fused Adam 15.49%, preprocessCUDA 6.62%, duplicateWithKeys 6.47%, and radix sort 2.92%.
- Hotspot chosen: duplicateWithKeys evaluates an expensive rectangle-to-Gaussian opacity bound for every tile in a conservative 3-sigma rectangle, although the 1/255 alpha threshold defines a much smaller support ellipse for many Gaussians.
- Change: GS_TIGHT_RECT=1 (off by default, isolated copy /tmp/r13/tree-v1) derives the support ellipse's axis-aligned bounding box from the inverse 2D covariance and effective opacity, clamps it to the upstream radius, and iterates only those tiles. tiles_touched, radii, sentinel keys, and all emitted valid keys are unchanged; tiles outside the support ellipse are ones the reference's per-tile culling already rejects.
- Numeric tier: N1 candidate (same key list and image formation; judged by exact items and statistical gate).
- Build: /tmp/r13/build-on.log and /tmp/r13/build-off.log both report status ok for the switched and default builds.
- check --quick: /tmp/r13/quick/check.json = PASS (exact_items_pass) with GS_TIGHT_RECT=1.
- Paired same-session time: default /tmp/r13/time-off/time.json = 249.811 s / 1.3304 (windows 83.415/85.391/81.005 s); tight rect /tmp/r13/time-on/time.json = 238.125 s / 1.3957 (windows 75.678/82.727/79.720 s). All three windows improve; end-to-end gain is 4.7%.
- Full check with GS_TIGHT_RECT=1: /tmp/r13/check/check.json = PASS, tier N1, speedup 1.3598 (candidate 244.412 s); exact items over the full seed-1 trajectory match and all four endpoints are statistically equivalent. Started detached at 2026-11-19 06:51:28, PID 28277, log /tmp/r13/check.log.
- Commit: 6bee167 = Add opacity-support tile culling switch (N1 candidate; time 1.3957x); after the full check passed, GS_TIGHT_RECT=1 was added to /submission/switches.json. Exact-tree full check /tmp/final-check-5/check.json = PASS, tier N1, speedup 1.3527, started detached at 2026-11-19 07:02:02, PID 28738, log /tmp/r13/final-check-5.log.
6.4 hRound 13 (single-launch dense Adam)
- Start (UTC): 2026-11-19 07:12:34; end (UTC): 2026-11-19 07:45:23.
- Profile (/tmp/r14/profile, steps 7000..7019) on the current best tree with GS_TIGHT_RECT=1: self-CUDA total 150.9 ms; backward _RasterizeGaussiansBackward 36.81% (PerGaussianRenderCUDA<3> 29.47%), forward _RasterizeGaussians 28.61% (renderCUDA 18.25%), fused Adam 15.57%, preprocessCUDA 6.80%, duplicateWithKeys 4.61% (down from 6.47%), and radix sort 2.97%.
- Hotspot chosen: fused Adam still launches six _fused_adam_ calls per Gaussian step, one per named parameter group.
- Change: GS_CUSTOM_ADAM=1 (off by default, isolated copy /tmp/r14/tree-v2) adds a CUDA extension kernel that updates all six Gaussian parameter groups in one launch, with per-group learning rates and upstream Adam bias correction. A torch.optim.Adam subclass keeps the named groups, float32 exp_avg/exp_avg_sq state, one step() per iteration, and the global optimizer post-hook. The exposure optimizer remains unchanged.
- Numeric tier: N1 candidate (same Adam update formula; fast-math arithmetic and one fused launch; judged by exact items and statistical gate).
- Build: /tmp/r14/build-custom.log and /tmp/r14/build-baseline.log both report status ok.
- Correctness probe: /tmp/r14/adam_probe.py with the custom build gives maximum parameter difference 4.17e-07 versus PyTorch fused Adam after five steps, post-hook calls 10 with the custom optimizer seen, state dtypes [exp_avg float32, exp_avg_sq float32], and is_optimizer True.
- First check --quick attempt: /tmp/r14/quick/check.json = ERROR at Gaussian step 599. Densification creates six new parameters with grad=None at that step; upstream Adam skips the update, while the first custom implementation called the six-group kernel with an empty list. The chain stopped before any timing.
- Fix: inactive groups are padded with empty CUDA tensors (zero numel and learning rate), their state/step is left untouched, and step() returns without launching a kernel when no group is active. The CUDA launcher also returns immediately for total_elements == 0. This matches upstream Adam's skip behavior and preserves one optimizer post-hook step.
- Rebuild: /tmp/r14/build-custom-2.log and /tmp/r14/build-baseline-2.log both report status ok (extensions /tmp/gs-ext/4f335fbb143a6ca0bf3e1f0b and /tmp/gs-ext/89f415e9af6eef6be390b25a).
- Second correctness probe: maximum difference 4.17e-07, post-hook and float32 state checks still pass.
- Second check --quick: /tmp/r14/quick-2/check.json = PASS (exact_items_pass) with GS_CUSTOM_ADAM=1.
- Paired time: baseline /tmp/r14/time-baseline-2/time.json = 241.184 s / 1.3780 (windows 78.426/82.822/79.937 s); dense Adam /tmp/r14/time-custom-2/time.json = 226.982 s / 1.4642. The single-launch optimizer improves end-to-end time by 5.9%.
- Full check with GS_CUSTOM_ADAM=1: /tmp/r14/check/check.json = PASS, tier N1, speedup 1.4641 (candidate 226.990 s); exact items over the full seed-1 trajectory match and all four endpoints are statistically equivalent. Started detached at 2026-11-19 07:35:16, PID 31635, log /tmp/r14/check.log.
- Commit: 61887e1 = Add single-launch dense Adam switch (N1 candidate; time 1.4642x); after the full check passed, GS_CUSTOM_ADAM=1 was added to /submission/switches.json. Exact-tree full check /tmp/final-check-6/check.json = PASS, tier N1, speedup 1.4594, started detached at 2026-11-19 07:45:58, PID 32040, log /tmp/r14/final-check-6.log.
7.8 hRound 15 (tight key allocation for the validated support rect)
- Start (UTC): 2026-11-19 07:57:29; end (UTC): 2026-11-19 08:40:56.
- Profile (/tmp/r15/profile, steps 7000..7019) on the exact seven-switch best tree: 2949 GPU kernels over a 152.359 ms span, 140.575 ms union-busy (92.3%), 11.784 ms gaps. Top self-CUDA shares: backward PerGaussianRenderCUDA<3> 31.52%, forward renderCUDA<3> 19.66%, dense Adam 10.02%, forward preprocessCUDA<3> 7.25%, duplicateWithKeys 4.38%, CUB radix sort 3.18%, backward preprocessCUDA<3> 1.96%.
- Hotspot chosen: GS_TIGHT_RECT already emits keys only from the opacity-support rectangle, but tiles_touched still comes from the upstream 3-sigma radius, so the prefix sum, radix sort and sentinel-key work still process the larger allocation.
- Change: GS_TIGHT_ALLOC=1 (off by default) shares a tightSupportExtent helper between forward preprocessing and duplicateWithKeys, stores the per-Gaussian tight extents in geometry state, and sets tiles_touched to the tight rect area when the switch is on. Valid keys, radii, the visibility filter, scheduled densification, and the forward/backward render work are unchanged; only the number of allocated/sorted key slots and sentinel keys shrinks. The default build still passes nullptr and keeps the original 3-sigma allocation and the existing GS_TIGHT_RECT recomputation path.
- Numeric tier: N1 candidate (same valid key list and image formation as the validated tight-rect tree; exact items and statistical endpoints judged by the bench).
- Build: /tmp/r15/build-on.log = status ok (/tmp/gs-ext/9f3973cdbf5c1fddd396d8f5) and /tmp/r15/build-off.log = status ok (/tmp/gs-ext/acf9e26ee9be4038b2e1bcf1).
- check --quick with the switch: /tmp/r15/quick/check.json = PASS (exact_items_pass). check --quick on the default path of the modified source: /tmp/r15/quick-off/check.json = PASS.
- Paired same-session time: baseline /tmp/r15/time-off/time.json = 225.184 s / 1.4759 (windows 73.186/77.584/74.414 s); tight allocation /tmp/r15/time-on/time.json = 223.865 s / 1.4846 (windows 74.351/76.245/73.268 s). The end-to-end gain is 0.6%; window results are mixed, so the full check is the deciding evidence.
- Profile with the switch (/tmp/r15/profile-on): CUB radix-sort onesweep 4.474 -> 3.050 ms over 20 steps; duplicateWithKeys 6.151 -> 6.361 ms; sort + duplicate + scan total 11.283 -> 9.987 ms. Backward and forward render kernels are unchanged.
- Exact-tree check --quick with /submission/switches.json after enabling the switch: /tmp/r15/final-quick/check.json = PASS (exact_items_pass).
- Full check with GS_TIGHT_ALLOC=1: /tmp/r15/check/check.json = PASS, tier N1, speedup 1.5064 (candidate 220.618 s). Exact items over the full seed-1 trajectory match; endpoint biases are PSNR -0.07956 (bound 0.11682), SSIM -0.00030049 (bound 0.00068941), LPIPS -0.00004132 (bound 0.00100162), log-count 0.001516 (bound 0.016314). Started detached at 2026-11-19 08:31:47, PID 34448, log /tmp/r15/check.log.
- Commit: 3a28f3f = Add tight key allocation switch (N1 candidate; time 1.4846x). After the full check passed, GS_TIGHT_ALLOC=1 was added to /submission/switches.json.
8.4 hRound 16 (active-lane backward variants: rejected)
- Start (UTC): 2026-11-19 08:44:17; end (UTC): 2026-11-19 09:20:35.
- Profile (/tmp/r16/profile, steps 20000..20019) on the exact current best tree with eight switches: 2260 GPU kernels over a 149.764 ms span, 145.293 ms union-busy (97.0%). Top self-CUDA shares: backward PerGaussianRenderCUDA<3> 34.63%, forward renderCUDA<3> 20.85%, dense Adam 12.42%, forward preprocessCUDA<3> 8.41%, duplicateWithKeys 5.15%, CUB radix sort 2.45%, backward preprocessCUDA<3> 2.36%.
- Hotspot chosen: the dominant backward kernel. The previously rejected GS_ACTIVE_LANES optimization had a large timing gain, so this round tested whether its statistical failure came from uninitialized pipeline registers or from missing zero-valued atomics on masked lanes.
- Changes (all in isolated /tmp/r16 tree copies, none in the submission): GS_ACTIVE_LANES_ZERO initializes T, T_final, last_contributor, ar, ard, dL_dpixel and dL_invdepth to zero before the loop; GS_ACTIVE_LANES_ATOMICS_ZERO and GS_ACTIVE_LANES_ATOMICS_FULL also keep valid_splat true on masked high lanes so their zero-gradient atomics remain, while a separate active_splat flag skips their expensive work. The short variant keeps the truncated loop bound; the full variant keeps all 287 iterations.
- Numeric tier: N1 candidates (same arithmetic for active lanes but different masked work and execution/atomic order; judged by exact items and the statistical gate).
- Build: the init variant built successfully (/tmp/gs-ext/74d5011b4b6d32c3533740a7); the atomics variants built successfully through their check commands.
- check --quick: /tmp/r16/init-quick/check.json, /tmp/r16/atomics-short-quick/check.json, and /tmp/r16/atomics-full-quick/check.json all PASS (exact_items_pass).
- Statistical check --n1: /tmp/r16/init-n1/check.json = INCORRECT (PSNR and SSIM within bounds; LPIPS 0.002038 vs bound 0.001002, log-count -0.017032 vs bound 0.016314). /tmp/r16/atomics-short-n1/check.json = INCORRECT (LPIPS 0.001518, log-count -0.020992 beyond bounds). /tmp/r16/atomics-full-n1/check.json = INCORRECT (LPIPS 0.001775, log-count -0.021570 beyond bounds). Initialization reduced the earlier 7-40 sigma endpoint biases, but preserving zero atomics and the full loop did not make any variant equivalent.
- time: baseline /tmp/r16/time-baseline/time.json = 223.293 s / 1.4884 (windows 73.935/75.921/73.437 s); short atomics variant /tmp/r16/time-short/time.json = 215.510 s / 1.5421 (windows 69.447/74.373/71.690 s), a 3.6% end-to-end gain that is rejected by the statistical gate.
- Conclusion: every active-lane variant changes the trained model beyond the allowed endpoints; do not enable any of these switches. No source change was made in /submission/gaussian-splatting, so there is no commit for this round. The submitted tree and switch file remain the round-15 validated version.
8.7 hRound 17 (kernel launch bounds: no reliable gain)
- Start (UTC): 2026-11-19 09:22:54; end (UTC): 2026-11-19 09:35:29.
- Profile (/tmp/r17/profile, steps 7000..7019) on the exact current best tree: top self-CUDA shares are backward PerGaussianRenderCUDA<3> 32.09%, forward renderCUDA<3> 19.64%, dense Adam 10.06%, forward preprocessCUDA<3> 7.29%, duplicateWithKeys 4.56%, CUB radix sort 2.17%. Small PyTorch/CUDA-library kernels account for 25.762 ms of 140.348 ms GPU time (18.4%) over the 20-step window.
- Hotspot chosen: compiler/launch configuration of the dominant custom kernels. cuobjdump showed PerGaussianRenderCUDA at 62 registers, backward preprocessCUDA at 64, computeCov2DCUDA at 63, and forward preprocessCUDA at 40, all with zero spills; the default compiler assumes up to 1024 threads per block, which can cap registers at 64.
- Change (isolated /tmp/r17/tree-bounds, not in the submission): GS_LAUNCH_BOUNDS=1 adds a KERNEL_LAUNCH_BOUNDS macro (__launch_bounds__(BLOCK_SIZE)) to PerGaussianRenderCUDA, both preprocessCUDA kernels, and computeCov2DCUDA. The default build has no launch-bounds attribute and is unchanged.
- Numeric tier: N1 candidate (compiler code generation only; exact items and statistical gate would decide if selected).
- Build: /tmp/r17/build.log = status ok (/tmp/gs-ext/50683a751d9395c1d7a3bff4). Resource usage changed only from 62 to 64 registers on PerGaussianRenderCUDA and 63 to 61 on computeCov2DCUDA; preprocess kernels stayed at 64/40 registers, with no local memory or spills in either build.
- check --quick: /tmp/r17/quick/check.json = PASS (exact_items_pass).
- Paired same-session time: baseline /tmp/r17/time-off/time.json = 226.245 s / 1.4690 (windows 77.105/75.954/73.185 s); launch bounds /tmp/r17/time-on/time.json = 224.693 s / 1.4791 (windows 76.132/75.406/73.155 s). The 0.7% end-to-end gain is within observed run-to-run noise and does not justify a statistical/full check.
- Conclusion: no reliable gain; the switch is not enabled and the experiment remains in the isolated tree copy. No commit in the task tree.
9.7 hRound 18 (torch.compile fusion of loss and densification statistics)
- Start (UTC): 2026-11-19 09:39:18; conclusion (UTC): 2026-11-19 10:39:43. The round overran its 30-minute pacing target because several detached full checks were queued back-to-back; no source edits were made while those GPU jobs held the tree.
- Profile (/tmp/r18/profile/profile.json, steps 12000..12019) on the exact submitted eight-switch tree: self-CUDA total 164.5 ms over 20 steps. Dominant kernels are forward renderCUDA<3> 26.94%, backward PerGaussianRenderCUDA<3> 26.02%, dense Adam 10.25%, forward preprocessCUDA<3> 7.99%, PyTorch aten::index 6.83% (mostly one densification step in the window), duplicateWithKeys 3.36%, backward preprocessCUDA<3> 2.13%, dense PyTorch fills/elementwise operations about 4%, aten::div 1.97%, CUB radix sort 1.73%, and fused SSIM forward/backward 1.64%. Small PyTorch/library CUDA kernels total roughly 18.3% of GPU time in this window.
- Hotspot chosen: loss (L1, scalar combination) and full-image densification statistics are chains of small PyTorch kernels. GS_TORCH_COMPILE=1 (off by default) wraps _training_loss and _densification_stats_full_impl in torch.compile; the loss fusion keeps the same 0.8 L1 + 0.2 (1 - SSIM) expression, and the stats fusion keeps the same max-radius, vector-norm, where-mask, and denominator updates.
- Numeric tier: N1 candidate; exact items are unchanged in structure and the statistical gate decides the fused arithmetic.
- Commit: 8e32c70 = Add torch.compile fusion switch (N1; time 1.5063x); the default source path with the switch off is unchanged from the round-15 validated tree.
- Build/compile: the quick record with TORCH_LOGS=recompiles (/tmp/r18/logcheck/record_cand_s0.log) found 0 recompile hits. check --quick with compile on: /tmp/r18/quick/check.json = PASS (exact_items_pass). Isolated statistical check --n1: /tmp/r18/n1/check.json = PASS, all four endpoints within 3 sigma.
- time: isolated off/on /tmp/r18/time-off/time.json = 226.503 s / 1.4673 and /tmp/r18/time-on/time.json = 220.630 s / 1.5063. Exact-tree paired /tmp/r18/time-exact-off/time.json = 223.693 s / 1.4857 and /tmp/r18/time-exact-on/time.json = 220.371 s / 1.5081; the paired time runs favored compile on by about 1.5% end to end.
- Full checks with compile on: /tmp/r18/check/check.json = PASS N1, speedup 1.4343 (231.706 s; windows 83.381/75.695/72.630); /tmp/r18/check2/check.json = PASS N1, speedup 1.4577 (227.999 s; windows 73.385/81.549/73.065). The first timing window was inflated in one run, leaving the full-check verdict slower than the paired time screening.
- Compile-off full check on the exact current source with /tmp/r18/switches-exact-off.json (the current eight-switch configuration): /tmp/r18/check-off/check.json = PASS N1, speedup 1.5105 (220.030 s; windows 70.261/76.316/73.453). All exact items match and PSNR/SSIM/LPIPS/log-count biases are -0.404/-0.271/-0.743/+0.474 sigma. Detached PID 45018, log /tmp/r18/check-off.log.
- Conclusion: GS_TORCH_COMPILE is left implemented but OFF by default and removed from /submission/switches.json; the compile-off configuration has the best full-check evidence (1.5105x) and avoids compile-dependent timing variance. No source rollback was needed.
↑ 3DGS