Files
Hunyuan3D_2.1_Low_VRAM/gradio_app.py
Akasei 5d0405dc68 feat(gradio): apply VRAM optimization and fix texture config
- generation_all(): offload i23d_worker to CPU before texture gen,
  restore after — mirrors batch_generate.py sequential strategy.
  Prevents OOM when both models peak simultaneously on RTX 3080.
- Change texture config: max_num_view 8→9, resolution 768→512.
  768 resolution OOMs (14.6GB activation); 512 is practical max for
  RTX 3080 20GB. max_views 9 gives better texture coverage.
- Only active when --low_vram_mode flag is passed.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-16 21:05:14 +08:00

34 KiB