Skip to content

Add TRELLIS.2 as a library#2173

Merged
NielsRogge merged 1 commit into
huggingface:mainfrom
NielsRogge:add-trellis2-library
May 18, 2026
Merged

Add TRELLIS.2 as a library#2173
NielsRogge merged 1 commit into
huggingface:mainfrom
NielsRogge:add-trellis2-library

Conversation

@NielsRogge

@NielsRogge NielsRogge commented May 14, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add trellis2 to the model library UI metadata so models tagged with library_name: trellis2 can report library download stats: https://huggingface.co/models?other=trellis2
  • Count downloads using path_extension:"safetensors", matching the checkpoint files under ckpts/ in microsoft/TRELLIS.2-4B.

Test plan

  • pnpm --filter @huggingface/tasks format:check
  • pnpm --filter @huggingface/tasks lint:check

Made with Cursor


Note

Low Risk
Low risk: adds a new entry to the model library UI metadata and download-count query without touching core logic or security-sensitive code.

Overview
Adds a new trellis2 entry to MODEL_LIBRARIES_UI_ELEMENTS so models tagged with library_name: trellis2 display the TRELLIS.2 library metadata and have downloads counted via the path_extension:"safetensors" query.

Reviewed by Cursor Bugbot for commit 3e6ebd4. Bugbot is set up for automated code reviews on this repo. Configure here.

Co-authored-by: Cursor <cursoragent@cursor.com>
@NielsRogge NielsRogge merged commit 07cabce into huggingface:main May 18, 2026
6 checks passed
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