LingBot-Map (fastforks)

LingBot-Map (Robbyant, 2026): streaming 3D reconstruction. A VGGT-style aggregator (DINOv2 ViT-L patch embed, 24 frame / global attention blocks, 3D RoPE) runs causally over the views in order with a KV cache (scale frames + a sliding window), then a camera head and a DPT depth head give cameras and depth of every view.

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/Robbyant/lingbot-map at b9dd1b1.

Author weight repos: https://huggingface.co/robbyant/lingbot-map.

Task: multiview. Tier: experimental. Outputs: depth, confidence, intrinsics, cam_to_world. 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
lingbot-map@1 lingbot-map.pt ee665103348e Apache-2.0 yes

Licence

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

Training data: Per the README: a stage-1 bidirectional (VGGT-style) checkpoint, then streaming training; datasets are not listed.

Licence evidence: https://github.com/Robbyant/lingbot-map/blob/b9dd1b1/LICENSE.txt and https://huggingface.co/robbyant/lingbot-map (no licence field)

Input size

any H x W >= 1, resized or padded inside the model Tested up to (portable, fp16, RTX 5060 Ti 16 GB): lingbot-map 3000x4000 (5.5 GiB peak allocated, 6.8 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
lingbot-map 480x640 – 993 733 520 1.9x 1.4x 7141 / 7672 3910 / 5734 3919 / 5932

Startup and first call

model load (s): original portable kernels first call (s): original portable kernels
lingbot-map 131.28 (480x640) 6.58 (480x640) 5.69 (480x640) 4.64 (480x640) 1.08 (480x640) 0.84 (480x640)

torch.compile and TensorRT

model input time: portable compile TensorRT (fp16 unless shown) kernels preparation: compile (cold first call) ONNX + engine build peak MiB (alloc / reserved): portable compile kernels TensorRT (engine + torch)
lingbot-map 480x640 733 ms 657 ms 489 ms 520 ms 71.0 s 181 s 3910 / 5734 3339 / 3468 3919 / 5932 6280 / 6338

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. Ground truth is 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). Scans 1, 9, 24, 33 and 75. Use view 24 and its seven best paired views, resize to 480 x 640, and align the reference depth by median scale before averaging the scans. Original = the original code named under Details, same checkpoint and protocol.

variant dataset original fp32 portable portable fp32 kernels portable + torch.compile note
lingbot-map DTU scans 1, 9, 24, 33, 75, view 24 + 7 sources, AbsRel / delta1 % 0.0304 / 97.30 0.0305 / 97.28 0.0304 / 97.30 0.0304 / 97.33
lingbot-map DTU (five scans), view 24 + 7 sources at 480 x 640, AbsRel / delta1 % 0.0292 / 97.80 0.0293 / 97.81

Measured on portable: NVIDIA GeForce RTX 5060 Ti, torch 2.14.1+cu130, fastforks 68b2f345 / f984d9b6, 2026-11-16 to 2026-11-18; portable32: NVIDIA GeForce RTX 5060 Ti, torch 2.14.1+cu130, fastforks 30c7a8e9, 2026-11-17; kernels: NVIDIA GeForce RTX 5060 Ti, torch 2.14.1+cu130, fastforks 68b2f345, 2026-11-16; compile: NVIDIA GeForce RTX 5060 Ti, torch 2.14.1+cu130, fastforks f984d9b6, 2026-11-18.

Parity with the original code

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

Limitations

  • On the RTX 5060 Ti reference input, stream=True reduced peak allocated memory across loading and inference from 3,591 to 2,532 MiB portable and 3,798 to 2,643 MiB kernels. Depth, confidence and camera outputs matched exactly.
  • On CUDA, stream=True keeps the 24 pairs of aggregator blocks in host RAM. Each new view after the initial scale frames transfers those weights again. The camera, depth head and attention cache stay on the GPU.
  • With streamed weights, the portable FP32 benchmark on 24 synthetic 320 x 448 input views takes 10.61 s and peaks at 9,128 MiB allocated and 9,572 MiB reserved on the RTX 5060 Ti.
  • Views are a sequence (a video): each view only sees the first scale_frames views and the views before it (older than window frames: their 6 special tokens only). At most 1024 views.

Usage

from fastforks import multiview

model = multiview.load("lingbot-map")  # 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: lingbot-map.

Kernels backend

multiview.load("lingbot-map", 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

Model tree for fastforks/lingbot-map

Finetuned
(3)
this model

Collection including fastforks/lingbot-map