Spaces:
Running on Zero
Running on Zero
Commit History
-
Fix dark 3D AI exports: set metallicFactor so GLB materials are not fully metallic
Bobbytrimesh omits metallicFactor when unset, and glTF defaults it to 1.0, so every exported GLB was fully metallic. A metal surface has no diffuse response and the SkyeBrowse viewer has no environment map, so imported models rendered near-black.0f78268
-
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 -
Gated core speedups: GPU preview render, SLAT/SS SDPA+batched CFG, sync-free bake, upstream SS schedule
Bobby +1: Claude Opus 5.5All switches default to production behaviour: - FAST_PREVIEW_RENDER (app.py): turntable frames + alpha compose stay on the GPU - SLAT_FAST_ATTENTION / SS_FAST_ATTENTION (pipeline): SDPA + one-forward CFG per stage - SS_UPSTREAM_SCHEDULE (pipeline): merge pipeline.json SS params (rescale_t 3, CFG interval) - BAKE_SYNC_FREE / TEXTURE_OPT_FUSED_ADAM (postprocessing): no host round trips in the bake Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>a6a6aa0
-
Speed phase 1: fp16 SLAT, SDPA flow attention, batched CFG, realtime VP8, bake init150
Bobby +1: Claude Opus 5.5SLAT sampled under fp16 autocast like upstream (the fp32 inner autocast forced fp32 kernels). Dense and sparse full attention route to SDPA while windowed decoder attention keeps xformers. Classifier-free guidance runs cond and uncond in one forward. Alpha WebM encodes with -deadline realtime -cpu-used 8. Texture bake starts from the projected average with 0.3x the steps at lr 3e-3. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>093fc19 -
Bench: A/B the bake against the production module on the same state
Bobby +1: Claude Opus 5.5Temporary: bench_legacy_postprocessing is df79a87's postprocessing_utils, reachable only through /bench_bakes with legacy=true. Also record face counts after each bake stage. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>9186740 -
Speed up original TRELLIS export paths and add a dev bake/sampler bench
Bobby +1: Claude Opus 5.5- STL: orient faces with a vectorized BFS-tree parity pass instead of trimesh's Python winding BFS (which ran twice: in validate and in fix_normals). Output is identical on consistent meshes. - GLB bake: fill texture gutters on GPU (edge dilation + pull-push) instead of CPU Telea inpaint; select outer faces and build the mincut graph without per-face GPU syncs; expose texture mode, render views, hole-fill views, gutter fill and decimation backend as to_glb knobs with per-stage timings. - MDT-dist: optional distilled flow models (TRELLIS_SAMPLER=mdt) loaded from Zanwei/mdt-dist at a pinned revision; default sampler unchanged. - TRELLIS_BENCH=1 adds dev-only /bench_generate and /bench_bakes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>8cee3f1
-
Support the 1536px texture option without invalid mip levels
Bobby95eaa1c
-
Promote validated TRELLIS speedups and RGB-only previews
Bobby6cad89f
-
Reduce ZeroGPU occupancy by moving CPU output work outside GPU tasks
Bobby1e5fb4a
-
texture opt change test
Bobbyb447c81 -
Fix Spaces build by dropping gaussian extension dependency path
Bobby09e4a17 -
Revert app to original TRELLIS runtime with ZeroGPU preview-first flow
Bobbya00e29b
-
Migrate from TRELLIS v1 to TRELLIS.2 pipeline
- Replace trellis/ with trellis2/ (3-stage: sparse structure -> shape -> texture) - Model: microsoft/TRELLIS.2-4B (upgraded from TRELLIS-image-large) - PyTorch 2.6.0 + CUDA 12.4, flash_attn_3, o_voxel, cumesh, flex_gemm - GLB export via o_voxel.postprocess.to_glb with PBR materials - Add HDRI envmaps for shaded rendering (forest, sunset, courtyard) - Keep existing Gradio UI: LitModel3D, video preview, STL export - Remove old extensions/, wheels/, Dockerfile (Gradio SDK space) Co-authored-by: Cursor <cursoragent@cursor.com>e6de801 -
update
8c623c3
-
Add multiimage and gaussian
b7b00e2
-
Speed UP!
690b53e
-
Upload
db6a3b7