Skip to content
IJK

TRELLIS.2 Fine-Tuning: The Stages, the Components and LoRA

By IJK ·

The five stages the Hugging Face post lists for TRELLIS.2, which components it chooses to fine-tune and what it says LoRA changes.

The stages the post lists

TRELLIS.2 has five main stages: remove the image background, encode the image, predict the coarse structure, generate detailed geometry, and generate materials. [1]

First, BiRefNet removes the background from the input image. [2]

DINOv3-L then encodes the image into feature tokens. [3]

The sparse-structure flow DiT predicts the object's coarse shape. [4]

Remove image backgroundBiRefNetEncode the imageDINOv3-L feature tokensPredict coarse structureGenerate detailed geometryGenerate materialsexport as a textured mesh
In which order does the post say the stages run?

What the post fine-tunes and why

Thus, we will fine-tune only the components that are important for our task. [5]

A general-purpose model, such as TRELLIS.2, can make errors in details that are important for a specific application. [6]

Without fine-tuning for that task, the pretrained model can produce geometry that is insufficiently accurate. [7]

What LoRA changes

LoRA, short for low-rank adaptation, fine-tunes a model by training small adapter matrices while keeping the original weights frozen. [8]

This reduces the number of trainable parameters and the memory needed for their gradients and optimizer state. [9]

We use Hugging Face’s PEFT library to add and train these adapters. [10]

Sources

  1. The Hugging Face source says: TRELLIS.2 has five main stages: remove the image background, encode the image, predict the coarse structure, generate detailed geometry, and generate materials. The Definitive Fine-Tuning Guide for 3D Generation Models
  2. The Hugging Face source says: First, BiRefNet removes the background from the input image. The Definitive Fine-Tuning Guide for 3D Generation Models
  3. The Hugging Face source says: DINOv3-L then encodes the image into feature tokens. The Definitive Fine-Tuning Guide for 3D Generation Models
  4. The Hugging Face source says: The sparse-structure flow DiT predicts the object's coarse shape. The Definitive Fine-Tuning Guide for 3D Generation Models
  5. The Hugging Face source says: Thus, we will fine-tune only the components that are important for our task. The Definitive Fine-Tuning Guide for 3D Generation Models
  6. The Hugging Face source says: A general-purpose model, such as TRELLIS.2, can make errors in details that are important for a specific application. The Definitive Fine-Tuning Guide for 3D Generation Models
  7. The Hugging Face source says: Without fine-tuning for that task, the pretrained model can produce geometry that is insufficiently accurate. The Definitive Fine-Tuning Guide for 3D Generation Models
  8. The Hugging Face source says: LoRA, short for low-rank adaptation, fine-tunes a model by training small adapter matrices while keeping the original weights frozen. The Definitive Fine-Tuning Guide for 3D Generation Models
  9. The Hugging Face source says: This reduces the number of trainable parameters and the memory needed for their gradients and optimizer state. The Definitive Fine-Tuning Guide for 3D Generation Models
  10. The Hugging Face source says: We use Hugging Face’s PEFT library to add and train these adapters. The Definitive Fine-Tuning Guide for 3D Generation Models

Editorial (AI-assisted; automatically checked, not human-reviewed). Each statement is linked to its source; check the source before relying on a detail.

  • 3d
  • fine tuning
  • lora
  • diffusion