Spaces:
Running on Zero
Running on Zero
Commit History
-
Pre-bake the GLB under the Pro allowance for embed runs
Bobby +1: Claude Opus 5.5Embedded visitors are quota-denied, so their iframe pre-bake always failed and the GLB click went through a second webapp fallback. The Pro preview run now starts the bake in a background thread that keeps the request's Pro token, so the GLB is ready (or in flight) when the visitor clicks. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016CzSDhiXWoUsZi79gdQq7ibaf02dc -
Ship core switches 1-4 and speculative GLB pre-bake
Bobby +1: Claude Opus 5.5- BAKE_SYNC_FREE, SLAT_FAST_ATTENTION, FAST_PREVIEW_RENDER, TEXTURE_OPT_FUSED_ADAM on; SS_FAST_ATTENTION and SS_UPSTREAM_SCHEDULE stay off so sparse-structure sampling matches prod - A hidden private .then after each generation flow bakes the GLB at the selected size in the shared gpu_task (visitor's request, so ZeroGPU bills the visitor); PREBAKE_GLB turns it off - bake_flight.BakeFlights keeps one bake per generation: a click joins an in-flight pre-bake, waits for it before baking a different size, and a new generation discards stale entries - GPU_CALL logs prebake=true; LABS_EVENT glb_done logs prebake=hit|joined; prebake_done logs ip_token Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>692adfc