TripoSR: one photograph in, one 3D mesh out, on your own GPU
TripoSR: Fast 3D Object Reconstruction from a Single Image
At a glance
- What is it?
- TripoSR is the MIT licensed codebase from Tripo AI and Stability AI for turning a single image into a 3D mesh in one feedforward pass. It ships two entry points, one example set of isolated objects, a dependency file that pins the model stack but floats the tooling, and no tagged release at all.
- Who is it for?
- The last push to this repository was on 2026-06-04 and no release has ever been tagged, so treat any adoption as pinning a commit and keeping your own copy of the weights rather than following main. TripoSR fits a pipeline that needs a single object mesh from a single photograph on a CUDA machine with roughly 6GB of VRAM to spare.
- Can I use it commercially?
- Yes. MIT is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
- Is it still maintained?
- Yes. The repository last received commits 174 days ago.
- What is it written in?
- Mainly Python, according to GitHub's language statistics.
Answers come from the project's GitHub data, last synced on November 24, 2026, and from our analysis. They are not legal advice.
Star history
- VAST-AI-Research/TripoSR7,464 ★ · +472
| Repository | 2026-09-28 | 2026-11-24 |
|---|---|---|
| VAST-AI-Research/TripoSR | 7k | 7.5k |
472 Stars in the last 57 days, measured from the daily GitHub snapshot. Compare with other projects
Editorial analysis
A feedforward pass from one photo to one mesh
TripoSR is the official codebase for a model that turns a single photograph into a 3D mesh, built by Tripo AI together with Stability AI and released under MIT. The word the project keeps using is feedforward: an image goes in, geometry comes out in one pass, and the repository ships no fitting loop to iterate on. The headline number is worth quoting exactly as written, high quality 3D models in less than 0.5 seconds on an NVIDIA A100 GPU. That figure is tied to A100 hardware, so it should not be read across to a consumer card.
The tree is small enough to read in one screen. run.py is the command line entry point, gradio_app.py is a local browser interface, tsr/ holds the model package, examples/ holds fourteen images, figures/ holds the visual comparisons, and then there are requirements.txt, LICENSE and README.md. Details about the model architecture, training process and comparisons are in a technical report on arXiv, 2403.02151, and anyone who wants to know why the speed is possible has to leave the code behind.
The CUDA major version rule behind the torchmcubes error
The longest troubleshooting entry in this README is not about the model at all. It is about a compiled CUDA extension. A mismatch announces itself as AttributeError: module 'torchmcubes_module' has no attribute 'mcubes_cuda', or as torchmcubes was not compiled with CUDA support, use CPU version instead. The stated cause is that torchmcubes compiled without CUDA support, and the stated fix has two conditions: the locally installed CUDA major version must match the CUDA major version shipped inside your PyTorch build, so CUDA 11.x on the system means a PyTorch compiled for CUDA 11.x, and setuptools must be 49.6.0 or newer.
With those in place the extension is rebuilt from its git repository rather than from a pinned release:
pip uninstall torchmcubes
pip install git+https://github.com/tatsy/torchmcubes.gitRead what that implies. requirements.txt already points at the same git URL, so the reinstall is not a move to a different source. It is a rebuild of the same source against a matching toolchain. It also means the compiled piece is unpinned: whatever the default branch of that repository holds at install time is what you get, and TripoSR records no commit hash for it. On a machine carrying two CUDA versions, changing the PyTorch build is the move the troubleshooting entry points at, not editing the system CUDA.
What run.py exposes, and the three options it does not
One command does the whole job:
python run.py examples/chair.png --output-dir output/The reconstructed model lands in output/. Passing more than one image path separated by spaces runs several inputs in the same invocation, and the default options are stated to take about 6GB VRAM for a single image input. Two flags change the shape of the output. The bake texture option emits a texture instead of vertex colors, and the texture resolution option sets the resolution in pixels of that output texture. python run.py --help prints the full usage.
The README documents four things: input paths, output directory, texture switch and texture resolution, and points to python run.py --help for detailed usage.
requirements.txt pins the model stack and floats the tooling
Split the dependency file in two and the intent is obvious. The model path is frozen to exact versions: omegaconf==2.3.0, Pillow==10.1.0, einops==0.7.0, transformers==4.35.0, trimesh==4.0.5, xatlas==0.0.9 and moderngl==5.10.0.
The surrounding tooling floats. rembg, huggingface-hub, gradio and imageio[ffmpeg] carry no version at all, and the ffmpeg extra pulls in an ffmpeg build, so a fresh install resolves those four against whatever the index currently serves. The floor is Python 3.8. There is no note about Windows or macOS, and the install steps ask you to install CUDA if available and to pick the PyTorch build that matches your CUDA major version. On a machine with no CUDA at all, the only route the documentation describes is the CPU fallback named in the torchmcubes error message.
Fourteen example images describe the intended input precisely
examples/ holds fourteen files: captured.jpeg, chair.png, flamingo.png, hamburger.png, horse.png, iso_house.png, marble.png, police_woman.png, poly_fox.png, robot.png, stripes.png, teapot.png, tiger_girl.png and unicorn.png. Read as a set they describe the intended input better than any prose would. The file names point to single subjects: a chair, a flamingo, a hamburger, a horse, a house, a marble, a robot, a fox, a teapot, a unicorn.
That set is also the honest limit of what to feed the model. Nothing in the tree or the documentation handles a scene with several objects in frame, and there is no stated behaviour for that case, which means you would be guessing. One detail stands out on its own: captured.jpeg is the only file with a jpeg extension while the other thirteen are png, and no reason is given. The figures/ directory holds the visual comparisons the README links to, including the metrics the technical report tabulates against other models.
Where the single image design stops short
Three boundaries are visible in the repository itself. The first is scope: one object from one image, with no documented multi-object or scene mode. The second is memory. About 6GB VRAM at default options for a single image is the only figure given, and the documentation says nothing about how that scales when several paths go into one command or when the texture resolution goes up, so a wide batch is where trouble should be expected first. The third is packaging. There are no GitHub releases and no version tags, so there is no checkpoint version to pin, and the README never states how run.py finds the pretrained weights, which means the exact weights behind any given checkout are not recorded in the documentation at all.
Two things a new user often expects are simply absent from the tree. There is no HTTP API, no client library and no packaged install, only the two entry points run.py and gradio_app.py. And no output mesh format is ever named, so the file extension inside output/ is something you discover by running the command rather than by reading the documentation. A pipeline that needs GLB or FBX with a fixed triangle budget will have to build that wrapper itself, on top of a repository with no versioned release to anchor the wrapper to.
MIT terms, no tagged release, and the hosted demo as the other route
The licence covers three things at once, according to the README: the source code, the pretrained models and the interactive online demo. MIT is permissive, and because the weights ship under the same terms there is no second licence to clear before using the model commercially or in research.
There is no release history to read. The repository publishes no GitHub releases, so there is no changelog, no versioned checkpoint and no upgrade path beyond whatever currently sits on the main branch. The last push to this repository was on 2026-06-04, which is the only dated signal available for judging how current the code is, and it is a signal about the code, not about the weights.
That leaves two practical routes. Run the model on your own GPU, which is what this repository exists for, and keep the mesh on your own machine. Or use a hosted demo, which the README links at tripo3d.ai and again as a Hugging Face Space under the stabilityai account. The local route costs a matched CUDA build and about 6GB of VRAM. Neither is documented as a service with an API, so a production endpoint has to be something you build around run.py yourself.
Editorial conclusion
The last push to this repository was on 2026-06-04 and no release has ever been tagged, so treat any adoption as pinning a commit and keeping your own copy of the weights rather than following main. TripoSR fits a pipeline that needs a single object mesh from a single photograph on a CUDA machine with roughly 6GB of VRAM to spare. It does not fit multi-object scenes, callers who need a hosted endpoint, or anyone who depends on a documented output format or a named release.
Frequently asked questions
What is TripoSR?
An MIT licensed feedforward 3D reconstruction model from Tripo AI and Stability AI that builds a mesh from a single image, with the README reporting generation in less than 0.5 seconds on an NVIDIA A100 GPU. The code, the pretrained models and a demo all sit under the same licence.
How do I use TripoSR to turn one image into a 3D model?
Run python run.py with an image path and --output-dir to save the reconstructed model, and separate several image paths with spaces to process more than one in the same run. Use python run.py --help for the full usage, or python gradio_app.py if you would rather work in a local browser interface.
How do I install TripoSR so the CUDA extension works?
You need Python 3.8 or newer, a PyTorch build whose CUDA major version matches your locally installed CUDA, and setuptools 49.6.0 or newer, then pip install -r requirements.txt. A torchmcubes mcubes_cuda AttributeError means the extension was compiled without CUDA, and the fix is to uninstall it and reinstall from its git repository.
Is TripoSR free to use?
Yes, the MIT licence stated in the README covers the source code, the pretrained models and the online demo, so there is no separate licence to clear for the weights. Note that the repository publishes no GitHub releases, so there is no versioned checkpoint to track and nothing pinned to upgrade to.
Official sources
Where developers are discussing it
Posts on Hacker News, dev.to and Lobsters that link to this repository, found by our scan of those communities. 0 in the last 30 days; newest first.
- The Stack I'd Need for Claude to Direct a Whole YouTube Video in Blenderdev.to · Oct 9, 2026 · 24 points · 1 comments
Add this badge to your README
If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.
[](https://hysenlabs.com/projects/vast-ai-research-triposr)Star history chart for your README
[](https://hysenlabs.com/projects/vast-ai-research-triposr)Was this useful?