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

Windows support #14

Open
sdbds opened this issue Jan 22, 2025 · 11 comments
Open

Windows support #14

sdbds opened this issue Jan 22, 2025 · 11 comments

Comments

@sdbds
Copy link

sdbds commented Jan 22, 2025

I made windows version for auto install as usual

https://github.com/sdbds/Hunyuan3D-2-for-windows

@sdbds sdbds changed the title windows support Windows support Jan 22, 2025
@walkingwithGod2017
Copy link

I made windows version for auto install as usual

https://github.com/sdbds/Hunyuan3D-2-for-windows

Hello, thank you for your good job! May I ask how much VRAM is required for local execution?
Looking forward to your reply! ^_^

@sdbds
Copy link
Author

sdbds commented Jan 22, 2025

I made windows version for auto install as usual
https://github.com/sdbds/Hunyuan3D-2-for-windows

Hello, thank you for your good job! May I ask how much VRAM is required for local execution? Looking forward to your reply! ^_^

12G VRAM

@Eydahn8
Copy link

Eydahn8 commented Jan 22, 2025

I made windows version for auto install as usual
https://github.com/sdbds/Hunyuan3D-2-for-windows

Hello, thank you for your good job! May I ask how much VRAM is required for local execution? Looking forward to your reply! ^_^

12G VRAM

First of all, thanks for your work!

I'm keep getting this error when trying to launch gradio following your aouto-installer:
Windows .venv
Loading example img list ...
Loading example txt list ...
Fetching 42 files: 100%|███████████████████████████████████████████████████████████████████████| 42/42 [00:00<?, ?it/s]
Loading pipeline components...: 100%|████████████████████████████████████████████████████| 6/6 [00:00<00:00, 7.70it/s]
Loading pipeline components...: 17%|████████▋ | 1/6 [00:00<00:01, 2.81it/s]An error occurred while trying to fetch D:\Ai\Hunyuan3D2\huggingface\hub\models--tencent--Hunyuan3D-2\snapshots\1e0fa622b177fb5e2d4b7a5913c4692929927c3c\hunyuan3d-paint-v2-0\vae: Error no file named diffusion_pytorch_model.safetensors found in directory D:\Ai\Hunyuan3D2\huggingface\hub\models--tencent--Hunyuan3D-2\snapshots\1e0fa622b177fb5e2d4b7a5913c4692929927c3c\hunyuan3d-paint-v2-0\vae.
Defaulting to unsafe serialization. Pass allow_pickle=False to raise an error instead.
Loading pipeline components...: 100%|████████████████████████████████████████████████████| 6/6 [00:07<00:00, 1.26s/it]

I searched for "diffusion_pytorch_model.safetensors" in huggingface, but there is only a .bin version inside vae

@walkingwithGod2017
Copy link

I made windows version for auto install as usual
https://github.com/sdbds/Hunyuan3D-2-for-windows

Hello, thank you for your good job! May I ask how much VRAM is required for local execution? Looking forward to your reply! ^_^

12G VRAM

Thank you for your reply. ^^ ^^

@shinguncher
Copy link

shinguncher commented Jan 22, 2025

I made windows version for auto install as usual

https://github.com/sdbds/Hunyuan3D-2-for-windows

How do I enable low-poly mode using Gradio?

@walkingwithGod2017
Copy link

I made windows version for auto install as usual

https://github.com/sdbds/Hunyuan3D-2-for-windows

Hello, my friend, I have successfully deployed it. However, after running it, although the files can be generated normally, the images cannot be previewed on the interface. I look forward to this being optimized in the future. Thank you for your work! ^^

@Kallamamran
Copy link

Nice with an installer, but checking through the PS1-file I see lots of references to C: and I really want to decide where I want to install both the app and the venv. There's "nothing" worse than being forced to install on C: or ending up with an installation that places models and caches files all over.

The installer should:

  1. Ask what disk and folder I want to install in.
  2. Create a venv to be used for dependencies in that folder
  3. Run the app using the created venv

@sdbds
Copy link
Author

sdbds commented Jan 23, 2025

Nice with an installer, but checking through the PS1-file I see lots of references to C: and I really want to decide where I want to install both the app and the venv. There's "nothing" worse than being forced to install on C: or ending up with an installation that places models and caches files all over.

The installer should:

  1. Ask what disk and folder I want to install in.
  2. Create a venv to be used for dependencies in that folder
  3. Run the app using the created venv

Actually only the uv cache is on the C drive as it can be cleared.

Automatically detect the size of your C drive. If there is enough remaining space, the C drive cache will be used, otherwise the current path will be used.

Others including venv, huggingface models, etc. are all installed locally.

@sdbds
Copy link
Author

sdbds commented Jan 23, 2025

I made windows version for auto install as usual我像往常一样制作了Windows版本的自动安装
https://github.com/sdbds/Hunyuan3D-2-for-windows

Hello, my friend, I have successfully deployed it. However, after running it, although the files can be generated normally, the images cannot be previewed on the interface. I look forward to this being optimized in the future. Thank you for your work! ^^你好,我的朋友,我已经成功部署了。但运行后,虽然可以正常生成文件,但界面上无法预览图像。我期待未来对此进行优化。谢谢你的工作! ^^

Any log about it?

@james-blank
Copy link

\hunyuan3d-paint-v2-0\vae: Error no file named diffusion_pytorch_model.safetensors found in directory

@sdbds
Copy link
Author

sdbds commented Jan 23, 2025

\hunyuan3d-paint-v2-0\vae: Error no file named diffusion_pytorch_model.safetensors found in directory

Because the official one uses the bin format, this is a normal warning and has no impact on use.

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

6 participants