Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

2.3 KB
Raw Blame
# ── TripoSG (VAST-AI Research) ────────────────────────────────────────────────
# The `triposg` package is NOT pip-installable (no setup.py/pyproject); the
# Dockerfile clones the repo to /opt/triposg and puts it (plus its scripts/ dir,
# for image_process + briarmbg helpers) on PYTHONPATH. Its own deps — diffusers,
# transformers, diso (CUDA-compiled), pymeshlab, etc. — come from
# /opt/triposg/requirements.txt, which pins neither transformers nor diffusers.
# This file installs AFTER that one (see Dockerfile), so the pins below reinstall
# both to the torch-2.3.1-compatible releases already proven on model-trellis and
# model-hunyuan3d — unpinned, pip resolves a torch>=2.4-era transformers that
# silently disables itself at import time ("PyTorch >= 2.4 is required but found
# 2.3.1"), which cascades into a dead diffusers import and a container that never
# starts (crashes before listening on $PORT).
diffusers==0.31.0
# 4.57.6, not 4.46.3: the newest transformers that clears its ReDoS and
# deserialization advisories and still runs on torch 2.3.1 (DTensor is only
# imported on torch>=2.5). Needs huggingface_hub>=0.34, satisfied below.
transformers==4.57.6
# Upstream also leaves peft and huggingface_hub unpinned; a bad transitive
# resolve of those crashed revision 00001 at import time (diffusers.loaders.peft
# raised "name 'torch' is not defined" before the server could bind $PORT).
# These two versions are proven against the pins above in a py3.10 import test
# of the full TripoSGPipeline chain: pin them so a rebuild can never regress.
peft==0.19.1
huggingface_hub==0.36.2

torch>=2.3.0
trimesh>=4.4.0
Pillow>=10.3.0

# ── Server ────────────────────────────────────────────────────────────────────
fastapi==0.115.0
uvicorn[standard]==0.32.0
pydantic>=2.0.0
httpx>=0.27.0

# ── GCP ───────────────────────────────────────────────────────────────────────
google-cloud-storage==2.18.0