Logo of Trellis2
Trellis 2
工作台AI 助手价格方案
博客
  1. 首页
  2. 博客
  3. TRELLIS 2 下载:模型权重与安装文件获取指南(2026)
TRELLIS 2 下载:模型权重与安装文件获取指南(2026)
2026/04/21
1 分钟阅读

TRELLIS 2 下载:模型权重与安装文件获取指南(2026)

Microsoft TRELLIS 2 模型权重、ComfyUI 自定义节点及所有依赖的直接下载链接。包含校验信息、硬件要求和下载步骤。

最后更新:2026 年 4 月 21 日

本页面提供 TRELLIS 2 所有组件的直接下载链接——模型权重、自定义节点和依赖包——让你快速上手,无需在多个仓库间寻找。

如果不想下载任何内容,可以直接在线使用 TRELLIS 2。

快速下载汇总

组件大小来源下载
模型权重~8 GBHuggingFace下载
源代码~500 MBGitHub下载
ComfyUI 节点~50 MBGitHub下载
示例工作流~5 KB社区RunComfy

模型权重

TRELLIS.2-4B(官方)

Microsoft Research 发布的官方预训练模型。

  • 参数量:40 亿
  • 架构:Sparse 3D VAE + DiT
  • 最大分辨率:1536³
  • 输出:辐射场、3D 高斯、带纹理网格

下载方式:

# 方式 1:HuggingFace CLI(推荐)
pip install huggingface-hub
huggingface-cli download microsoft/TRELLIS.2-4B --local-dir ./trellis2-weights/

# 方式 2:Git LFS
git lfs install
git clone https://huggingface.co/microsoft/TRELLIS.2-4B

# 方式 3:浏览器直接下载
# 访问 https://huggingface.co/microsoft/TRELLIS.2-4B
# 点击 "Files and versions" → 下载单个文件

下载后的目录结构:

trellis2-weights/
├── config.json
├── model.safetensors
├── scheduler/
├── text_encoder/
├── tokenizer/
├── unet/
└── vae/

源代码

官方仓库

git clone https://github.com/microsoft/TRELLIS.2.git
cd TRELLIS.2

ComfyUI 自定义节点(PozzettiAndrea)

cd ComfyUI/custom_nodes/
git clone https://github.com/PozzettiAndrea/ComfyUI-TRELLIS.git

Python 依赖

核心依赖安装

# 创建虚拟环境
python -m venv venv
source venv/bin/activate  # Linux
# .\venv\Scripts\activate  # Windows

# 安装支持 CUDA 的 PyTorch
pip install torch torchvision --index-url https://download.pytorch.org/whl/cu121

# 安装 TRELLIS 2 依赖
pip install -r requirements.txt

主要依赖包

包名版本用途
torch2.1+深度学习框架
torchvision0.16+图像处理
xformers0.0.23+内存高效注意力机制
transformers4.36+文本编码器
diffusers0.25+扩散管线
trimesh4.0+网格处理
pygltflib1.16+GLB 导出

硬件要求

组件最低配置推荐配置
显卡NVIDIA 8GB 显存NVIDIA 16GB+ 显存
内存16 GB32 GB
存储15 GB30 GB(SSD)
CUDA11.812.1+

下一步

  • ComfyUI 安装指南 — 在 ComfyUI 中配置 TRELLIS 2
  • 工作流教程 — 搭建第一个 3D 生成管线
  • 如何使用 TRELLIS 2 — 通用使用指南
全部文章

作者

avatar for Trellis2 团队
Trellis2 团队

专注于AI驱动的3D模型生成、格式转换和浏览器端3D渲染的3D技术团队。我们亲测并评测每一款3D工具。

分类

    更多文章

    • MakerWorld 下载 STL:3MF 转换与打印完全指南(2026)MakerWorld 下载的是 3MF 而不是 STL。本文讲解如何下载 MakerWorld 模型、在浏览器中免费把 3MF 转成 STL,并用任意切片器和打印机打印。2026/09/11
    • TRELLIS.2-4B 完全指南:显存要求、ComfyUI 与免费在线生成TRELLIS.2-4B 深度解析:微软 4B 参数图生 3D 模型。对比规格与 PBR 材质质量,查看显存需求,配置 ComfyUI 工作流,或直接使用免费在线 3D 生成。2026/09/10
    • 如何使用 Blender 进行 3D 建模:完整新手指南(2026)从零开始学习如何使用 Blender 进行 3D 建模。涵盖界面导航、核心工具(G/R/S、挤出、修改器)、硬表面与雕刻工作流,以及结构化学习路径。2026/07/12
    Logo of Trellis2
    Trellis 2

    Transform images into stunning 3D models with AI-powered technology

    Product

    • Features
    • Pricing
    • Blog
    • FAQ

    3D Tools & AI Models

    • AI 3D Model Generator
    • Microsoft TRELLIS 2
    • Hunyuan 3D
    • Tripo 3D
    • 3D Reconstruction
    • Image to STL Converter
    • 3D Viewer

    Company

    • About
    • Contact

    Legal

    • Privacy Policy
    • Terms of Service

    This website is an independent third-party platform. We are not directly affiliated with, endorsed by, or sponsored by Microsoft, Tencent, Tripo AI, or any other official service providers mentioned on this site. All trademarks, product names, and brands are the property of their respective owners.

    © 2026 Trellis 2. All rights reserved.