--- license: other license_name: non-commercial-research-mixed license_link: https://huggingface.co/1kaiser/solv3r-moge-depthpro2-webgpu/blob/main/LICENSE_NOTICES.md tags: - webgpu - 3d-reconstruction - metric-depth - litert - onnxruntime-web - solv3r - moge-2 - moge-3 - depth-pro-2 - browser-ai --- # Solv3R + MoGe-2 + MoGe-3 + Apple Depth Pro 2 S (Browser WebGPU Dual-Backend Core) Client-side browser WebGPU model bundle (**1002.11 MB** across **15 model files** + tokens/manifests) supporting both **ONNX WebGPU (FP16)** and **Compact All-LiteRT WebGPU (INT8: 164.22 MB total for Solv3R + MoGe-2)**, plus **MoGe-3 Sharded Hybrid** and **Apple Depth Pro 2 S**. > **Research Use Only:** Upstream Solv3R and Apple Depth Pro 2 S weights carry non-commercial research licenses. See [LICENSE_NOTICES.md](./LICENSE_NOTICES.md) and [LICENSE_APPLE_ML_RESEARCH.txt](./LICENSE_APPLE_ML_RESEARCH.txt) before redistribution. ## Model Inventory | Key | File | Runtime & Precision | Size | SHA-256 | | :--- | :--- | :--- | :---: | :--- | | `solv3r_encoder` | `onnx/solv3r_encoder_fp16.onnx` | `onnxruntime-web` (`fp16`) | `172.67 MB` | `7f8645f9b431...` | | `solv3r_step` | `onnx/solv3r_step_fp16.onnx` | `onnxruntime-web` (`fp16`) | `29.86 MB` | `d035e2dffc02...` | | `solv3r_decoder` | `onnx/solv3r_decoder_fp16.onnx` | `onnxruntime-web` (`fp16`) | `34.31 MB` | `8936314509d6...` | | `moge2_vits` | `onnx/moge2_vits_fp16.onnx` | `onnxruntime-web` (`fp16`) | `72.04 MB` | `5a15d2d0d5cc...` | | `depthpro2s_fov` | `onnx/depthpro2s_fov_fp16.onnx` | `onnxruntime-web` (`fp16`) | `47.31 MB` | `24e56977e6f5...` | | `depthpro2s_depth` | `onnx/depthpro2s_depth_fp16.onnx` | `onnxruntime-web` (`fp16`) | `49.41 MB` | `ab1264b54ab7...` | | `moge3_s0` | `litert/moge3_480x640/moge3_stage1_480x640_s0_vit_a_int8.tflite` | `@litertjs/core@2.6.0` (`weight_only_int8`) | `108.51 MB` | `0067401dad57...` | | `moge3_s1` | `litert/moge3_480x640/moge3_stage1_480x640_s1_vit_b_int8.tflite` | `@litertjs/core@2.6.0` (`weight_only_int8`) | `102.96 MB` | `e8e7ea61d917...` | | `moge3_s2` | `litert/moge3_480x640/moge3_stage1_480x640_s2_vit_c_int8.tflite` | `@litertjs/core@2.6.0` (`weight_only_int8`) | `106.17 MB` | `ccc1e8a1cdfd...` | | `moge3_s3` | `litert/moge3_480x640/moge3_stage1_480x640_s3_heads_int8.tflite` | `@litertjs/core@2.6.0` (`weight_only_int8`) | `94.32 MB` | `35e9a9784922...` | | `moge3_stage2` | `litert/moge3_480x640/moge3_stage2_distilled_480x640_fp16.tflite` | `@litertjs/core@2.6.0` (`fp16`) | `20.22 MB` | `d4d25e6d4f11...` | | `solv3r_encoder_litert` | `litert/solv3r_378x504/solv3r_encoder_378x504_int8.tflite` | `@litertjs/core@2.6.0` (`weight_only_int8`) | `89.80 MB` | `abe59597765d...` | | `solv3r_step_litert` | `litert/solv3r_378x504/solv3r_step_378x504_int8.tflite` | `@litertjs/core@2.6.0` (`weight_only_int8`) | `15.54 MB` | `f22ddc92cbc6...` | | `solv3r_decoder_litert` | `litert/solv3r_378x504/solv3r_decoder_378x504_int8.tflite` | `@litertjs/core@2.6.0` (`weight_only_int8`) | `18.18 MB` | `d4b7acce6f5a...` | | `moge2_vits_litert` | `litert/moge2_480x640/moge2_vits_480x640_int8.tflite` | `@litertjs/core@2.6.0` (`weight_only_int8`) | `40.70 MB` | `87b295e07b9b...` | - **Canonical Machine Manifest:** [manifest.json](./manifest.json) - **Downloadable AI Agent Skill (`agentskills.io`):** [skills/solv3r-moge-dp2-webgpu/SKILL.md](./skills/solv3r-moge-dp2-webgpu/SKILL.md) ## Architecture Highlights 1. **Multi-View Poses (`onnxruntime-web` FP16 OR `@litertjs/core@2.6.0` INT8):** Solv3R encodes 4 views at `378x504`, executes 16 looped solver steps, and decodes camera poses + confidence maps without `DepthToSpace` WebGPU divergence. Under `backend=litert`, Solv3R runs in phased single-graph residency (`89.80 / 15.54 / 18.18 MB` INT8) paired with `moge2_vits_480x640_int8.tflite` (`40.70 MB`) for a compact **164.22 MB** All-LiteRT pipeline. 2. **MoGe-3 Hybrid Co-Resident (`@litertjs/core@2.6.0` in Dedicated Web Worker):** - Stage 1 DINOv2 ViT-L/14 + ConvStack is split into 4 Weight-Only INT8 `.tflite` shards (`94.3–108.5 MB` each, zero custom ops) to stay safely under Emscripten WASM32's graph compilation ceiling. - Stage 2 runs the distilled pure-2D `MoGe3DistilledRefinerV2` FP16 refiner (`20.22 MB`, `+32.9%` top-10% boundary gain vs. Stage 1) directly on GPU tensors, with Cache API persistence and automatic worker respawn into streaming mode on constrained devices. 3. **Cross-View Stage A -> B -> C Alignment:** Recovers focal/shift parameters in JS, locks global metric scale against Solv3R poses, runs 6-iteration Huber IRLS Sim(3), and applies a smooth `18x24` grid warp (`~4.3 cm` Stage C cross-view median residual verified on MoGe-2 + Solv3R vs. COLMAP GT on NVIDIA L4 WebGPU). ## Citation & Upstream Credits - **Solv3R:** `ubc-vision/solv3r` - **MoGe-2 & MoGe-3:** Wang et al., *MoGe: Unlocking Accurate Monocular Geometry Estimation* (`Ruicheng/moge-2-vits-normal`, `Ruicheng/moge-3-vitl`) - **Depth Pro 2:** Apple Machine Learning Research (`apple/ml-depth-pro-2`)