VAST-AI/TripoSplat
—
single image → 3D Gaussian
splats
(
.ply
/
.splat
), MIT. The zoo's first 3D model: outputs drop straight into a Gaussian-splat
viewer (e.g. Apple RealityKit on visionOS, or MetalSplatter on iOS/macOS).
Pure-PyTorch pipeline (no diffusers/CUDA kernels): bg-removal → DINOv3 ViT-H encode + Flux2-VAE encode
→ 20-step flow-matching DiT denoiser → octree probability sampler → Gaussian decoder → splats.
This repo holds the Core AI
.aimodel
bundles
(each is a directory). Conversion + runner scripts
live in the
coreai-models-community
zoo (
conversion/triposplat/
).
The flow-matching sampler (
FlowEulerCfgSampler
) and the octree
sample_probs
systematic resampling
stay
host-side
(data-dependent control flow). Scripts:
_conv_*.py
convert+gate each net;
_conv_fp16.py
makes the half-size fp16 bundles;
_conv_decode.py
bakes build_gaussians + the
Gaussian
.ply
-activation math into one net so the runner just writes raw floats.
model.py patches (the reusable contribution — see the zoo's conversion guide)
coreai-torch 0.4.0 needed six edits to VAST's
model.py
; all are general gotchas:
float-arg
aten.arange
→
bad_optional_access
C++ abort. Use int-arg arange (DINOv3 RoPE).
fx
got multiple values for 'mod'
— submodule called with
mod=
kwarg. Pass positionally.
No complex ops
— rewrote the DiT's complex RoPE (
torch.polar
/
view_as_complex
) as real
cos/sin math (
apply_rotary_emb
,
RePo3DRotaryEmbedding.forward
).
Constant-folded
sin/cos
of huge args is low-precision
(cos→0.5) — the DiT positional embed
computed from the fixed Sobol constant was folded wrong; precompute it into a
register_buffer
.
F.normalize
drops the eps clamp
→ near-zero vectors blow up ~1e13; rewrote
MultiHeadRMSNorm
as explicit
x*rsqrt(mean(x²)+eps)
. (Emergent only at large seq len — gate by VISUAL/true-scale.)
prog.optimize()
hangs
on the 24-block/12k-token DiT graph (>90 min) — skip it
(
convert(optimize=False)
), AOT
coreai-build
optimizes for the device anyway.
Plus: int8 desaturates this model (per-net cos 0.9998 but colors collapse → use
fp16
, which is
GPU-identical to fp32 — gate fp16 on GPU/visual, its CPU cos looks bad but that's a CPU-compute
artifact). Octree decoder: int64
l
(resolution) input → CoreAIError 3 at runtime, pass it as float32.
Running it
Mac
:
_run_coreai.py
(or
app_backend.py --input <img>
) loads the bundles via coreai.runtime
(
SpecializationOptions.default()
= GPU; ~2 min/gen at 20 steps on Apple silicon, full quality).
End-to-end latent gate vs torch-DiT:
cos 0.999999
.
Mac app / iPhone client
:
TripoSplatMac
(standalone) and
TripoSplatPhone
(capture on iPhone → Mac server
server.py
→ view splats in MetalSplatter / RealityKit).
On-device note
Full on-device (iPhone) was
verified infeasible
with this model: DINOv3 ViT-H AOT
.aimodelc
is ~3.1 GB and the DiT's 12294-token full-attention score matrix alone is ~4.8 GB, both over the
~3.3 GB iOS app memory budget (weight precision doesn't fix the attention working set). Needs
flash-attention conversion / weight streaming. The Mac-link client is the shipped path.
Runs of eadx TripoSplat-CoreAI on huggingface.co
0
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
0
30-day runs
More Information About TripoSplat-CoreAI huggingface.co Model
TripoSplat-CoreAI huggingface.co is an AI model on huggingface.co that provides TripoSplat-CoreAI's model effect (), which can be used instantly with this eadx TripoSplat-CoreAI model. huggingface.co supports a free trial of the TripoSplat-CoreAI model, and also provides paid use of the TripoSplat-CoreAI. Support call TripoSplat-CoreAI model through api, including Node.js, Python, http.
TripoSplat-CoreAI huggingface.co is an online trial and call api platform, which integrates TripoSplat-CoreAI's modeling effects, including api services, and provides a free online trial of TripoSplat-CoreAI, you can try TripoSplat-CoreAI online for free by clicking the link below.
eadx TripoSplat-CoreAI online free url in huggingface.co:
TripoSplat-CoreAI is an open source model from GitHub that offers a free installation service, and any user can find TripoSplat-CoreAI on GitHub to install. At the same time, huggingface.co provides the effect of TripoSplat-CoreAI install, users can directly use TripoSplat-CoreAI installed effect in huggingface.co for debugging and trial. It also supports api for free installation.