@ECHO OFF
cls
rem install setup--
rem git clone https://github.com/Tencent/Hunyuan3D-2
rem cd Hunyuan3D-2
rem python -m venv venv
rem call .\venv\Scripts\activate.bat
rem pip install -r requirements.txt
rem if needed--
rem pip install pip install torch==2.1.0 torchvision==0.16.0 --extra-index-url https://download.pytorch.org/whl/cu121
rem if needed--
rem pip install datasets transformers[sentencepiece]
rem pip install sentencepiece
rem --
rem only needed for creating the virtual env
rem python -m venv venv
rem set to use the venv
call .\venv\Scripts\activate.bat
rem rest is python, but HF_HOME may need to be set in windows to F:\hugginface_cache
rem python .\gradio_app.py
rem python .\gradio_app.py --enable_t23d
rem Hunyuan3D-2mini
rem python gradio_app.py --model_path tencent/Hunyuan3D-2mini --subfolder hunyuan3d-dit-v2-mini-turbo --texgen_model_path tencent/Hunyuan3D-2 --low_vram_mode --enable_flashvdm
rem Hunyuan3D-2mv
rem python gradio_app.py --model_path tencent/Hunyuan3D-2mv --subfolder hunyuan3d-dit-v2-mv-turbo --texgen_model_path tencent/Hunyuan3D-2 --low_vram_mode --enable_flashvdm
rem Hunyuan3D-2
rem python gradio_app.py --model_path tencent/Hunyuan3D-2 --subfolder hunyuan3d-dit-v2-0-turbo --texgen_model_path tencent/Hunyuan3D-2 --low_vram_mode --enable_flashvdm
python api_server.py --host 0.0.0.0 --port 8080
rem 2025-04-06 12:46:51,623 - hy3dgen.shapgen - INFO - The parameters `mc_algo` is deprecated, and will be removed in future versions.
rem Please use:
rem from hy3dgen.shapegen.models.autoencoders import SurfaceExtractors
rem pipeline.vae.surface_extractor = SurfaceExtractors[mc_algo]() instead
rem
rem 2025-04-06 12:46:51 | INFO | hy3dgen.shapgen | The parameters `mc_algo` is deprecated, and will be removed in future versions.
rem Please use:
rem from hy3dgen.shapegen.models.autoencoders import SurfaceExtractors
rem pipeline.vae.surface_extractor = SurfaceExtractors[mc_algo]() instead
rem https://huggingface.co/tencent/Hunyuan3D-2mv
pause
Top