shuinb's picture
Document migration to the Model repository and retain legacy downloads
3d2cc25 verified
|
Raw History Blame Contribute Delete
4.57 kB
metadata
license: apache-2.0
language:
  - en
  - zh
tags:
  - lingbot-map
  - quantization
  - w4a4
  - dsfq
  - 3d-reconstruction
pretty_name: Quantized LingBot-Map artifacts

Quantized LingBot-Map

Quantized LingBot-Map (legacy Dataset repository)

中文 · GitHub code and full instructions

DSFQ weights and current project artifacts have moved to the Model repository. Use that repository for new downloads. Files in this Dataset repository remain available so existing links and commands continue to work.

Project artifacts for streaming 3D mapping: source code, recorded results and the calibrated DSFQ checkpoint. DSFQ combines Hadamard rotation, channel smoothing and learned weight/activation clipping for W4A4 GCT Linear layers.

Files from the original Dataset release

Path Content
models/dsfq/model.pt Standalone packed DSFQ checkpoint, about 1.91 GB
models/dsfq/model_info.json Precision, calibration settings and upstream attribution
source/Quantized-LingBot-Map.zip Clean source project with English and Chinese READMEs
results/xyz.json TUM XYZ, 732-frame ground-truth comparison
results/indoor.json Indoor Travel, 5,000-frame agreement with BF16
results/calibration_audit.json Direct W4A4 calibration and KV-precision diagnostic
assets/, configs/ Visualizations, icon and calibration/streaming configurations

The published checkpoint quantizes 192 GCT Linear layers. DINO stays BF16; camera and depth heads stay FP32. The default quantized runtime uses FP4 KV storage and BF16 SDPA. Calibration uses 320 independent TUM desk/rpy frames, six streaming states per block and 15 reconstruction epochs. XYZ and Indoor are development/evaluation sequences, not untouched blind tests.

Download and use

Install the project following its GitHub README, then run from the project directory:

hf download shuinb/Quantized-LingBot-Map models/dsfq/model.pt \
  --local-dir .

export CUDA_VISIBLE_DEVICES=0
python -m qmap infer --method dsfq --deployment models/dsfq/model.pt \
  --images data/xyz/images --start 64 --frames 732 --output runs/xyz_dsfq

The command above downloads from the Model repository. Earlier commands with --repo-type dataset still retrieve the original Dataset copy.

For your own chronologically named images, change --images, use --start 0 and set --frames to the image count. Run one GPU job at a time. The automatic backend uses native S4 on SM8x GPUs such as RTX 3080, and 4-bit codes with INT8 GEMM on other supported CUDA GPUs. Native S4 requires the CUDA toolkit and CUTLASS; see GitHub for setup.

The BF16 reference uses the original robbyant/lingbot-map checkpoint. Direct calibrated W4A4 can be reproduced with python -m qmap calibrate --method w4a4 using the source project's independent calibration configuration.

Recorded results

TUM XYZ, lower is better:

Method GT ATE (cm) Translation RPE (cm) Depth AbsRel (%)
BF16 3.312 0.826 4.149
Direct LWC/LAC W4A4 + FP4 KV 8.805 3.844 5.600
DSFQ + FP4 KV 3.389 1.561 4.206

XYZ trajectories

Indoor RGB maps

Indoor has no ground truth; its metrics measure agreement with BF16. DSFQ measured a 5.876 GB sampled process peak and 11.987 FPS minimum / 12.477 FPS median across three 5,000-frame runs on RTX 5090. This GPU uses the INT8 compatibility backend. An RTX 3080 native S4 test covered 248 frames at 5.769 GB and 5.611 FPS. Full runtime differences and measurement scopes are recorded in the source README and result files.

License and attribution

The source and derived checkpoint retain the upstream Apache-2.0 terms; see LICENSE and NOTICE. The checkpoint is derived from LingBot-Map; quantization follows QuantVGGT. Visualizations use the attributed TUM RGB-D and Indoor Travel evaluation sequences. Original datasets retain their own terms and are obtained separately.