Update readme.md

This commit is contained in:
Jukka Seppänen 2025-02-19 11:55:52 +02:00 committed by GitHub
parent 82421121de
commit d6d2d29902
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2,6 +2,8 @@
# ComfyUI wrapper for [Hunyuan3D-2](https://github.com/Tencent/Hunyuan3D-2)
---
![image](https://github.com/user-attachments/assets/a5fcd4e1-f9d1-4c21-b299-c9af85dee163)
## Models
Main model, original: https://huggingface.co/tencent/Hunyuan3D-2/blob/main/hunyuan3d-dit-v2-0/model.ckpt
@ -10,6 +12,7 @@ Converted to .safetensors: https://huggingface.co/Kijai/Hunyuan3D-2_safetensors
to `ComfyUI/models/diffusion_models/`
Rest of the models are diffusers models, so they are wrapped and autodownloaded for now. Very new version of ComyUI is also required for the Preview3D -node.
---
# Installation
@ -36,6 +39,7 @@ Current latest portable was updated to use pytorch 2.6.0, for this you should us
`python_embeded\python.exe -m pip install ComfyUI\custom_nodes\ComfyUI-Hunyuan3DWrapper\wheels\custom_rasterizer-0.1.0+torch260.cuda126-cp312-cp312-win_amd64.whl`
This was tested to work on latest ComfyUI portable install
---
## If this doesn't work or there isn't a suitable wheel available for your system. you need to compile yourself:
@ -62,6 +66,8 @@ https://github.com/woct0rdho/triton-windows?tab=readme-ov-file#8-special-notes-f
Or build with `python setup.py bdist_wheel` which creates the .whl file to the dist -subfolder, which you then would pip install to your python environment.
End result needs to be `custom_rasterizer_kernel*.pyd` file and `custom_rasterizer` folder in your python environments `site-packages` folder.
---
For the mesh_processor extension the build command would be this:
```
cd hy3dgen/texgen/differentiable_renderer
@ -71,7 +77,7 @@ This file is supposed to be in that very folder. It is only used for the vertex
Again, with portable you should use the embedded python to run the commands.
![alt text](example_workflows/example_workflow.png)
---
# Update: