Integrate Hunyuan3D-2

This commit is contained in:
Mr. For Example
2025-01-22 16:39:14 -06:00
parent 0707cbf0c4
commit dbfa5e1e41
72 changed files with 204517 additions and 6 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ from build_utils import (
def read_dependencies(file_path):
# Download required source libraries from remote
if not os.path.exists(LIBS_ROOT_ABS_PATH):
if not os.path.exists(LIBS_ROOT_ABS_PATH) or not os.listdir(LIBS_ROOT_ABS_PATH):
if not git_folder_parallel(build_config.repo_id, build_config.libs_dir_name, recursive=True, root_outdir=LIBS_ROOT_ABS_PATH):
raise RuntimeError(f"Comfy3D install failed, couldn't download directory {build_config.libs_dir_name} in remote repository {build_config.repo_id}")
dependencies = [ f.path for f in os.scandir(LIBS_ROOT_ABS_PATH) if f.is_dir() ]