Image2Model / app.py

Commit History

Guard _install_cuda_packages() startup call against quota exhaustion
6ad1cf9
Running

Daankular commited on

Reduce startup GPU quota burn: skip CUDA pkg compile if already importable
0030bd6

Daankular commited on

Skip CPU texture bake fallback: raw mesh passes to rigging instead
e02e823

Daankular commited on

Increase apply_texture GPU duration to 600s; use 512px UV in CPU fallback
c604238

Daankular commited on

Add CPU texture-bake fallback: xatlas UV-unwrap + numpy projection
51cdda6

Daankular commited on

Fix nvdiffrast: use CameraProjection context_type='cuda' (GL context fails on ZeroGPU)
9800a58

Daankular commited on

Bypass TexturePipeline: use CameraProjection directly for UV baking
dc15d6e

Daankular commited on

Replace bake_texture with TexturePipeline (mvadapter API change)
05165c5

Daankular commited on

Remove hyperswap_1a_256.onnx from _ensure_ckpts: file not publicly hosted
13cb6d2

Daankular commited on

Fix get_plucker_embeds_from_cameras_ortho: width is positional not keyword
385c1a1

Daankular commited on

Update apply_texture to MV-Adapter new API
90db216

Daankular commited on

Remove unused get_ipadapter_image import (removed from mvadapter.utils)
6f79261

Daankular commited on

Fix TripoSG NaN cascade and remove stale autocast wrapper
6e9c7d3

Daankular commited on

Add api_name to run_full_pipeline and pshuman_face for Gradio API access
a83768e

Daankular commited on

Replace runtime TripoSG string-patching with pre-patched files in patches/triposg/
4a05450

Daankular commited on

Fix pymeshlab patch: always write file after import removal
60f5fd7

Daankular commited on

Integrate PSHuman locally — multi-view diffusion in-process, no remote calls
c1af5fa

Daankular commited on

Replace pymeshlab with trimesh in inference_triposg.py (no py3.13 wheels)
0a1745e

Daankular commited on

Move CUDA compilation into @spaces.GPU function — nvcc unavailable at APP_STARTING
0998a0d

Daankular commited on

Fix exec()+locals() for all 4 xinntao packages (basicsr/realesrgan/gfpgan/facexlib)
cae2ac0

Daankular commited on

Detect CUDA home dynamically instead of hardcoded /cuda-image/... path
ae1c75a

Daankular commited on

Fix basicsr setup.py patch: keep _ns inside with-block so f is still open
cb4a8e4

Daankular commited on

Pre-install meson-python+ninja before --no-build-isolation step
267850d

Daankular commited on

Fix basicsr Python 3.13 exec()+locals() crash at runtime startup
63cc737

Daankular commited on

Fix basicsr/realesrgan/gfpgan build: move to runtime --no-build-isolation install (setup.py imports torch)
59014df

Daankular commited on

Port MeshForge features to ZeroGPU Space: FireRed, PSHuman, Motion Search
8f1bcd9

Daankular commited on

Patch all-zero alpha: fallback to full-foreground instead of raising ValueError
5d73995

Daankular commited on

Fix empty_contours_guard patch: use gray_image (correct param name) not alpha
62747da

Daankular commited on

Patch find_bounding_box: guard empty contours (blank alpha fallback to full image bbox)
efcfdf3

Daankular commited on

Fix queries dtype cast in inference_utils.py; remove autocast (caused NaN/no isosurface)
9757b8d

Daankular commited on

Wrap run_triposg in torch.autocast float16 to fix Float/Half dtype mismatch
396e206

Daankular commited on

Fix RMBG loading with torch.device(cpu) context; fix None fallback alpha shape [1,1,H,W]
78469a2

Daankular commited on

Revert to 1038lab/RMBG-2.0 (briaai is gated)
dfd6c0e

Daankular commited on

Fix RMBG-2.0: use briaai/RMBG-2.0 (official) with standard load pattern
30a271d

Daankular commited on

Patch image_process.py rmbg_net None guard; fix RMBG-2.0 loading with device_map
6ea654b

Daankular commited on

Add missing deps: sentencepiece, spandrel, imageio; fix SKEL moderngl-window==2.4.6 conflict
4296237

Daankular commited on

Fix diso undefined symbol (clone with --recurse-submodules); remove RMBG preview/controls from UI
57a7d49

Daankular commited on

Fix triposg: clone source at runtime (no setup.py); remove bad pip install attempt
85d2e0f

Daankular commited on

Bust build cache; pin numpy>=2 at build + runtime upgrade after chumpy chain
834793f

Daankular commited on

Pin moderngl-window>=3.0.0 (supports numpy>=2); remove manual numpy upgrade
c8429f7

Daankular commited on

Upgrade numpy>=2 after chumpy install chain to satisfy opencv-python-headless
772ef74

Daankular commited on

Fix Gradio 6 theme warning; ensure numpy>=2 before chumpy dep chain pulls old version
7889828

Daankular commited on

Fix CUDA compile: set TORCH_CUDA_ARCH_LIST=8.6 and CUDA headers path for A10G
9e792e6

Daankular commited on

Fix: --no-build-isolation for CUDA packages; numpy>=2 for opencv-python-headless
2bab2fb

Daankular commited on

Remove explicit chumpy from runtime install; let hmr2 pull it as transitive dep
269d5be

Daankular commited on

Move mvadapter+stablenormal to runtime --no-deps (over-pinned conflicting deps)
53bc41e

Daankular commited on

Move hmr2/skel/chumpy to runtime --no-build-isolation; document all ZeroGPU constraints
18deb9a

Daankular commited on

ZeroGPU: compile CUDA packages at runtime startup (no nvcc in build container)
738fd2b

Daankular commited on

Add nvidia-cuda-toolkit to packages.txt; restore CUDA packages to requirements.txt; clean up app.py
d671fda

Daankular commited on

Move detectron2 to runtime install (CUDA build dep)
8293126

Daankular commited on