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
§ 02Key levers
- Smaller tiles + rewritten binning
- partial: tiles not shrunk (32×8 / 8×32 slower than 16×16); binning tightened:
GS_TIGHT_RECTvisits only tiles in the support ellipse's bounding box, 1.3304 → 1.3957×;GS_TIGHT_ALLOCallocates 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-kernelGS_CUSTOM_ADAMfor all 6 param groups, still every Gaussian every step, 1.3780 → 1.4642× (fast-math, lower precision) - Fused loss / SSIM
- ✗
GS_TORCH_COMPILEfused the L1 / loss combination withtorch.compile, but full checks were slower, left off; SSIM untouched - Other main levers
GS_ASYNC_LOGGINGandGS_ASYNC_DENSIFY_STATSremove per-step syncs (→ 1.0633×);GS_FAST_MATH: rasterizer built with--use_fast_math(lower precision), 1.2454 → 1.3271×;GS_SKIP_UNUSED_DEPTHskips the unused depth path, 1.3200 → 1.3411×
§ ARaw trace
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: backwardPerGaussianRenderCUDA<3>27.42%, forward_RasterizeGaussians26.49% (renderCUDA16.82%), Gaussian Adam 25.80%,preprocessCUDA5.26%,duplicateWithKeys5.04%. Host/sync signals:cudaStreamSynchronize100.5 ms,aten::item61.9 ms,aten::nonzero43.8 ms,cudaMemcpy39.6 ms. - Hotspot chosen: per-step host synchronization from progress logging and CUDA event timing. - Change:GS_ASYNC_LOGGING=1(off by default) skipsloss.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). - Baselinetime:/tmp/r1/time, total 334.814 s,speedup_vs_frozen_reference0.9926. - Candidatetime:/tmp/r1/logging-time, total 322.231 s,speedup_vs_frozen_reference1.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 20cudaEventElapsedTimecalls and the expensiveaten::itemcalls (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: 80aten::nonzero(46.0 ms), 80cudaMemcpy(89.2 ms), 83cudaStreamSynchronize(41.9 ms). - Hotspot chosen: per-iteration visibility-filternonzeroand integer-indexed densification-stat updates. - Change:GS_ASYNC_DENSIFY_STATS=1(off by default) returns a boolean visibility mask fromgaussian_renderer.renderand updatesmax_radii2D,xyz_gradient_accum, anddenomwith 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_reference1.0633 (versus 322.231 s / 1.0314x for logging-only). -check --quick:/tmp/r2/stats-quick/check.json= PASS (exact_items_pass). - Fullcheck:/tmp/r2/check/check.json= PASS, tier N1,performance.speedup1.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%; backwardPerGaussianRenderCUDA<3>27.66%, forward_RasterizeGaussians26.62%, Gaussian Adam 25.57%. Adam still used sixforeachpasses 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) passesfused=Trueto the Gaussian and exposuretorch.optim.Adaminstances;fused=Nonekeeps 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_reference1.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. BackwardPerGaussianRenderCUDA<3>31.52% self-CUDA, forward_RasterizeGaussians30.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 thePerGaussianRenderCUDAlaunch 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). -timeresults: 32 threads 266.855 s / 1.2454x; 64 threads/tmp/r4/time-64269.218 s / 1.2345x; 128 threads/tmp/r4/time-128271.804 s / 1.2227x; 256 threads/tmp/r4/backward-time271.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 backwardPerGaussianRenderCUDA<3>31.56%, forwardrenderCUDA19.20% (full_RasterizeGaussians30.34%), fused Adam 13.83%,preprocessCUDA6.04%, andduplicateWithKeys5.81%. - Hotspot chosen: transcendental and division throughput inside the dominant CUDA rasterizer kernels. - Change:GS_FAST_MATH=1(off by default) adds--use_fast_mathto 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_reference1.3271. -check --quick:/tmp/r6/fast-quick/check.json= PASS (exact_items_pass). - Fullcheck:/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: commitd896df3withGS_ASYNC_LOGGING=1,GS_ASYNC_DENSIFY_STATS=1,GS_FUSED_ADAM=1, andGS_FAST_MATH=1; full check/tmp/r6/full-check/check.jsonPASS N1 at 1.3042x. - Plan: profile the current best tree first, then test a rasterizer tile-layout configuration withBLOCK_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: backwardPerGaussianRenderCUDA<3>30.57% (full backward node 37.64%), forwardrenderCUDA17.83% (full_RasterizeGaussians29.85%), fused Adam 14.01%,preprocessCUDA6.51%, andduplicateWithKeys6.44%. The render kernels still use fixed 16x16 tiles. - Hotspot chosen: rasterizer tile geometry.BLOCK_XandBLOCK_Yare 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_XandGS_TILE_Y(default 16x16 when unset) pass compile-time macros intoconfig.hafter validating that their product is 256. The setup change is off by default and composes withGS_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). -timeresults: default 16x16 with fast math 250.436 s / 1.3271x; 32x8/tmp/r7/time-32x8262.233 s / 1.2674x; 8x32/tmp/r7/time-8x32265.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_RasterizeGaussiansBackward37.38% (thePerGaussianRenderCUDA<3>kernel 30.35%), forward_RasterizeGaussians29.56% (renderCUDA17.72%), fused Adam 14.96%,preprocessCUDA6.47%, andduplicateWithKeys6.31%. Host-side signals includedaten::index15.480 ms,aten::nonzero14.548 ms,aten::mul2.234 ms, and 60aten::nonzerocalls from one densification step. - Hotspot chosen: the remaining per-step host overhead from the identity alpha-mask multiply and the failing network-GUIaccept()call. - Change:GS_SKIP_IDENTITY_ALPHA=1(off by default) leavesCamera.alpha_mask=Nonefor three-channel, depth-free, non-test-exposure cameras, sotrain.pyskips the multiplication by an all-ones mask;GS_SKIP_NETWORK_GUI=1(off by default) skips the per-iterationtry_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). - Combinedtime:/tmp/r8/combined-time/time.json= 258.865 s,speedup_vs_frozen_reference1.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-switchtimewas 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/profileon 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 inrenderCUDA,PerGaussianRenderCUDA,computeCov2DCUDA, and the associated sample-buffer writes/copies. - Change:GS_SKIP_UNUSED_DEPTH=1(off by default) passescompute_depth=Falsetogaussian_renderer.renderonly 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 acompute_depthfield toGaussianRasterizationSettingswith defaultTrue; 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"}withGS_FAST_MATH=1. - Pairedtimeon 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, PID15703, 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_RasterizeGaussiansBackward35.88% (PerGaussianRenderCUDA<3>28.71%), forward_RasterizeGaussians30.07% (renderCUDA17.99%), fused Adam 15.57%,preprocessCUDA6.64%, andduplicateWithKeys6.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-vectorizationto 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"}withGS_FAST_MATH=1andGS_EXTRA_VECTORIZATION=1. - First pairedtime: 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, PID18077, log/tmp/r10/extra-full.log. - Conclusion: no reliable gain;GS_EXTRA_VECTORIZATIONstays 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_RasterizeGaussiansBackward36.10% (PerGaussianRenderCUDA<3>28.93%), forward_RasterizeGaussians30.08% (renderCUDA17.96%), fused Adam 15.28%,preprocessCUDA6.64%, andduplicateWithKeys6.51%. - Hotspot chosen: the dominant backward kernel's 287-step pipeline uses eight cooperative-groupsshfl_upcalls per step to carry per-pixel state across lanes. Replace those with raw__shfl_up_syncintrinsics behind a compile-time switch. - Change:GS_RAW_SHFL=1(off by default, isolated copy/tmp/r11/tree-v1) definesWARP_SHFL_UP(value, delta)as__shfl_up_sync(0xffffffff, value, delta)instead ofmy_warp.shfl_up(value, delta)inPerGaussianRenderCUDA; 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"}withGS_FAST_MATH=1andGS_RAW_SHFL=1. - Pairedtime: 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_SHFLstays 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_RasterizeGaussiansBackward35.93% (PerGaussianRenderCUDA<3>28.76%), forward_RasterizeGaussians30.03% (renderCUDA18.01%), fused Adam 15.53%,preprocessCUDA6.64%, andduplicateWithKeys6.44%. - Hotspot chosen: the dominant backward kernel always runs 287 pixel-pipeline iterations per bucket and keeps all 32 lanes alive, even whenmax_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) computesactive_lanesfrom the tile's maximum contributor count and the bucket start, marks higher lanes invalid, and shortens the loop bound fromBLOCK_SIZE + 31toBLOCK_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"}withGS_FAST_MATH=1andGS_ACTIVE_LANES=1. - Pairedtime: 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, PID23426, 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 ofGS_ACTIVE_LANEScan 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_RasterizeGaussiansBackward36.01% (PerGaussianRenderCUDA<3>28.85%), forward_RasterizeGaussians29.97% (renderCUDA17.89%), fused Adam 15.49%,preprocessCUDA6.62%,duplicateWithKeys6.47%, and radix sort 2.92%. - Hotspot chosen:duplicateWithKeysevaluates 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.logand/tmp/r13/build-off.logboth reportstatus okfor the switched and default builds. -check --quick:/tmp/r13/quick/check.json= PASS (exact_items_pass) withGS_TIGHT_RECT=1. - Paired same-sessiontime: 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%. - FullcheckwithGS_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, PID28277, 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=1was 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, PID28738, 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 withGS_TIGHT_RECT=1: self-CUDA total 150.9 ms; backward_RasterizeGaussiansBackward36.81% (PerGaussianRenderCUDA<3>29.47%), forward_RasterizeGaussians28.61% (renderCUDA18.25%), fused Adam 15.57%,preprocessCUDA6.80%,duplicateWithKeys4.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. Atorch.optim.Adamsubclass keeps the named groups, float32exp_avg/exp_avg_sqstate, onestep()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.logand/tmp/r14/build-baseline.logboth reportstatus ok. - Correctness probe:/tmp/r14/adam_probe.pywith the custom build gives maximum parameter difference4.17e-07versus PyTorch fused Adam after five steps, post-hook calls10with the custom optimizer seen, state dtypes[exp_avg float32, exp_avg_sq float32], andis_optimizer True. - Firstcheck --quickattempt:/tmp/r14/quick/check.json= ERROR at Gaussian step 599. Densification creates six new parameters withgrad=Noneat 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 (zeronumeland learning rate), their state/step is left untouched, andstep()returns without launching a kernel when no group is active. The CUDA launcher also returns immediately fortotal_elements == 0. This matches upstream Adam's skip behavior and preserves one optimizer post-hook step. - Rebuild:/tmp/r14/build-custom-2.logand/tmp/r14/build-baseline-2.logboth reportstatus ok(extensions/tmp/gs-ext/4f335fbb143a6ca0bf3e1f0band/tmp/gs-ext/89f415e9af6eef6be390b25a). - Second correctness probe: maximum difference4.17e-07, post-hook and float32 state checks still pass. - Secondcheck --quick:/tmp/r14/quick-2/check.json= PASS (exact_items_pass) withGS_CUSTOM_ADAM=1. - Pairedtime: 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%. - FullcheckwithGS_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, PID31635, 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=1was 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, PID32040, 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: backwardPerGaussianRenderCUDA<3>31.52%, forwardrenderCUDA<3>19.66%, dense Adam 10.02%, forwardpreprocessCUDA<3>7.25%,duplicateWithKeys4.38%, CUB radix sort 3.18%, backwardpreprocessCUDA<3>1.96%. - Hotspot chosen:GS_TIGHT_RECTalready emits keys only from the opacity-support rectangle, buttiles_touchedstill 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 atightSupportExtenthelper between forward preprocessing andduplicateWithKeys, stores the per-Gaussian tight extents in geometry state, and setstiles_touchedto 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 passesnullptrand keeps the original 3-sigma allocation and the existingGS_TIGHT_RECTrecomputation 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 --quickwith the switch:/tmp/r15/quick/check.json= PASS (exact_items_pass).check --quickon the default path of the modified source:/tmp/r15/quick-off/check.json= PASS. - Paired same-sessiontime: 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;duplicateWithKeys6.151 -> 6.361 ms; sort + duplicate + scan total 11.283 -> 9.987 ms. Backward and forward render kernels are unchanged. - Exact-treecheck --quickwith/submission/switches.jsonafter enabling the switch:/tmp/r15/final-quick/check.json= PASS (exact_items_pass). - FullcheckwithGS_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, PID34448, 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=1was 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: backwardPerGaussianRenderCUDA<3>34.63%, forwardrenderCUDA<3>20.85%, dense Adam 12.42%, forwardpreprocessCUDA<3>8.41%,duplicateWithKeys5.15%, CUB radix sort 2.45%, backwardpreprocessCUDA<3>2.36%. - Hotspot chosen: the dominant backward kernel. The previously rejectedGS_ACTIVE_LANESoptimization 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/r16tree copies, none in the submission):GS_ACTIVE_LANES_ZEROinitializesT,T_final,last_contributor,ar,ard,dL_dpixelanddL_invdepthto zero before the loop;GS_ACTIVE_LANES_ATOMICS_ZEROandGS_ACTIVE_LANES_ATOMICS_FULLalso keepvalid_splattrue on masked high lanes so their zero-gradient atomics remain, while a separateactive_splatflag 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 theircheckcommands. -check --quick:/tmp/r16/init-quick/check.json,/tmp/r16/atomics-short-quick/check.json, and/tmp/r16/atomics-full-quick/check.jsonall PASS (exact_items_pass). - Statisticalcheck --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 backwardPerGaussianRenderCUDA<3>32.09%, forwardrenderCUDA<3>19.64%, dense Adam 10.06%, forwardpreprocessCUDA<3>7.29%,duplicateWithKeys4.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.cuobjdumpshowedPerGaussianRenderCUDAat 62 registers, backwardpreprocessCUDAat 64,computeCov2DCUDAat 63, and forwardpreprocessCUDAat 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=1adds aKERNEL_LAUNCH_BOUNDSmacro (__launch_bounds__(BLOCK_SIZE)) toPerGaussianRenderCUDA, bothpreprocessCUDAkernels, andcomputeCov2DCUDA. 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 onPerGaussianRenderCUDAand 63 to 61 oncomputeCov2DCUDA; 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-sessiontime: 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 forwardrenderCUDA<3>26.94%, backwardPerGaussianRenderCUDA<3>26.02%, dense Adam 10.25%, forwardpreprocessCUDA<3>7.99%, PyTorchaten::index6.83% (mostly one densification step in the window),duplicateWithKeys3.36%, backwardpreprocessCUDA<3>2.13%, dense PyTorch fills/elementwise operations about 4%,aten::div1.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_lossand_densification_stats_full_implintorch.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 withTORCH_LOGS=recompiles(/tmp/r18/logcheck/record_cand_s0.log) found 0 recompile hits.check --quickwith compile on:/tmp/r18/quick/check.json= PASS (exact_items_pass). Isolated statisticalcheck --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 pairedtimeruns 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 pairedtimescreening. - 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 PID45018, log/tmp/r18/check-off.log. - Conclusion:GS_TORCH_COMPILEis 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.