4 December 2026

AI and agents, every day. Straight to it.

ToolsQuick notes

Hugging Face packages LoRA fine-tuning for the TRELLIS.2 model into containers

The containers add LoRA only to TRELLIS.2's shape stages, tuning geometry while leaving materials frozen

Rafael Moura

· 2 min read

Read in Portuguese

Fine-tuning a staged 3D model comes down to handoffs: the coarse structure feeds the geometry stage, and an error there survives into the exported mesh. In a Hugging Face fine-tuning guide published November 12, Suvaditya Mukherjee and coauthors provide two Docker images, one for preprocessing and one for training, that apply LoRA to the TRELLIS.2 model on Hugging Face Jobs or a local GPU.

The adapters go into only two diffusion transformers (DiTs): the sparse-structure flow, which predicts coarse shape, and the shape flow, which builds detailed geometry. The texture flow stays frozen. The reason is the data: the 188 footwear objects from Google Scanned Objects used in the experiment carry diffuse color maps with baked lighting, which could teach the model to treat light as a surface property. The target defect was shoe soles, which the pretrained model usually got wrong.

Preprocessing renders 16 views per object in Blender and converts the meshes into training latents. Training runs one job per DiT, logs metrics to Trackio and picks the stage with --config ss or --config shape:

hf jobs run -d --flavor a100-large --timeout 12h --secrets HF_TOKEN \
 cr.hf.co/suvadityamuk/trellis2-finetuning-train:latest \
 trellis2-train --config ss \
 --latents your-username/my-meshes-trellis2 \
 --push-to your-username/my-trellis2-lora \
 --run-name ss_lora \
 --push-path ss_lora \
 --trackio-space your-username/trellis2-trackio

With --push-to, adapter checkpoints land on the Hub, and a job stopped by --timeout resumes from the newest one. Each team still has to decide which stages to unfreeze once its data includes separate material maps.

Rafael Moura

Agents & automation.

Read articles by Rafael MouraEditorial policy
Report an error

Use 10–1,000 characters; a reply email shares this space.

Next in your reading list