LiteRT
LiteRT
ONNX
webgpu
3d-reconstruction
metric-depth
onnxruntime-web
solv3r
moge-2
moge-3
depth-pro-2
browser-ai
Run this model with HF Jobs
Run 1kaiser/solv3r-moge-depthpro2-webgpu on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/1kaiser/solv3r-moge-depthpro2-webgpu. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/1kaiser/solv3r-moge-depthpro2-webgpu on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use 1kaiser/solv3r-moge-depthpro2-webgpu with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LiteRT
How to use 1kaiser/solv3r-moge-depthpro2-webgpu with LiteRT:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Upload Solv3R + MoGe-2 + Depth Pro 2 S ONNX & MoGe-3 4-Shard Hybrid LiteRT WebGPU Core + SKILL.md
Browse filesFiles changed (22)
- LICENSE_APPLE_CODE.txtAdded+47
- LICENSE_APPLE_ML_RESEARCH.txtAdded+88
- LICENSE_NOTICES.mdAdded+18
- README.mdAdded+55
- litert/moge3_480x640/litertjs_webgpu_report.jsonAdded+630
- litert/moge3_480x640/moge3_stage1_480x640_s0_vit_a_int8.tfliteAdded+3
- litert/moge3_480x640/moge3_stage1_480x640_s1_vit_b_int8.tfliteAdded+3
- litert/moge3_480x640/moge3_stage1_480x640_s2_vit_c_int8.tfliteAdded+3
- litert/moge3_480x640/moge3_stage1_480x640_s3_heads_int8.tfliteAdded+3
- litert/moge3_480x640/moge3_stage2_distilled_480x640_fp16.tfliteAdded+3
- litert/moge3_480x640/stage1_sharded_export_report.jsonAdded+670
- manifest.jsonAdded+420
- onnx/depthpro2s_depth_fp16.onnxAdded+3
- onnx/depthpro2s_fov_fp16.onnxAdded+3
- onnx/model_manifest.jsonAdded+56
- onnx/moge2_vits_fp16.onnxAdded+3
- onnx/solv3r_decoder_fp16.onnxAdded+3
- onnx/solv3r_encoder_fp16.onnxAdded+3
- onnx/solv3r_ref_checksums.jsonAdded+111
- onnx/solv3r_step_fp16.onnxAdded+3
- onnx/solv3r_tokens.jsonAdded
- skills/solv3r-moge-dp2-webgpu/SKILL.mdAdded+125
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647Copyright (C) 2026 Apple Inc. All Rights Reserved.
IMPORTANT: This Apple software is supplied to you by AppleInc. ("Apple") in consideration of your agreement to the followingterms, and your use, installation, modification or redistribution ofthis Apple software constitutes acceptance of these terms. If you donot agree with these terms, please do not use, install, modify orredistribute this Apple software.
In consideration of your agreement to abide by the following terms, andsubject to these terms, Apple grants you a personal, non-exclusivelicense, under Apple's copyrights in this original Apple software (the"Apple Software"), to use, reproduce, modify and redistribute the AppleSoftware, with or without modifications, in source and/or binary forms;provided that if you redistribute the Apple Software in its entirety andwithout modifications, you must retain this notice and the followingtext and disclaimers in all such redistributions of the Apple Software.Neither the name, trademarks, service marks or logos of Apple Inc. maybe used to endorse or promote products derived from the Apple Softwarewithout specific prior written permission from Apple. Except asexpressly stated in this notice, no other rights or licenses, express orimplied, are granted by Apple herein, including but not limited to anypatent rights that may be infringed by your derivative works or by otherworks in which the Apple Software may be incorporated.
The Apple Software is provided by Apple on an "AS IS" basis. APPLEMAKES NO WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATIONTHE IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY AND FITNESSFOR A PARTICULAR PURPOSE, REGARDING THE APPLE SOFTWARE OR ITS USE ANDOPERATION ALONE OR IN COMBINATION WITH YOUR PRODUCTS.
IN NO EVENT SHALL APPLE BE LIABLE FOR ANY SPECIAL, INDIRECT, INCIDENTALOR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OFSUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESSINTERRUPTION) ARISING IN ANY WAY OUT OF THE USE, REPRODUCTION,MODIFICATION AND/OR DISTRIBUTION OF THE APPLE SOFTWARE, HOWEVER CAUSEDAND WHETHER UNDER THEORY OF CONTRACT, TORT (INCLUDING NEGLIGENCE),STRICT LIABILITY OR OTHERWISE, EVEN IF APPLE HAS BEEN ADVISED OF THEPOSSIBILITY OF SUCH DAMAGE.
-------------------------------------------------------------------------------SOFTWARE DISTRIBUTED IN THIS REPOSITORY:
This software includes a number of subcomponents with separatecopyright notices and license terms - please see the file ACKNOWLEDGEMENTS.-------------------------------------------------------------------------------12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788Disclaimer: IMPORTANT: This Apple Machine Learning Research Model isspecifically developed and released by Apple Inc. ("Apple") for the sole purposeof scientific research of artificial intelligence and machine-learningtechnology. “Apple Machine Learning Research Model” means the model, includingbut not limited to algorithms, formulas, trained model weights, parameters,configurations, checkpoints, and any related materials (includingdocumentation).
This Apple Machine Learning Research Model is provided to You byApple in consideration of your agreement to the following terms, and your use,modification, creation of Model Derivatives, and or redistribution of the AppleMachine Learning Research Model constitutes acceptance of this Agreement. If Youdo not agree with these terms, please do not use, modify, create ModelDerivatives of, or distribute this Apple Machine Learning Research Model orModel Derivatives.
* License Scope: In consideration of your agreement to abide by the following terms, and subject to these terms, Apple hereby grants you a personal, non-exclusive, worldwide, non-transferable, royalty-free, revocable, and limited license, to use, copy, modify, distribute, and create Model Derivatives (defined below) of the Apple Machine Learning Research Model exclusively for Research Purposes. You agree that any Model Derivatives You may create or that may be created for You will be limited to Research Purposes as well. “Research Purposes” means non-commercial scientific research and academic development activities, such as experimentation, analysis, testing conducted by You with the sole intent to advance scientific knowledge and research. “Research Purposes” does not include any commercial exploitation, product development or use in any commercial product or service.
* Distribution of Apple Machine Learning Research Model and Model Derivatives: If you choose to redistribute Apple Machine Learning Research Model or its Model Derivatives, you must provide a copy of this Agreement to such third party, and ensure that the following attribution notice be provided: “Apple Machine Learning Research Model is licensed under the Apple Machine Learning Research Model License Agreement.” Additionally, all Model Derivatives must clearly be identified as such, including disclosure of modifications and changes made to the Apple Machine Learning Research Model. The name, trademarks, service marks or logos of Apple may not be used to endorse or promote Model Derivatives or the relationship between You and Apple. “Model Derivatives” means any models or any other artifacts created by modifications, improvements, adaptations, alterations to the architecture, algorithm or training processes of the Apple Machine Learning Research Model, or by any retraining, fine-tuning of the Apple Machine Learning Research Model.
* No Other License: Except as expressly stated in this notice, no other rights or licenses, express or implied, are granted by Apple herein, including but not limited to any patent, trademark, and similar intellectual property rights worldwide that may be infringed by the Apple Machine Learning Research Model, the Model Derivatives or by other works in which the Apple Machine Learning Research Model may be incorporated.
* Compliance with Laws: Your use of Apple Machine Learning Research Model must be in compliance with all applicable laws and regulations.
* Term and Termination: The term of this Agreement will begin upon your acceptance of this Agreement or use of the Apple Machine Learning Research Model and will continue until terminated in accordance with the following terms. Apple may terminate this Agreement at any time if You are in breach of any term or condition of this Agreement. Upon termination of this Agreement, You must cease to use all Apple Machine Learning Research Models and Model Derivatives and permanently delete any copy thereof. Sections 3, 6 and 7 will survive termination.
* Disclaimer and Limitation of Liability: This Apple Machine Learning Research Model and any outputs generated by the Apple Machine Learning Research Model are provided on an “AS IS” basis. APPLE MAKES NO WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION THE IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, REGARDING THE APPLE MACHINE LEARNING RESEARCH MODEL OR OUTPUTS GENERATED BY THE APPLE MACHINE LEARNING RESEARCH MODEL. You are solely responsible for determining the appropriateness of using or redistributing the Apple Machine Learning Research Model and any outputs of the Apple Machine Learning Research Model and assume any risks associated with Your use of the Apple Machine Learning Research Model and any output and results. IN NO EVENT SHALL APPLE BE LIABLE FOR ANY SPECIAL, INDIRECT, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING IN ANY WAY OUT OF THE USE, REPRODUCTION, MODIFICATION AND/OR DISTRIBUTION OF THE APPLE MACHINE LEARNING RESEARCH MODEL AND ANY OUTPUTS OF THE APPLE MACHINE LEARNING RESEARCH MODEL, HOWEVER CAUSED AND WHETHER UNDER THEORY OF CONTRACT, TORT (INCLUDING NEGLIGENCE), STRICT LIABILITY OR OTHERWISE, EVEN IF APPLE HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
* Governing Law: This Agreement will be governed by and construed under the laws of the State of California without regard to its choice of law principles. The Convention on Contracts for the International Sale of Goods shall not apply to the Agreement except that the arbitration clause and any arbitration hereunder shall be governed by the Federal Arbitration Act, Chapters 1 and 2.
Copyright (C) 2026 Apple Inc. All Rights Reserved.123456789101112131415161718# License & Attribution Notices
This repository bundles WebGPU-ready derived weights and runtime metadata from four upstream research projects under a mixed open-source and non-commercial research license set.
## Summary by Component
| Component | Files | Upstream License | Derivative / Export Modifications || :--- | :--- | :--- | :--- || **Solv3R** (`ubc-vision/solv3r`) | `onnx/solv3r_{encoder,step,decoder}_fp16.onnx`, `onnx/solv3r_tokens.json` | Source code: **Apache-2.0**<br>Pretrained weights: **Non-Commercial Research / NVIDIA License** | Split into fixed-resolution `378x504` encoder, looped step, and decoder ONNX FP16 graphs; removed WebGPU-incompatible ops (`DepthToSpace` unprojection moved to JS). || **MoGe-2 ViT-S** (`Ruicheng/moge-2-vits-normal`) | `onnx/moge2_vits_fp16.onnx` | **MIT License** | Exported at `420x560 -> 480x640` into WebGPU-compatible FP16 ONNX. || **MoGe-3** (`Ruicheng/moge-3-vitl` derived) | `litert/moge3_480x640/moge3_stage1_480x640_s*_int8.tflite`, `moge3_stage2_distilled_480x640_fp16.tflite` | **MIT License** | Refactored ViT-L/14 + ConvStack into 4 pure-2D/4D Weight-Only INT8 `.tflite` shards (`<= 109 MB`/shard) plus a `bf16`-distilled 2D U-Net refiner (`MoGe3DistilledRefinerV2`, FP16 `20.22 MB`). || **Apple Depth Pro 2 S** (`apple/ml-depth-pro-2`) | `onnx/depthpro2s_fov_fp16.onnx`, `onnx/depthpro2s_depth_fp16.onnx` | **Apple Machine Learning Research Model License Agreement** (see [LICENSE_APPLE_ML_RESEARCH.txt](./LICENSE_APPLE_ML_RESEARCH.txt) & [LICENSE_APPLE_CODE.txt](./LICENSE_APPLE_CODE.txt)) | Exported at `288x384` into split FOV and 4-view inverse-depth ONNX FP16 Model Derivatives restricted strictly to non-commercial Research Purposes. |
## Required Apple Attribution Notice
> Apple Machine Learning Research Model is licensed under the Apple Machine Learning Research Model License Agreement.
Any redistribution or derived artifact using `depthpro2s_fov_fp16.onnx` or `depthpro2s_depth_fp16.onnx` must remain strictly within non-commercial Research Purposes, include the full text of [LICENSE_APPLE_ML_RESEARCH.txt](./LICENSE_APPLE_ML_RESEARCH.txt), and retain explicit disclosure of all Model Derivatives modifications.12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455---license: otherlicense_name: non-commercial-research-mixedlicense_link: https://huggingface.co/1kaiser/solv3r-moge-depthpro2-webgpu/blob/main/LICENSE_NOTICES.mdtags:- 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 Hybrid Core)
Client-side browser WebGPU model bundle (**837.89 MB** Hybrid Core across **11 model files** + tokens/manifests) combining multi-view camera/geometry solving (**Solv3R**) with metric surface geometry & normals (**MoGe-2**, **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...` |
- **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`):** Solv3R encodes 4 views at `378x504`, executes 16 looped solver steps, and decodes camera poses + confidence maps without `DepthToSpace` WebGPU divergence.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`)123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630{ "distilled_only": false, "chrome_bin": "/root/.cache/ms-playwright/chromium-1255/chrome-linux64/chrome", "litertjs_version": "2.6.0", "cpu_ref_manifest": { "runtime": "ai_edge_litert", "num_threads": 2, "sample_image": "frame_00.jpg", "present_models": { "stage1_sharded_fp16": [ "moge3_stage1_480x640_s0_vit_a_fp16.tflite", "moge3_stage1_480x640_s1_vit_b_fp16.tflite", "moge3_stage1_480x640_s2_vit_c_fp16.tflite", "moge3_stage1_480x640_s3_heads_fp16.tflite" ], "stage1_sharded_int8": [ "moge3_stage1_480x640_s0_vit_a_int8.tflite", "moge3_stage1_480x640_s1_vit_b_int8.tflite", "moge3_stage1_480x640_s2_vit_c_int8.tflite", "moge3_stage1_480x640_s3_heads_int8.tflite" ], "distilled_stage2_fp16": "moge3_stage2_distilled_480x640_fp16.tflite", "distilled_stage2_int8": "moge3_stage2_distilled_480x640_int8.tflite" }, "cpu_latencies_ms": { "stage1_sharded_fp16_cpu_ms": { "total_ms": 17699, "per_shard_ms": { "s0_vit_a": 4081.84, "s1_vit_b": 4081.35, "s2_vit_c": 4924.66, "s3_heads": 4611.15 } }, "stage1_sharded_int8_cpu_ms": { "total_ms": 17233.63, "per_shard_ms": { "s0_vit_a": 4425.82, "s1_vit_b": 3978.97, "s2_vit_c": 3595.64, "s3_heads": 5233.2 } }, "distilled_stage2_fp16": { "runs_ms": [ 2625.79, 2662.79, 2666.26 ], "median_ms": 2662.79, "mean_ms": 2651.61 }, "distilled_stage2_int8": { "runs_ms": [ 2971.39, 2816.55, 2811.02 ], "median_ms": 2816.55, "mean_ms": 2866.32 }, "e2e_fp16_cpu_ms": 20361.79, "e2e_int8_cpu_ms": 20167.61, "e2e_sharded_fp16_cpu_ms": 20508.58, "e2e_sharded_int8_cpu_ms": 20265.65 }, "elapsed_s": 136.09 }, "results": { "distilled_stage2_fp16_webgpu": { "accelerator": "webgpu", "compile_ok": true, "compile_ms": 2647.1, "model_mb_header": 20.22, "input_placement": "webgpu", "first_infer_e2e_ms": 3775.6, "first_upload_ms": 21.5, "steady_infer_e2e_runs_ms": [ 86.6, 84.4, 82.7 ], "steady_infer_e2e_median_ms": 84.4, "steady_infer_e2e_mean_ms": 84.6, "steady_upload_median_ms": 8.8, "parity": { "delta_logz_vs_cpu_litert": { "all_finite": true, "mae": 0, "max_abs_err": 0.000001, "cos_sim": 1 } }, "delegate_diagnostics": { "partial_delegation": false, "invoke_error_logged": false, "gpu_ops_summary": null, "unsupported_op_lines": [] }, "passed": true }, "distilled_stage2_fp16_wasm": { "accelerator": "wasm", "compile_ok": true, "compile_ms": 1465, "model_mb_header": 20.22, "input_placement": "wasm", "first_infer_e2e_ms": 12238.6, "first_upload_ms": 31.3, "steady_infer_e2e_runs_ms": [ 10705.2 ], "steady_infer_e2e_median_ms": 10705.2, "steady_infer_e2e_mean_ms": 10705.2, "steady_upload_median_ms": 12.1, "parity": { "delta_logz_vs_cpu_litert": { "all_finite": true, "mae": 0, "max_abs_err": 0, "cos_sim": 1 } }, "delegate_diagnostics": { "partial_delegation": false, "invoke_error_logged": false, "gpu_ops_summary": null, "unsupported_op_lines": [] }, "passed": true }, "distilled_stage2_int8_webgpu": { "accelerator": "webgpu", "compile_ok": true, "compile_ms": 2739.5, "model_mb_header": 10.28, "input_placement": "webgpu", "first_infer_e2e_ms": 1057.1, "first_upload_ms": 18.3, "steady_infer_e2e_runs_ms": [ 78.3, 81.9, 76.8 ], "steady_infer_e2e_median_ms": 78.3, "steady_infer_e2e_mean_ms": 79, "steady_upload_median_ms": 11.2, "parity": { "delta_logz_vs_cpu_litert": { "all_finite": true, "mae": 0.000123, "max_abs_err": 0.010251, "cos_sim": 0.99891 } }, "delegate_diagnostics": { "partial_delegation": false, "invoke_error_logged": false, "gpu_ops_summary": null, "unsupported_op_lines": [] }, "passed": true }, "distilled_stage2_int8_wasm": { "accelerator": "wasm", "compile_ok": true, "compile_ms": 879.1, "model_mb_header": 10.28, "input_placement": "wasm", "first_infer_e2e_ms": 8967.7, "first_upload_ms": 38.2, "steady_infer_e2e_runs_ms": [ 5979.8 ], "steady_infer_e2e_median_ms": 5979.8, "steady_infer_e2e_mean_ms": 5979.8, "steady_upload_median_ms": 7.8, "parity": { "delta_logz_vs_cpu_litert": { "all_finite": true, "mae": 0.000023, "max_abs_err": 0.001997, "cos_sim": 0.999965 } }, "delegate_diagnostics": { "partial_delegation": false, "invoke_error_logged": false, "gpu_ops_summary": null, "unsupported_op_lines": [] }, "passed": true }, "stage1_sharded_int8_webgpu": { "accelerator": "webgpu", "compile_ok": true, "execution_mode": "coresident", "zero_cpu_roundtrip": true, "per_shard_compile_ms": { "s0": 5680.3, "s1": 4506.7, "s2": 2957.9, "s3": 2721.4 }, "compile_ms": 15866.3, "input_upload_median_ms": 2.1, "e2e_first_ms": 469.1, "e2e_steady_runs_ms": [ 472.6, 472.1, 477.6 ], "e2e_steady_median_ms": 472.6, "e2e_steady_mean_ms": 474.1, "e2e_steady_fps": 2.12, "parity": { "raw_coord_vs_cpu_litert": { "all_finite": true, "mae": 0.002315, "max_abs_err": 0.060133, "cos_sim": 0.999937 }, "normal_vs_cpu_litert": { "all_finite": true, "mae": 0.00721, "max_abs_err": 0.107718, "cos_sim": 0.999831 }, "enc_feat_vs_cpu_litert": { "all_finite": true, "mae": 0.100129, "max_abs_err": 1.727929, "cos_sim": 0.998669 }, "mask_vs_cpu_litert": { "all_finite": true, "mae": 0.000027, "max_abs_err": 0.007392, "cos_sim": 1 }, "metric_scale_vs_cpu_litert": { "all_finite": true, "mae": 0.031275, "max_abs_err": 0.031275, "cos_sim": 1, "is_scalar": true } }, "delegate_diagnostics": { "partial_delegation": false, "invoke_error_logged": false, "gpu_ops_summary": null, "unsupported_op_lines": [] }, "passed": true }, "end_to_end_sharded_int8_webgpu": { "accelerator": "webgpu", "compile_ok": true, "execution_mode": "streaming_wasm_bridge", "zero_cpu_roundtrip": false, "coresident_fallback_reason": "coresident_failed", "per_shard_compile_ms": { "s0": 5357.6, "s1": 1514.9, "s2": 1444.3, "s3": 2121.8, "stage2": 1061.9 }, "per_shard_run_ms": { "s0": 1383.6, "s1": 621.9, "s2": 594.3, "s3": 568, "stage2": 473.8 }, "compile_ms": 11500.5, "e2e_first_ms": 15256.9, "e2e_steady_runs_ms": [ 3641.6 ], "e2e_steady_median_ms": 3641.6, "e2e_steady_mean_ms": 3641.6, "e2e_steady_fps": 0.27, "parity": { "refined_logz_vs_cpu_e2e": { "all_finite": true, "mae": 0.00424, "max_abs_err": 0.147443, "cos_sim": 0.999935 }, "delta_logz_vs_cpu_e2e": { "all_finite": true, "mae": 0.000257, "max_abs_err": 0.087311, "cos_sim": 0.984422 }, "raw_coord_vs_cpu_s1": { "all_finite": true, "mae": 0.002315, "max_abs_err": 0.060133, "cos_sim": 0.999937 } }, "delegate_diagnostics": { "partial_delegation": false, "invoke_error_logged": false, "gpu_ops_summary": null, "unsupported_op_lines": [] }, "passed": false }, "stage1_sharded_fp16_webgpu": { "accelerator": "webgpu", "compile_ok": true, "execution_mode": "streaming_wasm_bridge", "zero_cpu_roundtrip": false, "coresident_fallback_reason": "Aborted(). Build with -sASSERTIONS for more info.", "per_shard_compile_ms": { "s0": 2460.1, "s1": 2031.1, "s2": 2556.6, "s3": 2981.9 }, "per_shard_run_ms": { "s0": 682, "s1": 729.4, "s2": 1072.5, "s3": 847.4 }, "compile_ms": 10029.7, "e2e_first_ms": 13500.8, "e2e_steady_runs_ms": [ 3331.3 ], "e2e_steady_median_ms": 3331.3, "e2e_steady_mean_ms": 3331.3, "e2e_steady_fps": 0.3, "parity": { "raw_coord_vs_cpu_litert": { "all_finite": true, "mae": 0, "max_abs_err": 0.000003, "cos_sim": 1 }, "normal_vs_cpu_litert": { "all_finite": true, "mae": 0.000001, "max_abs_err": 0.000011, "cos_sim": 1 }, "enc_feat_vs_cpu_litert": { "all_finite": true, "mae": 0.000007, "max_abs_err": 0.000091, "cos_sim": 1 }, "mask_vs_cpu_litert": { "all_finite": true, "mae": 0, "max_abs_err": 0.000001, "cos_sim": 1 }, "metric_scale_vs_cpu_litert": { "all_finite": true, "mae": 0.000005, "max_abs_err": 0.000005, "cos_sim": 1, "is_scalar": true } }, "delegate_diagnostics": { "partial_delegation": false, "invoke_error_logged": false, "gpu_ops_summary": null, "unsupported_op_lines": [] }, "passed": true }, "end_to_end_sharded_fp16_webgpu": { "accelerator": "webgpu", "compile_ok": true, "execution_mode": "streaming_wasm_bridge", "zero_cpu_roundtrip": false, "coresident_fallback_reason": "Aborted(). Build with -sASSERTIONS for more info.", "per_shard_compile_ms": { "s0": 3586.1, "s1": 2889, "s2": 1907.8, "s3": 1911.9, "stage2": 882.5 }, "per_shard_run_ms": { "s0": 946, "s1": 925.7, "s2": 785.7, "s3": 580.4, "stage2": 475.6 }, "compile_ms": 11177.3, "e2e_first_ms": 15004.4, "e2e_steady_runs_ms": [ 3713.4 ], "e2e_steady_median_ms": 3713.4, "e2e_steady_mean_ms": 3713.4, "e2e_steady_fps": 0.27, "parity": { "refined_logz_vs_cpu_e2e": { "all_finite": true, "mae": 0, "max_abs_err": 0.00001, "cos_sim": 1 }, "delta_logz_vs_cpu_e2e": { "all_finite": true, "mae": 0, "max_abs_err": 0.000007, "cos_sim": 1 }, "raw_coord_vs_cpu_s1": { "all_finite": true, "mae": 0, "max_abs_err": 0.000003, "cos_sim": 1 } }, "delegate_diagnostics": { "partial_delegation": false, "invoke_error_logged": false, "gpu_ops_summary": null, "unsupported_op_lines": [] }, "passed": true } }, "crossOriginIsolated": true, "webgpu_supported": true, "litertjs_exports": [ "AuthoredModel", "CompiledModel", "Environment", "LiteRt", "LiteRtNotLoadedError", "Tensor", "TensorBufferType", "abs", "add", "argMax", "author", "avgPool2d", "batchMatMul", "ceil", "concat", "concatenation", "conv2d", "cos", "cumsum", "depthToSpace", "depthwiseConv2d", "div", "dynamicUpdateSlice", "elu", "embeddingLookup", "equal", "exp", "expandDims", "floor", "floorDiv", "floorMod", "fullyConnected", "gather", "gatherNd", "gelu", "getDefaultEnvironment", "getGlobalLiteRt", "getGlobalLiteRtPromise", "getWebGpuDevice", "greater", "greaterEqual", "hardSwish", "isWebGPUSupported", "leakyRelu", "less", "lessEqual", "loadAndCompile", "loadLiteRt", "loadModelAndWeights", "log", "logSoftmax", "logicalAnd", "logicalNot", "logicalOr", "logistic", "maxPool2d", "maximum", "mean", "minimum", "mul", "neg", "nonMaxSuppression", "notEqual", "oneHot", "pRelu", "pack", "pad", "pow", "reduceMax", "relu", "relu6", "reshape", "resizeBilinear", "resizeNearestNeighbor", "reverse", "round", "rsqrt", "select", "setWebGpuDevice", "sin", "slice", "softmax", "spaceToDepth", "split", "sqrt", "squeeze", "sub", "sum", "supportsFeature", "tanh", "tile", "topK", "transpose", "transposeConv2d", "unloadLiteRt", "unpack" ], "adapter": { "vendor": "nvidia", "architecture": "turing", "device": "0x1eb8", "description": "Tesla T4" }, "adapter_limits": { "maxBufferSize": 4294967292, "maxStorageBufferBindingSize": 2147483644, "maxComputeInvocationsPerWorkgroup": 1024 }, "browser_logs": [ "[stage1_sharded_fp16_webgpu:console:error] Aborted()", "[stage1_sharded_fp16_webgpu:console:error] INFO: [environment.cc:36] Creating LiteRT environment with options", "[stage1_sharded_fp16_webgpu:console:error] WARNING: [npu_registry.cc:34] NPU accelerator could not be loaded and registered: kLiteRtStatusErrorNotFound.", "[stage1_sharded_fp16_webgpu:console:error] INFO: [accelerator_registry.cc:54] RegisterAccelerator: ptr=0xd5398, name=GPU WebGPU", "[stage1_sharded_fp16_webgpu:console:error] INFO: [gpu_registry.cc:121] Statically linked GPU accelerator registered.", "[stage1_sharded_fp16_webgpu:console:error] INFO: [accelerator_registry.cc:54] RegisterAccelerator: ptr=0xd5570, name=CpuAccelerator", "[stage1_sharded_fp16_webgpu:console:error] INFO: [cpu_registry.cc:73] XNNPACK CPU accelerator registered.", "[stage1_sharded_fp16_webgpu:console:error] INFO: [gpu_environment.h:155] Created LiteRT GpuEnvironment.", "[stage1_sharded_fp16_webgpu:console:error] INFO: [environment.cc:47] Adding options to the existing LiteRT environment", "[stage1_sharded_fp16_webgpu:console:error] INFO: [environment.cc:36] Creating LiteRT environment with options", "[stage1_sharded_fp16_webgpu:console:error] WARNING: [npu_registry.cc:34] NPU accelerator could not be loaded and registered: kLiteRtStatusErrorNotFound.", "[stage1_sharded_fp16_webgpu:console:error] INFO: [accelerator_registry.cc:54] RegisterAccelerator: ptr=0xd5248, name=GPU WebGPU", "[stage1_sharded_fp16_webgpu:console:error] INFO: [gpu_registry.cc:121] Statically linked GPU accelerator registered.", "[stage1_sharded_fp16_webgpu:console:error] INFO: [accelerator_registry.cc:54] RegisterAccelerator: ptr=0xc689298, name=CpuAccelerator", "[stage1_sharded_fp16_webgpu:console:error] INFO: [cpu_registry.cc:73] XNNPACK CPU accelerator registered.", "[stage1_sharded_fp16_webgpu:console:error] INFO: [compiled_model.cc:966] Flatbuffer model initialized directly from incoming litert model.", "[stage1_sharded_fp16_webgpu:console:log] I1205 11:26:03.387000 800080 environment.cc:336] Subgroups Enabled!", "[stage1_sharded_fp16_webgpu:console:error] INFO: [delegate_webgpu.cc:370] Created a WebGPU environment with provided device.", "[stage1_sharded_fp16_webgpu:console:error] INFO: [environment.cc:47] Adding options to the existing LiteRT environment", "[stage1_sharded_fp16_webgpu:console:log] I1205 11:26:04.068000 800080 delegate_kernel.cc:1020] Initializing WebGPU-based API from graph.", "[stage1_sharded_fp16_webgpu:console:error] INFO: Created TensorFlow Lite XNNPACK delegate for CPU.", "[stage1_sharded_fp16_webgpu:console:error] INFO: [compiled_model.cc:966] Flatbuffer model initialized directly from incoming litert model.", "[stage1_sharded_fp16_webgpu:console:log] I1205 11:26:07.052999 800080 delegate_kernel.cc:1020] Initializing WebGPU-based API from graph.", "[stage1_sharded_fp16_webgpu:console:error] INFO: [compiled_model.cc:966] Flatbuffer model initialized directly from incoming litert model.", "[stage1_sharded_fp16_webgpu:console:log] I1205 11:26:10.089999 800080 delegate_kernel.cc:1020] Initializing WebGPU-based API from graph.", "[stage1_sharded_fp16_webgpu:console:error] INFO: [compiled_model.cc:966] Flatbuffer model initialized directly from incoming litert model.", "[stage1_sharded_fp16_webgpu:console:log] I1205 11:26:12.817999 800080 delegate_kernel.cc:1020] Initializing WebGPU-based API from graph.", "[end_to_end_sharded_fp16_webgpu:console:error] INFO: [environment.cc:36] Creating LiteRT environment with options", "[end_to_end_sharded_fp16_webgpu:console:error] WARNING: [npu_registry.cc:34] NPU accelerator could not be loaded and registered: kLiteRtStatusErrorNotFound.", "[end_to_end_sharded_fp16_webgpu:console:error] INFO: [accelerator_registry.cc:54] RegisterAccelerator: ptr=0xd5398, name=GPU WebGPU", "[end_to_end_sharded_fp16_webgpu:console:error] INFO: [gpu_registry.cc:121] Statically linked GPU accelerator registered.", "[end_to_end_sharded_fp16_webgpu:console:error] INFO: [accelerator_registry.cc:54] RegisterAccelerator: ptr=0xd5570, name=CpuAccelerator", "[end_to_end_sharded_fp16_webgpu:console:error] INFO: [cpu_registry.cc:73] XNNPACK CPU accelerator registered.", "[end_to_end_sharded_fp16_webgpu:console:error] INFO: [gpu_environment.h:155] Created LiteRT GpuEnvironment.", "[end_to_end_sharded_fp16_webgpu:console:error] INFO: [environment.cc:47] Adding options to the existing LiteRT environment", "[end_to_end_sharded_fp16_webgpu:console:error] INFO: [environment.cc:36] Creating LiteRT environment with options", "[end_to_end_sharded_fp16_webgpu:console:error] WARNING: [npu_registry.cc:34] NPU accelerator could not be loaded and registered: kLiteRtStatusErrorNotFound.", "[end_to_end_sharded_fp16_webgpu:console:error] INFO: [accelerator_registry.cc:54] RegisterAccelerator: ptr=0xd5248, name=GPU WebGPU", "[end_to_end_sharded_fp16_webgpu:console:error] INFO: [gpu_registry.cc:121] Statically linked GPU accelerator registered.", "[end_to_end_sharded_fp16_webgpu:console:error] INFO: [accelerator_registry.cc:54] RegisterAccelerator: ptr=0xc689298, name=CpuAccelerator", "[end_to_end_sharded_fp16_webgpu:console:error] INFO: [cpu_registry.cc:73] XNNPACK CPU accelerator registered.", "[end_to_end_sharded_fp16_webgpu:console:error] INFO: [compiled_model.cc:966] Flatbuffer model initialized directly from incoming litert model.", "[end_to_end_sharded_fp16_webgpu:console:log] I1205 11:26:18.697999 800080 environment.cc:336] Subgroups Enabled!", "[end_to_end_sharded_fp16_webgpu:console:error] INFO: [delegate_webgpu.cc:370] Created a WebGPU environment with provided device.", "[end_to_end_sharded_fp16_webgpu:console:error] INFO: [environment.cc:47] Adding options to the existing LiteRT environment", "[end_to_end_sharded_fp16_webgpu:console:log] I1205 11:26:19.584999 800080 delegate_kernel.cc:1020] Initializing WebGPU-based API from graph.", "[end_to_end_sharded_fp16_webgpu:console:error] INFO: Created TensorFlow Lite XNNPACK delegate for CPU.", "[end_to_end_sharded_fp16_webgpu:console:error] INFO: [compiled_model.cc:966] Flatbuffer model initialized directly from incoming litert model.", "[end_to_end_sharded_fp16_webgpu:console:log] I1205 11:26:23.284999 800080 delegate_kernel.cc:1020] Initializing WebGPU-based API from graph.", "[end_to_end_sharded_fp16_webgpu:console:error] INFO: [compiled_model.cc:966] Flatbuffer model initialized directly from incoming litert model.", "[end_to_end_sharded_fp16_webgpu:console:log] I1205 11:26:25.800999 800080 delegate_kernel.cc:1020] Initializing WebGPU-based API from graph.", "[end_to_end_sharded_fp16_webgpu:console:error] Aborted()", "[end_to_end_sharded_fp16_webgpu:console:error] INFO: [environment.cc:36] Creating LiteRT environment with options", "[end_to_end_sharded_fp16_webgpu:console:error] WARNING: [npu_registry.cc:34] NPU accelerator could not be loaded and registered: kLiteRtStatusErrorNotFound.", "[end_to_end_sharded_fp16_webgpu:console:error] INFO: [accelerator_registry.cc:54] RegisterAccelerator: ptr=0xd5398, name=GPU WebGPU", "[end_to_end_sharded_fp16_webgpu:console:error] INFO: [gpu_registry.cc:121] Statically linked GPU accelerator registered.", "[end_to_end_sharded_fp16_webgpu:console:error] INFO: [accelerator_registry.cc:54] RegisterAccelerator: ptr=0xd5570, name=CpuAccelerator", "[end_to_end_sharded_fp16_webgpu:console:error] INFO: [cpu_registry.cc:73] XNNPACK CPU accelerator registered.", "[end_to_end_sharded_fp16_webgpu:console:error] INFO: [gpu_environment.h:155] Created LiteRT GpuEnvironment.", "[end_to_end_sharded_fp16_webgpu:console:error] INFO: [environment.cc:47] Adding options to the existing LiteRT environment", "[end_to_end_sharded_fp16_webgpu:console:error] INFO: [environment.cc:36] Creating LiteRT environment with options", "[end_to_end_sharded_fp16_webgpu:console:error] WARNING: [npu_registry.cc:34] NPU accelerator could not be loaded and registered: kLiteRtStatusErrorNotFound.", "[end_to_end_sharded_fp16_webgpu:console:error] INFO: [accelerator_registry.cc:54] RegisterAccelerator: ptr=0xd5248, name=GPU WebGPU", "[end_to_end_sharded_fp16_webgpu:console:error] INFO: [gpu_registry.cc:121] Statically linked GPU accelerator registered.", "[end_to_end_sharded_fp16_webgpu:console:error] INFO: [accelerator_registry.cc:54] RegisterAccelerator: ptr=0xc689298, name=CpuAccelerator", "[end_to_end_sharded_fp16_webgpu:console:error] INFO: [cpu_registry.cc:73] XNNPACK CPU accelerator registered.", "[end_to_end_sharded_fp16_webgpu:console:error] INFO: [compiled_model.cc:966] Flatbuffer model initialized directly from incoming litert model.", "[end_to_end_sharded_fp16_webgpu:console:log] I1205 11:26:28.001999 800080 environment.cc:336] Subgroups Enabled!", "[end_to_end_sharded_fp16_webgpu:console:error] INFO: [delegate_webgpu.cc:370] Created a WebGPU environment with provided device.", "[end_to_end_sharded_fp16_webgpu:console:error] INFO: [environment.cc:47] Adding options to the existing LiteRT environment", "[end_to_end_sharded_fp16_webgpu:console:log] I1205 11:26:28.968999 800080 delegate_kernel.cc:1020] Initializing WebGPU-based API from graph.", "[end_to_end_sharded_fp16_webgpu:console:error] INFO: Created TensorFlow Lite XNNPACK delegate for CPU.", "[end_to_end_sharded_fp16_webgpu:console:error] INFO: [compiled_model.cc:966] Flatbuffer model initialized directly from incoming litert model.", "[end_to_end_sharded_fp16_webgpu:console:log] I1205 11:26:33.072000 800080 delegate_kernel.cc:1020] Initializing WebGPU-based API from graph.", "[end_to_end_sharded_fp16_webgpu:console:error] INFO: [compiled_model.cc:966] Flatbuffer model initialized directly from incoming litert model.", "[end_to_end_sharded_fp16_webgpu:console:log] I1205 11:26:36.088999 800080 delegate_kernel.cc:1020] Initializing WebGPU-based API from graph.", "[end_to_end_sharded_fp16_webgpu:console:error] INFO: [compiled_model.cc:966] Flatbuffer model initialized directly from incoming litert model.", "[end_to_end_sharded_fp16_webgpu:console:log] I1205 11:26:37.964000 800080 delegate_kernel.cc:1020] Initializing WebGPU-based API from graph.", "[end_to_end_sharded_fp16_webgpu:console:error] INFO: [compiled_model.cc:966] Flatbuffer model initialized directly from incoming litert model.", "[end_to_end_sharded_fp16_webgpu:console:log] I1205 11:26:40.195000 800080 delegate_kernel.cc:1020] Initializing WebGPU-based API from graph." ]}123version https://git-lfs.github.com/spec/v1oid sha256:0067401dad577e8172728073ba4ee20a94bf7f0de345b5485b905b21fb14f03asize 108506072123version https://git-lfs.github.com/spec/v1oid sha256:e8e7ea61d9178fb214db6e2ea133cd39cdf9dee48ee76e6b6fc52fd466de326csize 102962936123version https://git-lfs.github.com/spec/v1oid sha256:ccc1e8a1cdfd5dee2b5351bc000eda24c644695adb3ffd6701ade62458d9b168size 106171984123version https://git-lfs.github.com/spec/v1oid sha256:35e9a9784922675198b74e8f5b8aa65f6e4e59ebb536ae0bb0638acd8e16389asize 94319768123version https://git-lfs.github.com/spec/v1oid sha256:d4d25e6d4f110b95088469b35baf7600df488e3a167ebb9e2ad2d9dec14443edsize 20224292123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670{ "input_hw": [ 420, 560 ], "output_hw": [ 480, 640 ], "architecture": "4_shard_stage1", "eager_vs_pytorch": { "raw_coord": { "cos_sim": 1.0, "mae": 0.0, "max_abs": 1e-06 }, "encoder_feature": { "cos_sim": 1.0, "mae": 3e-06, "max_abs": 4.3e-05 }, "normal": { "cos_sim": 1.0, "mae": 0.0, "max_abs": 4e-06 }, "mask": { "cos_sim": 1.0, "mae": 0.0, "max_abs": 0.0 }, "metric_scale": { "cos_sim": 1.0, "mae": 0.0, "max_abs": 0.0 } }, "tiers": { "fp16": { "shards": { "s0_vit_a": { "shard": "s0", "tag": "s0_vit_a", "tier": "fp16", "file": "moge3_stage1_480x640_s0_vit_a_fp16.tflite", "mb": 207.3, "mib": 197.7, "saved_model_s": 3.41, "saved_model_pb_mb": 0.522, "convert_s": 19.61, "unique_ops": [ "ADD", "BATCH_MATMUL", "CONCATENATION", "CONV_2D", "DELEGATE", "DEQUANTIZE", "FULLY_CONNECTED", "GELU", "MEAN", "MUL", "RESHAPE", "RSQRT", "SOFTMAX", "SQUARED_DIFFERENCE", "STRIDED_SLICE", "SUB", "TRANSPOSE" ], "custom_ops": [], "inputs_io": [ { "name": "serving_default_image:0", "shape": [ 1, 420, 560, 3 ] } ], "outputs_io": [ { "name": "StatefulPartitionedCall:1", "shape": [ 1, 1201, 1024 ] }, { "name": "StatefulPartitionedCall:0", "shape": [ 1, 30, 40, 1024 ] } ] }, "s1_vit_b": { "shard": "s1", "tag": "s1_vit_b", "tier": "fp16", "file": "moge3_stage1_480x640_s1_vit_b_fp16.tflite", "mb": 203.63, "mib": 194.2, "saved_model_s": 2.71, "saved_model_pb_mb": 0.507, "convert_s": 21.18, "unique_ops": [ "ADD", "BATCH_MATMUL", "CONV_2D", "DELEGATE", "DEQUANTIZE", "FULLY_CONNECTED", "GELU", "MEAN", "MUL", "RESHAPE", "RSQRT", "SOFTMAX", "SQUARED_DIFFERENCE", "STRIDED_SLICE", "SUB", "TRANSPOSE" ], "custom_ops": [], "inputs_io": [ { "name": "serving_default_tokens:0", "shape": [ 1, 1201, 1024 ] }, { "name": "serving_default_proj_sum:0", "shape": [ 1, 30, 40, 1024 ] } ], "outputs_io": [ { "name": "StatefulPartitionedCall:1", "shape": [ 1, 1201, 1024 ] }, { "name": "StatefulPartitionedCall:0", "shape": [ 1, 30, 40, 1024 ] } ] }, "s2_vit_c": { "shard": "s2", "tag": "s2_vit_c", "tier": "fp16", "file": "moge3_stage1_480x640_s2_vit_c_fp16.tflite", "mb": 209.94, "mib": 200.22, "saved_model_s": 2.92, "saved_model_pb_mb": 0.542, "convert_s": 21.05, "unique_ops": [ "ADD", "BATCH_MATMUL", "CONCATENATION", "CONV_2D", "DELEGATE", "DEQUANTIZE", "EXP", "FULLY_CONNECTED", "GELU", "MEAN", "MUL", "RESHAPE", "RSQRT", "SOFTMAX", "SQUARED_DIFFERENCE", "STRIDED_SLICE", "SUB", "TRANSPOSE" ], "custom_ops": [], "inputs_io": [ { "name": "serving_default_tokens:0", "shape": [ 1, 1201, 1024 ] }, { "name": "serving_default_proj_sum:0", "shape": [ 1, 30, 40, 1024 ] } ], "outputs_io": [ { "name": "StatefulPartitionedCall:1", "shape": [ 1 ] }, { "name": "StatefulPartitionedCall:0", "shape": [ 1, 30, 40, 1026 ] } ] }, "s3_heads": { "shard": "s3", "tag": "s3_heads", "tier": "fp16", "file": "moge3_stage1_480x640_s3_heads_fp16.tflite", "mb": 77.43, "mib": 73.85, "saved_model_s": 3.72, "saved_model_pb_mb": 0.762, "convert_s": 13.51, "unique_ops": [ "ADD", "CONCATENATION", "CONV_2D", "DELEGATE", "DEPTH_TO_SPACE", "DEQUANTIZE", "LOGISTIC", "MUL", "RELU", "RESHAPE", "RESIZE_BILINEAR", "RSQRT", "STRIDED_SLICE" ], "custom_ops": [], "inputs_io": [ { "name": "serving_default_encoder_feature:0", "shape": [ 1, 30, 40, 1026 ] } ], "outputs_io": [ { "name": "StatefulPartitionedCall:1", "shape": [ 1, 480, 640, 3 ] }, { "name": "StatefulPartitionedCall:2", "shape": [ 1, 480, 640, 3 ] }, { "name": "StatefulPartitionedCall:0", "shape": [ 1, 480, 640 ] } ] } }, "total_mb": 698.3, "chain": { "tier": "fp16", "mean_cpu_ms": 18100.5, "per_shard_mean_cpu_ms": { "s0_vit_a": 4470.4, "s1_vit_b": 4164.7, "s2_vit_c": 4428.1, "s3_heads": 5037.3 }, "min_raw_coord_cos": 1.0, "per_frame": [ { "name": "frame_00.jpg", "raw_coord_cos": 1.0, "raw_coord_mae": 6e-05, "enc_cos": 1.0, "normal_cos": 1.0, "mask_mae": 0.0, "scale_rel_err": 0.00056 }, { "name": "frame_01.jpg", "raw_coord_cos": 1.0, "raw_coord_mae": 7e-05, "enc_cos": 1.0, "normal_cos": 1.0, "mask_mae": 0.0, "scale_rel_err": 0.00059 }, { "name": "frame_02.jpg", "raw_coord_cos": 1.0, "raw_coord_mae": 6e-05, "enc_cos": 1.0, "normal_cos": 1.0, "mask_mae": 0.0, "scale_rel_err": 0.00062 }, { "name": "frame_03.jpg", "raw_coord_cos": 1.0, "raw_coord_mae": 7e-05, "enc_cos": 1.0, "normal_cos": 1.0, "mask_mae": 0.0, "scale_rel_err": 0.00048 } ] } }, "int8": { "shards": { "s0_vit_a": { "shard": "s0", "tag": "s0_vit_a", "tier": "int8", "file": "moge3_stage1_480x640_s0_vit_a_int8.tflite", "mb": 108.51, "mib": 103.48, "saved_model_s": 2.92, "saved_model_pb_mb": 0.522, "convert_s": 30.86, "unique_ops": [ "ADD", "BATCH_MATMUL", "CONCATENATION", "CONV_2D", "DELEGATE", "FULLY_CONNECTED", "GELU", "MEAN", "MUL", "RESHAPE", "RSQRT", "SOFTMAX", "SQUARED_DIFFERENCE", "STRIDED_SLICE", "SUB", "TRANSPOSE" ], "custom_ops": [], "inputs_io": [ { "name": "serving_default_image:0", "shape": [ 1, 420, 560, 3 ] } ], "outputs_io": [ { "name": "StatefulPartitionedCall:1", "shape": [ 1, 1201, 1024 ] }, { "name": "StatefulPartitionedCall:0", "shape": [ 1, 30, 40, 1024 ] } ] }, "s1_vit_b": { "shard": "s1", "tag": "s1_vit_b", "tier": "int8", "file": "moge3_stage1_480x640_s1_vit_b_int8.tflite", "mb": 102.96, "mib": 98.19, "saved_model_s": 3.31, "saved_model_pb_mb": 0.507, "convert_s": 30.61, "unique_ops": [ "ADD", "BATCH_MATMUL", "CONV_2D", "DELEGATE", "FULLY_CONNECTED", "GELU", "MEAN", "MUL", "RESHAPE", "RSQRT", "SOFTMAX", "SQUARED_DIFFERENCE", "STRIDED_SLICE", "SUB", "TRANSPOSE" ], "custom_ops": [], "inputs_io": [ { "name": "serving_default_tokens:0", "shape": [ 1, 1201, 1024 ] }, { "name": "serving_default_proj_sum:0", "shape": [ 1, 30, 40, 1024 ] } ], "outputs_io": [ { "name": "StatefulPartitionedCall:1", "shape": [ 1, 1201, 1024 ] }, { "name": "StatefulPartitionedCall:0", "shape": [ 1, 30, 40, 1024 ] } ] }, "s2_vit_c": { "shard": "s2", "tag": "s2_vit_c", "tier": "int8", "file": "moge3_stage1_480x640_s2_vit_c_int8.tflite", "mb": 106.17, "mib": 101.25, "saved_model_s": 2.91, "saved_model_pb_mb": 0.542, "convert_s": 30.94, "unique_ops": [ "ADD", "BATCH_MATMUL", "CONCATENATION", "CONV_2D", "DELEGATE", "EXP", "FULLY_CONNECTED", "GELU", "MEAN", "MUL", "RESHAPE", "RSQRT", "SOFTMAX", "SQUARED_DIFFERENCE", "STRIDED_SLICE", "SUB", "TRANSPOSE" ], "custom_ops": [], "inputs_io": [ { "name": "serving_default_tokens:0", "shape": [ 1, 1201, 1024 ] }, { "name": "serving_default_proj_sum:0", "shape": [ 1, 30, 40, 1024 ] } ], "outputs_io": [ { "name": "StatefulPartitionedCall:1", "shape": [ 1 ] }, { "name": "StatefulPartitionedCall:0", "shape": [ 1, 30, 40, 1026 ] } ] }, "s3_heads": { "shard": "s3", "tag": "s3_heads", "tier": "int8", "file": "moge3_stage1_480x640_s3_heads_int8.tflite", "mb": 94.32, "mib": 89.95, "saved_model_s": 2.91, "saved_model_pb_mb": 0.762, "convert_s": 16.47, "unique_ops": [ "ADD", "CONCATENATION", "CONV_2D", "DELEGATE", "DEPTH_TO_SPACE", "LOGISTIC", "MUL", "RELU", "RESHAPE", "RESIZE_BILINEAR", "RSQRT", "STRIDED_SLICE" ], "custom_ops": [], "inputs_io": [ { "name": "serving_default_encoder_feature:0", "shape": [ 1, 30, 40, 1026 ] } ], "outputs_io": [ { "name": "StatefulPartitionedCall:1", "shape": [ 1, 480, 640, 3 ] }, { "name": "StatefulPartitionedCall:2", "shape": [ 1, 480, 640, 3 ] }, { "name": "StatefulPartitionedCall:0", "shape": [ 1, 480, 640 ] } ] } }, "total_mb": 411.96, "chain": { "tier": "int8", "mean_cpu_ms": 16653.4, "per_shard_mean_cpu_ms": { "s0_vit_a": 3600.7, "s1_vit_b": 4014.4, "s2_vit_c": 4085.2, "s3_heads": 4953.0 }, "min_raw_coord_cos": 0.999858, "per_frame": [ { "name": "frame_00.jpg", "raw_coord_cos": 0.999912, "raw_coord_mae": 0.00277, "enc_cos": 0.998327, "normal_cos": 0.999748, "mask_mae": 3e-05, "scale_rel_err": 0.01679 }, { "name": "frame_01.jpg", "raw_coord_cos": 0.999963, "raw_coord_mae": 0.00165, "enc_cos": 0.9985, "normal_cos": 0.999756, "mask_mae": 8e-05, "scale_rel_err": 0.0248 }, { "name": "frame_02.jpg", "raw_coord_cos": 0.999971, "raw_coord_mae": 0.00166, "enc_cos": 0.998521, "normal_cos": 0.999779, "mask_mae": 1e-05, "scale_rel_err": 0.02842 }, { "name": "frame_03.jpg", "raw_coord_cos": 0.999858, "raw_coord_mae": 0.00452, "enc_cos": 0.998202, "normal_cos": 0.999784, "mask_mae": 8e-05, "scale_rel_err": 0.00428 } ] } } }}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420{ "schema_version": "1.0.0", "repo_id": "1kaiser/solv3r-moge-depthpro2-webgpu", "base_resolve_url": "https://huggingface.co/1kaiser/solv3r-moge-depthpro2-webgpu/resolve/main", "skill_url": "https://huggingface.co/1kaiser/solv3r-moge-depthpro2-webgpu/resolve/main/skills/solv3r-moge-dp2-webgpu/SKILL.md", "total_bytes": 837893307, "total_mb": 837.89, "models": { "solv3r_encoder": { "hf_path": "onnx/solv3r_encoder_fp16.onnx", "url": "https://huggingface.co/1kaiser/solv3r-moge-depthpro2-webgpu/resolve/main/onnx/solv3r_encoder_fp16.onnx", "bytes": 172668838, "mb": 172.67, "sha256": "7f8645f9b431677e20281bb65b207a4be2ff7a9a646feea558adc317d4b34098", "runtime": "onnxruntime-web", "dtype": "fp16", "inputs": { "image": [ 1, 3, 378, 504 ] }, "outputs": { "patch_feats": [ 1, 972, 1024 ] } }, "solv3r_step": { "hf_path": "onnx/solv3r_step_fp16.onnx", "url": "https://huggingface.co/1kaiser/solv3r-moge-depthpro2-webgpu/resolve/main/onnx/solv3r_step_fp16.onnx", "bytes": 29857618, "mb": 29.86, "sha256": "d035e2dffc02e5f94155fbc0745212cbaa73280ff4d03402ee452fc50a36df0d", "runtime": "onnxruntime-web", "dtype": "fp16", "inputs": { "z": [ "S", 977, 1024 ], "x0": [ "S", 977, 1024 ] }, "outputs": { "z_next": [ "S", 977, 1024 ] } }, "solv3r_decoder": { "hf_path": "onnx/solv3r_decoder_fp16.onnx", "url": "https://huggingface.co/1kaiser/solv3r-moge-depthpro2-webgpu/resolve/main/onnx/solv3r_decoder_fp16.onnx", "bytes": 34312682, "mb": 34.31, "sha256": "8936314509d67c2643bd9e0aa11449cda33e0b29e998226a3227db84128be445", "runtime": "onnxruntime-web", "dtype": "fp16", "inputs": { "z_view": [ 1, 977, 1024 ] }, "outputs": { "depth": [ 1, 1, 378, 504 ], "depth_conf": [ 1, 1, 378, 504 ], "pose_enc": [ 1, 9 ] } }, "solv3r_tokens": { "hf_path": "onnx/solv3r_tokens.json", "url": "https://huggingface.co/1kaiser/solv3r-moge-depthpro2-webgpu/resolve/main/onnx/solv3r_tokens.json", "bytes": 101286, "mb": 0.1, "sha256": "dbca31fc77ffbd1f3ae1095310a3929e0258f8436c5e5491a9308d1512a0be3f", "runtime": "json", "dtype": "json", "inputs": {}, "outputs": {} }, "solv3r_ref_checksums": { "hf_path": "onnx/solv3r_ref_checksums.json", "url": "https://huggingface.co/1kaiser/solv3r-moge-depthpro2-webgpu/resolve/main/onnx/solv3r_ref_checksums.json", "bytes": 1908, "mb": 0.0, "sha256": "df69abe2d2f09cd875f9f2c7750a8bc7515c7cfa81aeffbbad6da6888e011bd8", "runtime": "json", "dtype": "json", "inputs": {}, "outputs": {} }, "model_manifest": { "hf_path": "onnx/model_manifest.json", "url": "https://huggingface.co/1kaiser/solv3r-moge-depthpro2-webgpu/resolve/main/onnx/model_manifest.json", "bytes": 1177, "mb": 0.0, "sha256": "cf7c360a2fa419fbe10d60fcfb21e6382e5fa06febae5d33f876dcf6cb0f0865", "runtime": "json", "dtype": "json", "inputs": {}, "outputs": {} }, "moge2_vits": { "hf_path": "onnx/moge2_vits_fp16.onnx", "url": "https://huggingface.co/1kaiser/solv3r-moge-depthpro2-webgpu/resolve/main/onnx/moge2_vits_fp16.onnx", "bytes": 72043894, "mb": 72.04, "sha256": "5a15d2d0d5cc3f55039b9003d2af877ab01dcfb9b810b2b47695fbce23e16ba9", "runtime": "onnxruntime-web", "dtype": "fp16", "inputs": { "image": [ 1, 3, 420, 560 ] }, "outputs": { "points": [ 1, 480, 640, 3 ], "normal": [ 1, 480, 640, 3 ], "mask": [ 1, 480, 640 ], "metric_scale": [ 1 ] } }, "depthpro2s_fov": { "hf_path": "onnx/depthpro2s_fov_fp16.onnx", "url": "https://huggingface.co/1kaiser/solv3r-moge-depthpro2-webgpu/resolve/main/onnx/depthpro2s_fov_fp16.onnx", "bytes": 47308805, "mb": 47.31, "sha256": "24e56977e6f5ce7a08733aded9a3c6031fdff4b0fae88ca4abf94f74b2f20e06", "runtime": "onnxruntime-web", "dtype": "fp16", "inputs": { "image": [ 1, 3, 288, 384 ] }, "outputs": { "fov_deg": [ 1, 2 ] } }, "depthpro2s_depth": { "hf_path": "onnx/depthpro2s_depth_fp16.onnx", "url": "https://huggingface.co/1kaiser/solv3r-moge-depthpro2-webgpu/resolve/main/onnx/depthpro2s_depth_fp16.onnx", "bytes": 49412047, "mb": 49.41, "sha256": "ab1264b54ab774a489de0bd2e52fe857e3ea1e155b14a3501a222681fadcafac", "runtime": "onnxruntime-web", "dtype": "fp16", "inputs": { "clip": [ "S", 3, 288, 384 ] }, "outputs": { "inverse_depth": [ "S", 1, 288, 384 ] } }, "moge3_s0": { "hf_path": "litert/moge3_480x640/moge3_stage1_480x640_s0_vit_a_int8.tflite", "url": "https://huggingface.co/1kaiser/solv3r-moge-depthpro2-webgpu/resolve/main/litert/moge3_480x640/moge3_stage1_480x640_s0_vit_a_int8.tflite", "bytes": 108506072, "mb": 108.51, "sha256": "0067401dad577e8172728073ba4ee20a94bf7f0de345b5485b905b21fb14f03a", "runtime": "@litertjs/core@2.6.0", "dtype": "weight_only_int8", "inputs": { "image": [ 1, 420, 560, 3 ] }, "outputs": { "tokens": [ 1, 1201, 1024 ], "proj_sum": [ 1, 30, 40, 1024 ] } }, "moge3_s1": { "hf_path": "litert/moge3_480x640/moge3_stage1_480x640_s1_vit_b_int8.tflite", "url": "https://huggingface.co/1kaiser/solv3r-moge-depthpro2-webgpu/resolve/main/litert/moge3_480x640/moge3_stage1_480x640_s1_vit_b_int8.tflite", "bytes": 102962936, "mb": 102.96, "sha256": "e8e7ea61d9178fb214db6e2ea133cd39cdf9dee48ee76e6b6fc52fd466de326c", "runtime": "@litertjs/core@2.6.0", "dtype": "weight_only_int8", "inputs": { "tokens": [ 1, 1201, 1024 ], "proj_sum": [ 1, 30, 40, 1024 ] }, "outputs": { "tokens": [ 1, 1201, 1024 ], "proj_sum": [ 1, 30, 40, 1024 ] } }, "moge3_s2": { "hf_path": "litert/moge3_480x640/moge3_stage1_480x640_s2_vit_c_int8.tflite", "url": "https://huggingface.co/1kaiser/solv3r-moge-depthpro2-webgpu/resolve/main/litert/moge3_480x640/moge3_stage1_480x640_s2_vit_c_int8.tflite", "bytes": 106171984, "mb": 106.17, "sha256": "ccc1e8a1cdfd5dee2b5351bc000eda24c644695adb3ffd6701ade62458d9b168", "runtime": "@litertjs/core@2.6.0", "dtype": "weight_only_int8", "inputs": { "tokens": [ 1, 1201, 1024 ], "proj_sum": [ 1, 30, 40, 1024 ] }, "outputs": { "encoder_feature": [ 1, 30, 40, 1026 ], "metric_scale": [ 1 ] } }, "moge3_s3": { "hf_path": "litert/moge3_480x640/moge3_stage1_480x640_s3_heads_int8.tflite", "url": "https://huggingface.co/1kaiser/solv3r-moge-depthpro2-webgpu/resolve/main/litert/moge3_480x640/moge3_stage1_480x640_s3_heads_int8.tflite", "bytes": 94319768, "mb": 94.32, "sha256": "35e9a9784922675198b74e8f5b8aa65f6e4e59ebb536ae0bb0638acd8e16389a", "runtime": "@litertjs/core@2.6.0", "dtype": "weight_only_int8", "inputs": { "encoder_feature": [ 1, 30, 40, 1026 ] }, "outputs": { "raw_coord": [ 1, 480, 640, 3 ], "normal": [ 1, 480, 640, 3 ], "mask": [ 1, 480, 640 ] } }, "moge3_stage2": { "hf_path": "litert/moge3_480x640/moge3_stage2_distilled_480x640_fp16.tflite", "url": "https://huggingface.co/1kaiser/solv3r-moge-depthpro2-webgpu/resolve/main/litert/moge3_480x640/moge3_stage2_distilled_480x640_fp16.tflite", "bytes": 20224292, "mb": 20.22, "sha256": "d4d25e6d4f110b95088469b35baf7600df488e3a167ebb9e2ad2d9dec14443ed", "runtime": "@litertjs/core@2.6.0", "dtype": "fp16", "inputs": { "rgb": [ 1, 480, 640, 3 ], "raw_coord": [ 1, 480, 640, 3 ], "normal": [ 1, 480, 640, 3 ], "encoder_feature": [ 1, 30, 40, 1026 ] }, "outputs": { "delta_logz": [ 1, 480, 640, 1 ] } } }, "artifacts": [ { "hf_path": "litert/moge3_480x640/stage1_sharded_export_report.json", "bytes": 15939, "sha256": "878d0747464b28e28205aea8c1438b89eba7cd95034e0ab76a262037014c7a36" }, { "hf_path": "litert/moge3_480x640/litertjs_webgpu_report.json", "bytes": 24554, "sha256": "020b3637c2e0301445193997489b9ecc36a03514a7cc175df34ae8f14dbf904f" }, { "hf_path": "skills/solv3r-moge-dp2-webgpu/SKILL.md", "bytes": 7794, "sha256": "8165cf463f4c9eb89ed4a890dac070da0e8a6aae798893e89b032e76848f6ec1" }, { "hf_path": "LICENSE_APPLE_ML_RESEARCH.txt", "bytes": 5815, "sha256": "343c50837f76e2536440b8fd0faf5038cf75e883b49334b79a2f826f55510c5b" }, { "hf_path": "LICENSE_APPLE_CODE.txt", "bytes": 2660, "sha256": "aa9b979cc918cace3726031bb32dcde0f1d4666db65dbed1bbe19a7ac62d3f02" } ]}123version https://git-lfs.github.com/spec/v1oid sha256:ab1264b54ab774a489de0bd2e52fe857e3ea1e155b14a3501a222681fadcafacsize 49412047123version https://git-lfs.github.com/spec/v1oid sha256:24e56977e6f5ce7a08733aded9a3c6031fdff4b0fae88ca4abf94f74b2f20e06size 473088051234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556{ "moge2": { "model_id": "Ruicheng/moge-2-vits-normal", "in_H": 420, "in_W": 560, "out_H": 480, "out_W": 640, "num_tokens": 1200, "num_frames": 4, "onnx_mb": 72.04, "points_cos_sim_exact": 1.0, "normal_cos_sim_exact": 1.0, "mask_mae_exact": 8e-06, "scale_rel_err_exact": 0.001237, "points_cos_sim_bilinear": 0.999999, "normal_cos_sim_bilinear": 0.999986, "ref_fov0_x_deg": 50.005, "ref_fov0_y_deg": 38.557, "ref_metric_scales": [ 2.3834, 2.5352, 2.7108, 3.0116 ], "ort_metric_scales": [ 2.3812, 2.5409, 2.7133, 3.0054 ] }, "solv3r": { "H": 378, "W": 504, "num_solver_calls": 16, "encoder_mb": 172.67, "step_mb": 29.86, "decoder_mb": 34.31, "depth_cos_sim": 1.0, "world_points_cos_sim": 1.0, "pose_enc_max_abs_err": 0.000292 }, "total_onnx_mb": 405.6, "depthpro2s": { "H": 288, "W": 384, "num_frames": 4, "fov_mb": 47.31, "depth_mb": 49.41, "inv_depth_cos_sim": 1.0, "fov_max_err_deg": 0.00285, "f_px_ort": 632.95, "f_px_ref": 632.29, "f_px_abs_err": 0.657 }}123version https://git-lfs.github.com/spec/v1oid sha256:5a15d2d0d5cc3f55039b9003d2af877ab01dcfb9b810b2b47695fbce23e16ba9size 72043894123version https://git-lfs.github.com/spec/v1oid sha256:8936314509d67c2643bd9e0aa11449cda33e0b29e998226a3227db84128be445size 34312682123version https://git-lfs.github.com/spec/v1oid sha256:7f8645f9b431677e20281bb65b207a4be2ff7a9a646feea558adc317d4b34098size 172668838123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111{ "num_solver_calls": 16, "solver_call_deltas": [ 0.7628, 0.45285, 0.29175, 0.2028, 0.15723, 0.13001, 0.10939, 0.08693, 0.06908, 0.05579, 0.04581, 0.03753, 0.03105, 0.02611, 0.02228, 0.01937 ], "views": [ { "view": 0, "pose_enc": [ 0.000224, -0.000886, -0.004209, -0.000123, 0.002271, -0.000629, 0.998505, 0.572791, 0.753557 ], "depth_median": 1.501551, "depth_mean": 1.492618, "conf_median": 16.677986, "unproj_center_gl": [ 0.005681, 0.00176, -1.496845 ] }, { "view": 1, "pose_enc": [ -0.245543, -0.006207, 0.010973, -0.022902, 0.030897, 0.014632, 0.998915, 0.561471, 0.739904 ], "depth_median": 1.484691, "depth_mean": 1.478277, "conf_median": 17.940094, "unproj_center_gl": [ -0.1595, -0.060984, -1.48749 ] }, { "view": 2, "pose_enc": [ -0.731144, -0.000123, 0.122815, -0.007613, 0.138785, 0.014125, 0.9899, 0.555371, 0.733256 ], "depth_median": 1.438292, "depth_mean": 1.480269, "conf_median": 16.238605, "unproj_center_gl": [ -0.335414, -0.026411, -1.531721 ] }, { "view": 3, "pose_enc": [ -1.252436, -0.023145, 0.319287, -0.018043, 0.421052, 0.049143, 0.905284, 0.564691, 0.745284 ], "depth_median": 1.576815, "depth_mean": 1.67955, "conf_median": 11.587303, "unproj_center_gl": [ -0.023896, -0.09945, -1.387001 ] } ]}123version https://git-lfs.github.com/spec/v1oid sha256:d035e2dffc02e5f94155fbc0745212cbaa73280ff4d03402ee452fc50a36df0dsize 29857618123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125---name: solv3r-moge-dp2-webgpudescription: >- Run client-side multi-view metric 3D reconstruction in a WebGPU browser tab combining Solv3R camera/point-map solver, MoGe-2 ViT-S normals, MoGe-3 sharded hybrid LiteRT WebGPU, and Apple Depth Pro 2 S, loading weights directly from Hugging Face Hub with Cache API storage and exposing window.SOLV3R_AGENT_API for AI agent automation.license: >- See LICENSE_NOTICES.md (MoGe-2 and MoGe-3 weights are MIT; Solv3R code is Apache-2.0 with Non-Commercial Research weights; Apple Depth Pro 2 S is under the Apple Machine Learning Research Model License Agreement).compatibility: >- Requires Chromium 113+ with WebGPU over HTTPS or http://localhost, COOP same-origin and COEP credentialless response headers, and at least 2 GB free RAM/VRAM.metadata: standard: "agentskills.io" version: "1.0.0" author: "1kaiser" hf-repo: "1kaiser/solv3r-moge-depthpro2-webgpu" runtimes: "onnxruntime-web, @litertjs/core@2.6.0" models: "solv3r, moge2, moge3-hybrid-litert, depthpro2s"---
# Solv3R + MoGe-2 + MoGe-3 + Apple Depth Pro 2 S (Browser WebGPU)
Automates 4-view client-side metric 3D reconstruction in a WebGPU browser app using`onnxruntime-web` (main thread) and `@litertjs/core@2.6.0` inside a dedicated ES-module Web Worker.All weights (~830 MB Hybrid Core) can be fetched from local `./models/` or directly from Hugging Face Hubwith `Cache API` persistence (`solv3r-moge-dp2-models-v1`).
## 1. Hugging Face Hub Model Repository & Endpoints
- **Model Repo:** `https://huggingface.co/1kaiser/solv3r-moge-depthpro2-webgpu`- **Canonical Manifest:** `https://huggingface.co/1kaiser/solv3r-moge-depthpro2-webgpu/resolve/main/manifest.json`- **Downloadable Skill File (local server):** `/skills/solv3r-moge-dp2-webgpu/SKILL.md` or `/SKILL.md?download=1`
| Pipeline Component | Runtime | HF Repo Path | Size | Role || :--- | :--- | :--- | :---: | :--- || Solv3R Encoder | `onnxruntime-web` FP16 | `onnx/solv3r_encoder_fp16.onnx` | ~173 MB | 4-view patch tokens (`378x504`) || Solv3R Loop Step | `onnxruntime-web` FP16 | `onnx/solv3r_step_fp16.onnx` | ~30 MB | 16 iterative pose/geometry calls || Solv3R Decoder | `onnxruntime-web` FP16 | `onnx/solv3r_decoder_fp16.onnx` | ~34 MB | Pinhole poses + base depth || MoGe-2 ViT-S | `onnxruntime-web` FP16 | `onnx/moge2_vits_fp16.onnx` | ~72 MB | Monocular coords, normals, metric scale || Depth Pro 2 S (FOV) | `onnxruntime-web` FP16 | `onnx/depthpro2s_fov_fp16.onnx` | ~47 MB | Per-view vertical FOV prediction || Depth Pro 2 S (Depth) | `onnxruntime-web` FP16 | `onnx/depthpro2s_depth_fp16.onnx` | ~49 MB | 4-view inverse metric depth (`288x384`) || MoGe-3 Stage 1 (4 shards) | `@litertjs/core@2.6.0` Worker INT8 | `litert/moge3_480x640/moge3_stage1_480x640_s{0..3}_*.tflite` | ~412 MB | DINOv2-L + ConvStack (`420x560 -> 480x640`) || MoGe-3 Distilled S2 V2 | `@litertjs/core@2.6.0` Worker FP16 | `litert/moge3_480x640/moge3_stage2_distilled_480x640_fp16.tflite` | ~20 MB | Boundary/depth residual (`delta_logz`) |
## 2. URL Query Automation Parameters
Open `index.html` over `http://localhost` or `https://` with any combination of query parameters:
- `autorun=1`: Automatically starts the pipeline on page load using the 4 bundled sample keyframes (or uploaded files).- `mode=all|both|moge2|moge3`: - `all`: Runs **Solv3R + MoGe-2 + MoGe-3 + Apple Depth Pro 2 S** (default in UI). - `both`: Runs **Solv3R + MoGe-2 + Apple Depth Pro 2 S** (`onnxruntime-web` only). - `moge2`: Runs **Solv3R + MoGe-2** only. - `moge3`: Runs **Solv3R + MoGe-3** only.- `modelSource=local|hf`: Select local `./models/` or Hugging Face Hub `resolve/main/`.- `hfRepo=<owner/repo>`: Override Hugging Face repository (default `1kaiser/solv3r-moge-depthpro2-webgpu`).
Example:
```texthttp://127.0.0.1:8899/index.html?autorun=1&mode=all&modelSource=hf&hfRepo=1kaiser/solv3r-moge-depthpro2-webgpu```
## 3. Programmatic Agent API (`window.SOLV3R_AGENT_API`)
Once `index.html` loads, AI browser agents can inspect and drive every stage programmatically via `window.SOLV3R_AGENT_API`:
```javascript// Static propertieswindow.SOLV3R_AGENT_API.version // "1.1.0"window.SOLV3R_AGENT_API.skillUrl // "./skills/solv3r-moge-dp2-webgpu/SKILL.md"
// Async & sync methodsawait window.SOLV3R_AGENT_API.getCapabilities();// -> { webgpu, crossOriginIsolated, adapter, modelSource, hfRepo, activeMode, viewMode }
window.SOLV3R_AGENT_API.setModelSource("hf", "1kaiser/solv3r-moge-depthpro2-webgpu");const report = await window.SOLV3R_AGENT_API.run({ mode: "all" });window.SOLV3R_AGENT_API.setViewMode("moge3"); // "moge"|"colmapMoge"|"mogeNormals"|"moge3"|"colmapMoge3"|"moge3Normals"|"dp2"|"solv"const current = window.SOLV3R_AGENT_API.getReport();const plyBytes = window.SOLV3R_AGENT_API.exportPointCloudPly("moge3"); // Uint8Array binary PLYawait window.SOLV3R_AGENT_API.clearModelCache();```
### Playwright / DevTools MCP Automation Pattern
```javascriptawait page.goto("http://127.0.0.1:8899/index.html?autorun=1&mode=all&modelSource=hf", { waitUntil: "load" });await page.waitForFunction( () => window.__prototypeDone === true || Boolean(window.__prototypeError), undefined, { timeout: 420000 });const err = await page.evaluate(() => window.__prototypeError);if (err) throw new Error(err);const report = await page.evaluate(() => window.SOLV3R_AGENT_API.getReport());```
## 4. Dedicated MoGe-3 Web Worker & Crash-Resilient Execution
MoGe-3 executes inside `./workers/moge3_litert_worker.js` (`new Worker(..., { type: "module" })`) rather than the UI thread:
1. **Sequential Download & Compile:** Shards (`s0`, `s1`, `s2`, `s3`, `stage2`) are fetched one at a time via `fetchCachedModelBytes()` (stored in `Cache API` store `solv3r-moge-dp2-models-v1`) so peak JS heap overhead stays bounded.2. **Co-Resident Mode (`zeroCpuRoundtrip: true`):** All 5 `.tflite` models stay compiled simultaneously on WebGPU; intermediate tensors pass directly as GPU `Tensor` handles, deleting consumed tensors eagerly after each shard.3. **Automatic Streaming Respawn on Emscripten `Aborted()`:** If a lower-VRAM device or browser WebGPU heap aborts during 5-model co-resident compilation, the main thread catches the worker error, calls `worker.terminate()`, respawns a fresh Worker instance in `executionMode: "streaming"` (compile -> run -> transfer readback -> delete per shard), and completes reconstruction without crashing the page.
## 5. Verification Gates & Report JSON Schema
Validate every run with the following checks on `report` (`window.__webgpuReport`):
- **Execution Provider:** `report.all_webgpu === true` (and `report.moge3.executionMode` is `"coresident"` or `"streaming"` when `mode` includes `moge3`).- **WebGPU vs. CPU Parity:** `pose_enc_max_abs_err < 0.05` and `depth_med_max_rel_err < 0.05`.- **Multi-View Pose & Alignment:** On the bundled 4-view sample (`isDefaultSample === true`), `solv3r_vs_colmap.ate_pct_span < 3.5` and `stageC_median_cm < stageA_median_cm` (`stageC_median_cm < 12.0`).- **Canvas & Runtime:** WebGL canvas pixel `stddev > 15` and zero uncaught `pageerror` events.
## 6. Upstream License Notices (Non-Commercial Research)
Before redistributing or deploying derived artifacts, inspect `LICENSE_NOTICES.md`, `LICENSE_APPLE_ML_RESEARCH.txt`, and `LICENSE_APPLE_CODE.txt`:
- **MoGe-2 & MoGe-3:** MIT License.- **Solv3R:** Code under Apache License 2.0; pretrained weights built on DVLT/NVIDIA License (non-commercial research and evaluation).- **Apple Depth Pro 2 S:** Licensed under the **Apple Machine Learning Research Model License Agreement** (`Research Purposes` only; commercial exploitation prohibited). Any redistribution must retain the Apple copyright/agreement text and disclose modifications.LICENSE_APPLE_CODE.txtAdded+47
LICENSE_APPLE_ML_RESEARCH.txtAdded+88
LICENSE_NOTICES.mdAdded+18
README.mdAdded+55
litert/moge3_480x640/litertjs_webgpu_report.jsonAdded+630
litert/moge3_480x640/moge3_stage1_480x640_s0_vit_a_int8.tfliteAdded+3
litert/moge3_480x640/moge3_stage1_480x640_s1_vit_b_int8.tfliteAdded+3
litert/moge3_480x640/moge3_stage1_480x640_s2_vit_c_int8.tfliteAdded+3
litert/moge3_480x640/moge3_stage1_480x640_s3_heads_int8.tfliteAdded+3
litert/moge3_480x640/moge3_stage2_distilled_480x640_fp16.tfliteAdded+3
litert/moge3_480x640/stage1_sharded_export_report.jsonAdded+670
manifest.jsonAdded+420
onnx/depthpro2s_depth_fp16.onnxAdded+3
onnx/depthpro2s_fov_fp16.onnxAdded+3
onnx/model_manifest.jsonAdded+56
onnx/moge2_vits_fp16.onnxAdded+3
onnx/solv3r_decoder_fp16.onnxAdded+3
onnx/solv3r_encoder_fp16.onnxAdded+3
onnx/solv3r_ref_checksums.jsonAdded+111
onnx/solv3r_step_fp16.onnxAdded+3
onnx/solv3r_tokens.jsonAdded
skills/solv3r-moge-dp2-webgpu/SKILL.mdAdded+125