本地跑起Hunyuan3D-2

1. https://www.hunyuan-3d.com/

2. https://github.com/Tencent/Hunyuan3D-2

3. https://github.com/Tencent/Hunyuan3D-2/blob/main/README_zh_cn.md

3.1 windows拆盒直上~ 参考这里:https://github.com/YanWenKun/Hunyuan3D-2-WinPortable/blob/main/README.zh.adoc

4. 去cuda官网下载对应版本的cuda:https://developer.nvidia.com/cuda-toolkit-archive

5. 去PyThorch官网下载对应的PyThorch版本:https://pytorch.org/get-started/locally/

6. 安装完后按照Hunyuan的文档跑:

pip install -r requirements.txt
# for texture
cd hy3dgen/texgen/custom_rasterizer
python3 setup.py install
cd ../../..
cd hy3dgen/texgen/differentiable_renderer
python3 setup.py install

7. 第一次的话可能会提示没有模型,需要这里下模型:https://huggingface.co/tencent/Hunyuan3D-2 。(慢的话就迅雷下载~)

   放到这个位置:~/.cache/hy3dgen/tencent/Hunyuan3D-2mv/hunyuan3d-dit-v2-mv-turbo。(具体还是要看文档)

8. 然后大概应该可以跑官方的example了~

posted @ 2025-05-13 17:48  eatpockyboy  阅读(325)  评论(0)    收藏  举报