Skip to content

MackinationsAi/HY3D_v2_WinPortable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 

Repository files navigation

[HY3D_v2] - Hunyuan3D v2 Windows Portable

Screenshot 2025-02-08 at 23-56-24 Gradio

A self-contained, portable package for running Hunyuan3D v2 on Windows w/ a custom gradio build.

Features

  • Convert 2D images into 3D models (Base Mesh & Textured Mesh)
  • Supports Text-to-3D generation (enabled by default)
  • Optimized for low-VRAM GPUs w/ fallback modes
  • One click finalize build – portable & easy to use
  • Viewer for previous generations

1. System Requirements

Minimum Requirements

  • Windows 10 or 11
  • NVIDIA GPU w/ at least 6GB VRAM (4GB may work but will be slow)
  • CUDA Toolkit 12.8 (For texture generation)
  • Visual Studio Build Tools 2022 (For compiling)

Recommended Setup

  • 8GB+ VRAM for full shape + texture generation
  • 24GB+ RAM for smooth processing
  • Latest NVIDIA drivers (March 2024 or newer)

2. Installation & Setup

Step 1: Download & Extract

  1. Download HY3D_v2_WinPortable_v0.1.3.7z from HY3D_v2_WinPortable_v0.1.3
  2. Extract the .7z file to a location of your choice.

Step 2: Download the models & finalize install

  1. Open the extracted folder.
  2. Run run_build.bat

Step 3: (Optional) Install Dependencies for Texture Generation

To enable textured model generation, install:

  • CUDA Toolkit 12.8 (Download)
  • Visual Studio Build Tools 2022 (Download)
    • During setup, select: "Desktop Development w/ C++"

Step 4: Running the App

For High-VRAM GPUs (24GB)

For Low-VRAM GPUs (4GB-6GB)

3. Usage Instructions

Generating 3D Models

  1. Upload an image or enter a text prompt in the WebUI.
  2. Click "Generate Base Mesh Only" to get a white 3D mesh.
  3. Click "Generate Base & Textured Meshes" (if texture generation is enabled).
  4. View/download the output in the interface.

Note - Depending on your hardware specs the generation time might be long, but if there is no error in terminal it is working, just give it a bit of time.

Output Files

  • 3D models are saved in:
    HY3D_v2/Hunyuan3D-2/outputs/'%Y-%m-%d'/'%H-%M-%S'_steps-{num_steps}_cfg-{cfg_scale}_res-{octree_resolution}_seed-{seed}/
    

4. Understanding the Files

Main Scripts

File Description
HY3D_v2/Hunyuan3D-2/upgradio_app.py The Gradio WebUI app script
HY3D_v2/boot_HY3D_v2.bat Starts the app for high VRAM GPUs
HY3D_v2/boot_low_vram_HY3D_v2.bat Starts the app for low VRAM GPUs
HY3D_v2/dnld_models.bat Downloads all required models (~39GB)
HY3D_v2/oc_install.bat One-time setup for texture generation
HY3D_v2/run_build.bat Runs both dnld_models.bat & oc_install.bat to install in one

5. Troubleshooting

Common Errors & Fixes

Error Solution
CUDA out of memory Use boot_low_vram_HY3D_v2.bat.
Can't load TensorRT Ignore – The app will fallback to CUDA.
Texture generation not working Ensure CUDA & VS Build Tools are installed, then re-run oc_install.bat.
Models not found Run dnld_models.bat again.

6. Additional Features & Customization

Changing WebUI Theme [warning - other themes might look bad layout wise]

  1. Open the app & go to UI Settings.
  2. Select a new theme.
  3. Restart the app.

Proxy Setup (For Restricted Networks)

If you need a proxy, add this to your .bat scripts:

set HTTP_PROXY=http://your-proxy.com:[port]
set HTTPS_PROXY=http://your-proxy.com:[port]

7. Credits

About

[HY3D_v2] - A self-contained, portable package for running Hunyuan3D v2 on Windows w/ a custom gradio build.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors