AnySplat (fastforks)

AnySplat (Jiang et al. 2025): feed-forward 3D Gaussian splatting from unposed, uncalibrated images. A VGGT backbone (fine-tuned aggregator, camera head and depth head) predicts the cameras and depth of every view; a DPT Gaussian head predicts per-pixel Gaussians (opacity, scale, rotation, degree-4 SH), fused per voxel into one scene (result.gaussians, .save("scene.ply")). Forward pass only: no renderer.

This repo is the model card only: it holds no weights. fastforks downloads the authors' weights from the links below and checks them against the SHA-256 in the model card. Code: https://github.com/kleinicke/fastforks. Kernels for the kernels backend: https://huggingface.co/fastforks/kernels. Original code: https://github.com/InternRobotics/AnySplat at 5f5e208.

Author weight repos: https://huggingface.co/lhjiang/anysplat.

Task: multiview. Tier: experimental. Outputs: depth, confidence, world_points, intrinsics, cam_to_world, gaussians. Backends: portable, kernels.

Input: several images of one scene (posed and calibrated for multi-view stereo, unposed otherwise). Output: depth maps and, where the model predicts them, cameras and 3-D points.

Variants

Weights are the authors' files (not hosted here). SHA-256 shortened to 12 hex digits; the full hashes are in card.toml.

variant weights (author link) SHA-256 weights licence commercial use
anysplat@1 model.safetensors 1c4de2ba5a29 MIT yes

Licence

Original-code strings, recorded as they are (research-use package; check them before any other use). Code: MIT AND LicenseRef-VGGT. Licence files: LICENSE, LICENSE-VGGT.

Training data: Per the paper (arXiv 2505.23716) a mixture of public multi-view datasets; the repository ships CO3Dv2, DL3DV and ScanNet++ training configs. VGGT-1B initialisation..

  • Licence note: AnySplat's code and checkpoint are MIT; its VGGT copy (net/) is under the VGGT License (commercial use allowed). The checkpoint was fine-tuned from VGGT-1B, whose own weights are CC-BY-NC-4.0: the AnySplat authors release theirs as MIT.
  • Licence note: Upstream's Gaussian head file (vggt_dpt_gs_head.py) carries a stale Naver CC BY-NC-SA header from DUSt3R although the class used here is new code on the VGGT DPT head; this family reimplements that head (GSHead in model.py) and vendors none of the Naver-headed files.

Licence evidence: https://github.com/InternRobotics/AnySplat/blob/5f5e208a7dd57d52e43ea0d553a95eab526e8775/LICENSE and https://huggingface.co/lhjiang/anysplat/blob/d2e8c343672646041ad4ea518184968f94362f01/README.md (license: mit)

Input size

any H x W >= 1, resized or padded inside the model Tested up to (portable, fp16, RTX 5060 Ti 16 GB): anysplat 3000x4000 (6.5 GiB peak allocated, 9.4 reserved)

Speed and memory

Multiview, synthetic

model input time (ms): original fp32 original portable kernels kernels speed-up: vs original vs portable peak memory (MiB, allocated / reserved): original portable kernels
anysplat 336x518 – 741 504 364 2.0x 1.4x 8931 / 9394 4842 / 4932 4852 / 5192

Startup and first call

model load (s): original portable kernels first call (s): original portable kernels
anysplat 8.32 (336x518) 2.46 (336x518) 3.98 (336x518) 3.07 (336x518) 0.89 (336x518) 0.73 (336x518)

torch.compile and TensorRT

model input time: portable compile TensorRT fp16 kernels preparation: compile (cold first call) ONNX + engine build peak MiB (alloc / reserved): portable compile kernels TensorRT (engine + torch)
anysplat 336x518 504 ms 427 ms 314 ms 364 ms 80.3 s 215 s 4842 / 4932 4137 / 4694 4852 / 5192 7629 / 7674

Fixed-size cells: time (ms) / peak allocated / peak reserved memory (MiB).

Hardware, protocol and caveats: benchmarks (RTX 5060 Ti 16 GB, sm_120). Original = the original code named above at the precision of portable (fp16, or (fp32) where fp16 is unsupported or not finite); original fp32 = its default fp32 run. Peak memory is the torch allocator's.

Accuracy

On public datasets

640x512 crops, the 7 most co-visible views as sources; GT = depth rendered from the structured-light points. AbsRel / delta1 over GT pixels, after per-image median scaling unless the model takes the cameras (calibrated MVS: cameras, error in mm; PatchMatchNet also the depth range 425-935 mm, MVSAnywhere its own range from the camera baselines). Original = the original code named under Details, same checkpoint and protocol.

variant dataset original fp32 original fp16 portable kernels note
anysplat DTU scans 1, 9, 24, 33, 75, view 24 + 7 sources, AbsRel / delta1 % 0.0108 / 99.93 0.0108 / 99.93 0.0109 / 99.93 0.0108 / 99.93

Measured on NVIDIA GeForce RTX 5060 Ti, torch 2.14.1+cu130, fastforks 62af007c, 2026-11-12.

Parity with the original code

Every variant is checked against reference outputs of the original code at its pinned commit. CPU, float32: max |diff| <= 1.3e-05 vs the original. GPU, float16 (the default), portable and kernels: mean |diff| <= 0.0013 and p99 <= 0.0033 (absolute error of the output depth).

Usage

from fastforks import multiview

model = multiview.load("anysplat")  # mode="auto": the preferred backend from recorded measurements
result = model(["view0.jpg", "view1.jpg", "view2.jpg"])  # the views of one scene, no cameras needed
result.depth  # [V, H, W] float32 tensor; result.kind says what the maps mean
result.backend  # what ran, e.g. Backend(mode='portable', device='cuda:0', dtype='float16')

Install with pip install fastforks (see https://github.com/kleinicke/fastforks). Other variants: anysplat.

Kernels backend

multiview.load("anysplat", mode="kernels") runs our CUDA kernels (fastbb, cudnn_hacc). It needs a prebuilt kernel for your GPU architecture (downloaded from https://huggingface.co/fastforks/kernels on first use) and a recent NVIDIA driver; if there is none it raises BackendUnavailableError with the reason and never falls back silently. mode="auto" picks kernels when it can run and logs the choice.

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Collection including fastforks/anysplat