TRELLIS.2-4B for gufo (512 path, without DINOv3)

What this is

The TRELLIS.2-4B image-to-3D flow models and sparse decoders in the per-part safetensors layout of the native port in gufo-studio-windows (gufo serve objekt, branch feat/trellis2-21): image to textured GLB on AMD Strix Halo under Windows, no Python.

Tensor names are unchanged except the per-head qk RMS gammas (flattened to [1536]) and the 3-D convolutions (brought to one [Co, 27*Ci] layout). Matrices BF16, the rest F32.

Built with DINOv3. The image encoder (DINOv3 ViT-L/16, Meta) is not part of this repository: its weights are gated on Hugging Face and under the DINOv3 License. Get them from facebook/dinov3-vitl16-pretrain-lvd1689m after accepting Meta's terms and convert them yourself (see below).

Source and licence

  • Original: microsoft/TRELLIS.2-4B (revision af44b45f), Microsoft Research. The card declares license: mit and states "This model is released under the MIT License." The MIT text of microsoft/TRELLIS.2 is included as LICENSE.
  • trellis2-ss_dec.safetensors comes from microsoft/TRELLIS-image-large (ckpts/ss_dec_conv3d_16l8_fp16.safetensors, card license: mit).
  • DINOv3 (not included): DINOv3 License, Meta Platforms, last updated 19 Aug 2025. It requires a copy of the licence with any redistribution of DINO materials and the notice "Built with DINOv3".

How it was converted

tools/trellis2/convert_hf_to_gufo.py from gufo-studio-windows (branch feat/trellis2, commits 6ddba3f2 and 6e0b58ba; run 12 Nov 2026 with python -P -E). Each source file was checked (safetensors header and SHA-256 against the Hugging Face LFS id) before conversion. Each output records gufo.trellis2.source, gufo.trellis2.source_file and gufo.trellis2.license in its metadata.

To add the image encoder locally:

python -P -E tools/trellis2/convert_hf_to_gufo.py --dinov3 <dinov3 snapshot> --out <this folder> --parts dinov3

This writes trellis2-dinov3.safetensors (1.21 GB, F32) next to the files here.

How to use with gufo

[external/trellis2]
command = <gufo.exe>
args = serve objekt
trellis2 = <this folder>
trellis2-texture = true
root = <job folder>
ttl = 86400
served-model-name = trellis2
max-request-bytes = 33554432
router-gpu-gb = 20
router-host-gb = 3
router-idle-seconds = 900

API: POST /v1/3d/generations {model: "trellis2", image, steps, seed, max_faces, texture, preview}. Measured on Strix Halo: GPU peak 19.3 GB with texture, host 1.5-1.8 GB; 38-105 s per object.

Files

File Size Content Source file
trellis2-ss_flow.safetensors 2.59 GB sparse-structure flow DiT (640 tensors) ckpts/ss_flow_img_dit_1_3B_64_bf16.safetensors
trellis2-ss_dec.safetensors 148 MB sparse-structure decoder (74 tensors) TRELLIS-image-large ckpts/ss_dec_conv3d_16l8_fp16.safetensors
trellis2-shape_flow_512.safetensors 2.59 GB shape flow DiT, 512 path ckpts/slat_flow_img2shape_dit_1_3B_512_bf16.safetensors
trellis2-shape_dec.safetensors 949 MB sparse shape decoder (292 tensors) ckpts/shape_dec_next_dc_f16c32_fp16.safetensors
trellis2-tex_flow_512.safetensors 2.59 GB texture flow DiT, 512 path ckpts/slat_flow_imgshape2tex_dit_1_3B_512_bf16.safetensors
trellis2-tex_dec.safetensors 949 MB sparse texture decoder (284 tensors) ckpts/tex_dec_next_dc_f16c32_fp16.safetensors

Total about 9.8 GB. Not included: the 1024 path DiTs and the encoders (training only), and the DINOv3 encoder (see above).

AI-assistance note

Converted and documented with AI assistance (Claude Code).

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for D3rPapst/trellis2-gufo

Finetuned
(19)
this model