Skip to content

fix --model_path argument in api_server.py#340

Open
PascalSalesch wants to merge 1 commit into
Tencent-Hunyuan:mainfrom
PascalSalesch:patch-1
Open

fix --model_path argument in api_server.py#340
PascalSalesch wants to merge 1 commit into
Tencent-Hunyuan:mainfrom
PascalSalesch:patch-1

Conversation

@PascalSalesch

Copy link
Copy Markdown

If you pass a --model_path to api_server.py that you haven't downloaded already, it won't be able to resolve because the subfolder in api_server.py doesn't exist:
subfolder='hunyuan3d-dit-v2-mini-turbo'

https://huggingface.co/tencent/Hunyuan3D-2/tree/main

there's currently no way to pass a subfolder to api_server.py via args.
After the change you can call

    python3 api_server.py \
        --host 0.0.0.0 \
        --port 8080 \
        --enable_tex \
        --model_path tencent/Hunyuan3D-2 \
+       --subfolder hunyuan3d-dit-v2-0-turbo \
        --tex_model_path tencent/Hunyuan3D-2

as you can see I changed subfolder from hunyuan3d-dit-v2-mini-turbo to hunyuan3d-dit-v2-0-turbo

@tencent-adm

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@PascalSalesch

Copy link
Copy Markdown
Author

#71 (comment)

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

Successfully merging this pull request may close these issues.

2 participants