Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

📦 A bundle for running on Windows | 整合包 #28

Open
YanWenKun opened this issue Jan 22, 2025 · 0 comments
Open

📦 A bundle for running on Windows | 整合包 #28

YanWenKun opened this issue Jan 22, 2025 · 0 comments

Comments

@YanWenKun
Copy link
Contributor

Image

Download page:
https://github.com/YanWenKun/Comfy3D-WinPortable/releases/tag/r8-hunyuan3d2

I just created this bundle for Windows users. It has its own Python environment pre-installed. While it is not 100% 'portable', I have done my best to minimize the hassle of installation.

How to install:

  1. Install CUDA Toolkit 12.4.1. Only Libraries and Compilers are needed to install.

  2. Install Visual Studio Build Tools 2022 ( Page | EXE ). During the setup, select "Desktop development with C++" workload.

  3. Download Hunyuan3D2_WinPortable.7z.001 and Hunyuan3D2_WinPortable.7z.002. Open Hunyuan3D2_WinPortable.7z.001 and extract it to a convenient place.

  4. Run the script 1-compile-install.bat, wait until it finishes. Then run 2-download-models.bat. Then 3-run.bat.

  5. Open http://localhost:8080/

  6. The output files are saved under Hunyuan3D-2\gradio_cache.


(In Chinese)

下载页面:
https://github.com/YanWenKun/Comfy3D-WinPortable/releases/tag/r8-hunyuan3d2

这个整合包自带 Python 环境,预装好了 PyTorch 以及绝大部分 Python 依赖项,可以说是 95% 安装完成,但还需要用户完成最后的 5%,通过整合包附带脚本来编译安装少量组件。

安装步骤:

  1. 安装 CUDA Toolkit 12.4.1 ,安装时仅需要选择 Libraries 与 Compilers 。如已安装其他版本,可尝试跳过此步,也许能兼容。

  2. 安装 Visual Studio Build Tools 2022 ( 下载页面 | 安装程序 ),在安装界面选择“桌面C++开发”。如已安装 Visual Studio C++ 工作负载,不必重复安装。Build Tools 与普通 VS 基本相同,只是没有 GUI 界面。

  3. 下载 Hunyuan3D2_WinPortable.7z.001Hunyuan3D2_WinPortable.7z.002. 打开 Hunyuan3D2_WinPortable.7z.001 并解压到一个方便的地方(最好目录不要太深)。

  4. 中文脚本 目录下的文件复制到上一级目录(即 Hunyuan3D2_WinPortable)下。

  5. 依次执行 1-编译安装依赖项.bat2-下载模型.bat3-run_cn.bat ,需要等前一个执行完毕后再执行下一个。

  6. 启动完毕后,浏览器访问 http://localhost:8080/

  7. 生成的文件保存在 Hunyuan3D-2\gradio_cache

@YanWenKun YanWenKun changed the title ℹ️ A bundle for running on Windows | 整合包 📦 A bundle for running on Windows | 整合包 Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant