
TRELLIS.2 image-to-3D now runs on Mac (Apple Silicon) - no NVIDIA GPU needed
I ported Microsoft's TRELLIS.2 to run on Apple Silicon via PyTorch MPS. The original depends on five CUDA-only compiled extensions (flex_gemm, flash_attn, o_voxel, cumesh, nvdiffrast) that have no Mac equivalent. Wrote replacement backends from scratch: Pure-PyTorch sparse 3D convolution (replacing flex_gemm), Python mesh extraction using spatial hashing (replacing CUDA hashmap ops in o_voxel), SDPA attention for sparse transformers (replacing flash_attn), and GPU-accelerated trilinear interpolation (replacing cumesh and nvdiffrast).
Tech Blogger Take
Someone just cracked the code on running Microsoft's 4B-parameter 3D AI on MacBooks. This changes everything.
Microsoft dropped TRELLIS.2 — a beast of a model that turns any photo into a 3D object — but it was locked to NVIDIA GPUs with all their CUDA-specific magic. Flash attention, custom sparse convolutions, CUDA hashmaps — the works. Then some absolute legend on Show HN said 'hold my coffee' and ported the entire thing to run natively on Apple Silicon. We're talking a few hundred lines of code that replaced CUDA-only operations with pure PyTorch alternatives. The kicker? It actually works. You can now run a 4-billion parameter image-to-3D model on your M3 MacBook Pro. No cloud, no NVIDIA tax, no waiting in line for GPU time. This is the kind of democratization that makes entire industries pivot overnight.
Action
馬上試用Needing expensive NVIDIA GPUs and cloud services to generate 3D models from photos
Running 4B-parameter 3D generation locally on your MacBook Pro in minutes
AI Analysis
3D Content Creation
highDownload this port immediately and test it on your M-series Mac — this could replace your entire 3D modeling pipeline for concept work
A 4-billion parameter model that turns photos into 3D objects is now running on laptops, not just $10K GPU rigs
You can now prototype 3D assets during client meetings instead of waiting days for your render farm
Game Development
highTest this for rapid prototyping — imagine turning concept art into playable 3D assets in minutes
The technical barriers that kept AI 3D generation locked to NVIDIA cards just got demolished with pure PyTorch alternatives
Your indie game studio can now compete with AAA asset pipelines using nothing but MacBooks
Job Impact Analysis
3D Artist
Role ShiftMicrosoft's TRELLIS.2 can generate 3D models from photos, and now it runs on the MacBook Pro you already own
Start experimenting with this for concept work — it won't replace your skills but it'll 10x your iteration speed
iOS Developer
OpportunityApple Silicon optimization means you can now generate 3D content locally for AR apps without cloud dependencies
Fork this repo and explore integrating 3D generation directly into your ARKit workflows