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

Add Hunyuan3D-2 Library #1241

Merged
merged 3 commits into from
Mar 1, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions packages/tasks/src/model-libraries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,12 @@ export const MODEL_LIBRARIES_UI_ELEMENTS = {
repoUrl: "https://github.com/Tencent/HunyuanDiT",
countDownloads: `path:"pytorch_model_ema.pt" OR path:"pytorch_model_distill.pt"`,
},
"hunyuan3d-2": {
prettyLabel: "Hunyuan3D-2",
repoName: "Hunyuan3D-2",
repoUrl: "https://github.com/Tencent/Hunyuan3D-2",
countDownloads: `path_extension:"safetensors" OR path_extension:"ckpt"`,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
countDownloads: `path_extension:"safetensors" OR path_extension:"ckpt"`,
countDownloads: `path:"model_index.json" OR path:"config.yaml"`,

Chatted with @Wauplin and we think that this is a good compromise as only one or the other are used and this is still quite future proof even when you split to other repos as well! Let me know if this doesn't work for you!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, this solution would be great! I just made an edition according to the suggesiton.

},
imstoucan: {
prettyLabel: "IMS Toucan",
repoName: "IMS-Toucan",
Expand Down