Skip to content

Update model loading to support local checkpoints#286

Open
reisen669 wants to merge 1 commit intoTencent-Hunyuan:mainfrom
reisen669:feat/load-local-checkpoints
Open

Update model loading to support local checkpoints#286
reisen669 wants to merge 1 commit intoTencent-Hunyuan:mainfrom
reisen669:feat/load-local-checkpoints

Conversation

@reisen669
Copy link
Copy Markdown

  • Modified hy3dgen.shapegen.utils.smart_load_model to prioritize loading models from a direct local path if it exists, before checking the cache or Hugging Face Hub.
  • Updated minimal_demo.py to use './Hunyuan3D-2' as the model path, enabling it to run with locally downloaded checkpoints in that directory structure.

- Modified `hy3dgen.shapegen.utils.smart_load_model` to prioritize loading models from a direct local path if it exists, before checking the cache or Hugging Face Hub.
- Updated `minimal_demo.py` to use './Hunyuan3D-2' as the model path, enabling it to run with locally downloaded checkpoints in that directory structure.
@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.

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