---
title: "The Definitive Fine-Tuning Guide for 3D Generation Models"
description: "TRELLIS.2, an image-to-3D model built on sparse O-Voxel structured latents, can be specialized with LoRA adapters on just the stages that control shape: the dense sparse-structure flow DiT (rank 8, attention and MLP) and the sparse shape flow DiT (rank 16, attention), about 9.3M trainable parameters in total."
url: "https://swe.quest/articles/the-definitive-fine-tuning-guide-for-3d-generation-models-4970a5decd2d7843"
canonical: "https://huggingface.co/blog/3d-lora-finetuning"
source: "Hugging Face"
published: "2026-11-12"
difficulty: "hard"
kind: "How-to"
reading_minutes: 17
tags: ["model-training","computer-vision","machine-learning"]
---

# The Definitive Fine-Tuning Guide for 3D Generation Models

A post on [Hugging Face](https://swe.quest/sources/hugging-face.md), published 2026-11-12, 17 min read, How-to. Original: [https://huggingface.co/blog/3d-lora-finetuning](https://huggingface.co/blog/3d-lora-finetuning)

## Summary

TRELLIS.2, an image-to-3D model built on sparse O-Voxel structured latents, can be specialized with LoRA adapters on just the stages that control shape: the dense sparse-structure flow DiT (rank 8, attention and MLP) and the sparse shape flow DiT (rank 16, attention), about 9.3M trainable parameters in total. The texture flow DiT stays frozen because the dataset's diffuse maps bake in lighting and would teach wrong material targets and risk catastrophic forgetting. Using 188 footwear objects from Google Scanned Objects to fix inaccurate shoe soles, the guide supplies preprocessing (Blender renders 16 views per object, about 1 hour on an A100) and training Docker containers that run on Hugging Face Jobs or locally, with resumable checkpoints and Trackio monitoring.

Written by swe.quest, not by the author.

**Difficulty:** Hard: written for specialists in the field

## Topics

- [Model training](https://swe.quest/tags/model-training.md) (AI & ML)
- [Computer vision](https://swe.quest/tags/computer-vision.md) (AI & ML)
- [Machine learning](https://swe.quest/tags/machine-learning.md) (AI & ML)

## Prerequisites

- diffusion transformers
- LoRA fine-tuning ([easy posts on Model training](https://swe.quest/tags/model-training.md?difficulty=easy))
- variational autoencoders
- 3D mesh representations

## Keywords

TRELLIS.2, LoRA, PEFT, Hugging Face Jobs, Google Scanned Objects, DINOv3, O-Voxel, Trackio

## Related posts

- [Using LoRA for Efficient Stable Diffusion Fine-Tuning](https://swe.quest/articles/using-lora-for-efficient-stable-diffusion-fine-tuning-7bd5416d145ae531.md): Hugging Face · 2023-01-26 · Medium · 7 min read · Model training, Computer vision, Python
  LoRA freezes pretrained weights and trains small rank-decomposition matrices, and diffusers now supports applying it to Stable Diffusion's cross-attention layers for both full fine-tuning and Dreambooth.
- [Preference Optimization for Vision Language Models](https://swe.quest/articles/preference-optimization-for-vision-language-models-a84799e96613bf21.md): Hugging Face · 2024-07-10 · Hard · 11 min read · Model training, Computer vision, LLMs, Python
  TRL now supports direct preference optimization (DPO) for vision language models, trained on chosen/rejected answer pairs rather than fixed labels.
- [SDXL in 4 steps with Latent Consistency LoRAs](https://swe.quest/articles/sdxl-in-4-steps-with-latent-consistency-loras-2dbb6e57c86cbe97.md): Hugging Face · 2023-11-09 · Medium · 10 min read · Inference & serving, Computer vision, Model training, Performance engineering
  LCM LoRAs apply latent consistency distillation as small LoRA adapters instead of distilling each full model, so any fine-tuned SDXL or Stable Diffusion 1.5 model can generate images in 4–8 steps instead of 25–50.
- [LoRA Explained: Faster, More Efficient Fine-Tuning with Docker](https://swe.quest/articles/lora-explained-faster-more-efficient-fine-tuning-with-docker-c2d6a36ff181eafe.md): Docker · 2025-10-09 · Medium · 8 min read · Model training, LLMs, Privacy
  Gemma 3 270M can be specialized into a compact PII-masking assistant using LoRA, which freezes the base weights and trains only small low-rank adapters, cutting compute and memory needs while avoiding catastrophic forgetting.
- [Open-sourcing Knowledge Distillation Code and Weights of SD-Small and SD-Tiny](https://swe.quest/articles/open-sourcing-knowledge-distillation-code-and-weights-of-sd-small-and-sd-tiny-053ea66ae7ff27cc.md): Hugging Face · 2023-08-01 · Medium · 5 min read · Computer vision, Model training, Inference & serving, Open source
  Segmind releases training code and weights for SD-Small and SD-Tiny, Stable Diffusion variants compressed by block-removal knowledge distillation that cut UNet parameters by 35% and 55% while keeping image fidelity close to the base model.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
