2025-01-21 23:59:03 +02:00
2025-01-21 20:01:16 +02:00
2025-01-21 21:11:10 +02:00
2025-01-21 23:40:10 +02:00
2025-01-21 22:02:08 +02:00
2025-01-21 20:01:16 +02:00
2025-01-21 16:33:55 +02:00
2025-01-21 20:01:16 +02:00
2025-01-21 21:07:49 +02:00
2025-01-21 23:40:10 +02:00
2025-01-21 23:59:03 +02:00
2025-01-21 21:07:49 +02:00

ComfyUI wrapper for Hunyuan3D-2

WORKINPROGRESS

installation still messy, requires compiling for texture gen

Main model, original: https://huggingface.co/tencent/Hunyuan3D-2/blob/main/hunyuan3d-dit-v2-0/model.ckpt

Converted to .safetensors: https://huggingface.co/Kijai/Hunyuan3D-2_safetensors

to ComfyUI/diffusion_models/

Rest of the models are diffusers models, so they are wrapped and autodownloaded for now.

Installation

Dependencies, in your python env:

pip install -r requirements.txt

or with portable:

python_embeded\python.exe -m pip install -r ComfyUI\custom_nodes\ComfyUI-Hunyuan3DWrapper\requirements.txt


For the texturegen part compilation is needed, I have included my compilations as a wheel for the rasterizer, and compiled .pyd for the mesh_processor (already in place), these are compiled for:

- Windows 11 python 3.12 cu126 (works with torch build on 124)

You would do `pip install wheels\custom_rasterizer-0.1-cp312-cp312-win_amd64.whl`

or with portable (in `ComfyUI_windows_portable` -folder):
`python_embeded\python.exe -m pip install ComfyUI\custom_nodes\ComfyUI-Hunyuan3DWrapper\wheels\custom_rasterizer-0.1-cp312-cp312-win_amd64.whl` 

This was tested to work on latest ComfyUI portable install

For anything else you need to compile yourself:

cd hy3dgen/texgen/custom_rasterizer python setup.py install

cd hy3dgen/texgen/differentiable_renderer python setup.py build_ext --inplace


![alt text](image.png)
Description
No description provided
Readme 20 MiB
Languages
Python 95%
C++ 3.9%
Cuda 0.7%
JavaScript 0.4%