NeAR / app.py

Commit History

ui: move vid_roll to top-right row, restore vid_hdri below vid_cam
1aa9f70

luh1124 commited on

ui: remove PBR GLB export from online demo
71ce4de

luh1124 commited on

perf(glb): further reduce bake params to avoid 120s timeout
a2f3bcf

luh1124 commited on

perf(glb): speed up bake by reducing hardcoded defaults
253aab0

luh1124 commited on

revert: disable NeAR main-process preload; restore torchvision weights=...
0ab63d1

luh1124 commited on

ui: update title and description
b92b76e

luh1124 commited on

chore: bump default video frames back to 48, step 2
58f7431

luh1124 commited on

fix(app): remove @torch .no_grad from generate_glb
39f697a

luh1124 commited on

fix: enable NeAR CPU preload by bypassing torchvision weights CUDA init
035cb0d

luh1124 commited on

fix(app): split renderings into two @GPU callbacks; lower defaults
66f3e6b

luh1124 commited on

fix(app): do NOT preload NeAR in main process; warm disk caches only
19a8e83

luh1124 commited on

fix(app): lazy-import trellis, preload NeAR on CPU, fix ZeroGPU duration
008d00e

luh1124 commited on

fix: replace DINOv2 torch.hub.load with download_url_to_file in preload
1aad7b7

luh1124 Claude Sonnet 4.6 commited on

fix: use @GPU (no duration) for geometry and slat, matching app_hyshape.py
c7a74a4

luh1124 Claude Sonnet 4.6 commited on

fix: increase GPU lease duration and reduce Hunyuan3D inference steps
aaab529

luh1124 Claude Sonnet 4.6 commited on

fix: pre-cache RMBG-2.0 and DINOv2 in preload worker to prevent GPU lease timeout
76644b1

luh1124 Claude Sonnet 4.6 commited on

fix: enable gradients for texture baking in GLB export
914fb3d

luh1124 commited on

fix: restore clear_cache function definition
3b42013

luh1124 commited on

refactor: merge ③④ GPU callbacks for ZeroGPU stability
88a246f

luh1124 commited on

fix(preload): match app_hyshape.py — load Hunyuan3D to CPU RAM, cache NeAR to disk
8411b79

luh1124 Claude Sonnet 4.6 commited on

fix(zerogpu): remove _MODEL_LOCK from GPU callbacks; preload = disk cache only
1c92c96

luh1124 Claude Sonnet 4.6 commited on

fix(preload): split into disk-cache phase + CPU-load phase to unblock GPU callbacks
c0d618a

luh1124 Claude Sonnet 4.6 commited on

fix(zerogpu): skip NeAR CPU preload — BiRefNet/DINOv2 init triggers CUDA
487f993

luh1124 Claude Sonnet 4.6 commited on

refactor(app): ZeroGPU-safe 4-step pipeline with Hunyuan PBR GLB export
66b13ed

luh1124 Claude Sonnet 4.6 commited on

fix(zerogpu): add explicit duration, disable geometry offload by default
b09eb4d

luh1124 Claude Sonnet 4.6 commited on

fix(zerogpu): remove stale CUDA flags, enable CPU preload by default
c513086

luh1124 Claude Sonnet 4.6 commited on

fix(near): defer renderer/tone-mapper init to first GPU ensure
75e7b40

luh1124 commited on

refactor(app): ZeroGPU-oriented NeAR UI; path-only SLaT; dual videos
249adae

luh1124 commited on

Space: move pipelines to CUDA only when spaces SDK is present
c41248e

luh1124 commited on

Gradio: apply NEAR_GRADIO_THEME (blue) to Blocks
14399f7

luh1124 commited on

HF Space: load pipelines before module-level demo, fix import entry
2bcccaf

luh1124 commited on

Space app: SLaT session cache, tone-mapper safety, CUDA/inference fixes
516a9fa

luh1124 commited on

feat(app): block Gradio bind until CPU weights load (no background preload)
da36f0f

luh1124 commited on

fix(spaces): Hdri torch.load after ConvNeXt; default off CPU preload with spaces
b5fb94e

luh1124 commited on

fix(load): CPU-only checkpoint load for ZeroGPU main process
31f61c1

luh1124 commited on

app: CPU preload Hunyuan+NeAR, cuda move in GPU callbacks; drop gsplat warmup
c98c836

luh1124 commited on

fix(gsplat): prebuilt wheel in requirements + NEAR_GSPLAT_WHEEL_URL
1dcc01e

luh1124 commited on

fix(space): split ZeroGPU cold-start paths and add timing diagnostics
69b0740

luh1124 commited on

refactor: use bare spaces.GPU like E-RayZer (drop per-callback duration)
f6c6291

luh1124 commited on

feat: optional gsplat source install + RGB+ED warmup (E-RayZer-style)
d5bbafa

luh1124 commited on

fix(space): longer ZeroGPU budget for gsplat JIT + video (ceiling 90s, duration=120 cap)
19354d5

luh1124 commited on

perf: parallel Hunyuan+NeAR load by default, per-branch timing logs
2a74f0f

luh1124 commited on

fix(ui): pass Gradio 6 theme/css via launch() for HF Spaces
50bbead

luh1124 commited on

fix(space): avoid deleting Gradio cache and tmp_gradio paths still in UI
ffb265b

luh1124 commited on

feat(space): background prune stale tmp_gradio session dirs by age
2396b9c

luh1124 commited on

fix(space): mirror Space secret 'near' into HF_TOKEN for gated Hub models
fd95ca1

luh1124 commited on

fix(pipeline): respect pretrained rembg (RMBG-2.0); optional NEAR_REMBG_MODEL
7ada3cd

luh1124 commited on

ZeroGPU: init duration before import spaces; default 60s; strip env > ceiling
685705e

luh1124 commited on

ZeroGPU: default ceiling 120s, clamp explicit duration; env NEAR_ZEROGPU_HF_CEILING_S
e0d7584

luh1124 commited on

ZeroGPU: hard clamp duration to 300s (ignore env 1800)
1149828

luh1124 commited on