bschooled's picture
TRELLIS.2-4B inference runtime subset (byte-identical weights, local pipeline.json)
39ba340 verified
|
Raw History Blame Contribute Delete
2.02 kB
metadata
license: mit
pipeline_tag: image-to-3d
base_model: microsoft/TRELLIS.2-4B
tags:
  - trellis
  - image-to-3d
  - mirror

TRELLIS.2-4B — inference runtime subset

Subset mirror of microsoft/TRELLIS.2-4B (upstream commit af44b45f2e35a493886929c6d786e563ec68364d) plus the sparse-structure decoder it references from microsoft/TRELLIS-image-large (commit 25e0d31ffbebe4b5a97464dd851910efc3002d96), packaged so the MageFlow image-to-3D lane can load the whole pipeline from one local directory.

The weights are byte-identical to upstream (bf16 DiTs, fp16 decoders, as published). The subset keeps exactly what the 1024, 1024_cascade and 1536_cascade image-to-3D paths need and drops the training-only VAE encoders and the 512-resolution texture DiT: 12.4 GB instead of 16.4 GB. No quantisation is applied — 8-bit storage variants (fp8 e4m3 per-channel, int8 per-128-group) were measured and changed same-seed outputs visibly (darker, grimier textures), so they are not published.

What differs from upstream

Only pipeline.json:

field upstream here
models.sparse_structure_decoder microsoft/TRELLIS-image-large/ckpts/ss_dec_conv3d_16l8_fp16 ckpts/ss_dec_conv3d_16l8_fp16 (same file, local)
models.tex_slat_flow_model_512 ckpts/slat_flow_imgshape2tex_dit_1_3B_512_bf16 removed (512 pipeline type therefore unavailable)
image_cond_model.args.model_name facebook/dinov3-vitl16-pretrain-lvd1689m (gated) camenduru/dinov3-vitl16-pretrain-lvd1689m (ungated copy)
rembg_model briaai/RMBG-2.0 (gated, non-commercial) ZhengPeng7/BiRefNet (MIT)

Every file's sha256 and source is listed in manifest.json.

License

TRELLIS.2 is released by Microsoft under the MIT License (copied verbatim). This is not an official Microsoft release.