|
Download code/tt_depthpro2/licenses/NOTICE.md from changh95/DepthPro2: direct link, hf CLI and curl.
- Browser
- Download file 4.81 kB
-
https://huggingface.co/changh95/DepthPro2/resolve/main/code/tt_depthpro2/licenses/NOTICE.md
- Command line
-
hf download hf://changh95/DepthPro2/code/tt_depthpro2/licenses/NOTICE.md
-
curl -L -o NOTICE.md https://huggingface.co/changh95/DepthPro2/resolve/main/code/tt_depthpro2/licenses/NOTICE.md
4.81 kB
| # Licences and notices of DepthPro2 (changh95/DepthPro2) | |
| **Apple Machine Learning Research Model is licensed under the Apple Machine Learning Research Model License Agreement.** | |
| ## The weights (not in this package) | |
| The package runs Apple's Depth Pro 2 weights, which it does not contain or redistribute: `tt serve` / `tt-model serve` | |
| (or `DepthPro2.from_pretrained`) downloads them from Apple's Hugging Face repositories at these commits: | |
| | repo | commit | what | | |
| | --- | --- | --- | | |
| | [apple/DepthPro2-focal](https://huggingface.co/apple/DepthPro2-focal) | `622659d44a2002cf9ae4333f2569afa938290d9a` | the focal-length (FOV) estimator, shared by every size | | |
| | [apple/DepthPro2-S](https://huggingface.co/apple/DepthPro2-S) | `903a1c1ade918831d138adcc4aedbcc8f4da0078` | Depth Pro 2 S | | |
| | [apple/DepthPro2-B](https://huggingface.co/apple/DepthPro2-B) | `85e67fdfb7f5b36a6f6c4495e6789d331b1d8a04` | Depth Pro 2 B | | |
| | [apple/DepthPro2-L](https://huggingface.co/apple/DepthPro2-L) | `849dc5461267e0bc006ec63ab46920ea1ed98702` | Depth Pro 2 L | | |
| | [apple/DepthPro2-H](https://huggingface.co/apple/DepthPro2-H) | `68426c789f75a7c760273e857222625b4fe69576` | Depth Pro 2 H+ | | |
| They are licensed by Apple under the Apple Machine Learning Research Model License Agreement, a copy of which is | |
| [`APPLE_MLR_MODEL_LICENSE.txt`](APPLE_MLR_MODEL_LICENSE.txt) (identical to the `LICENSE` file of each repository | |
| above). Its terms include: | |
| - **Research purposes only**: use, modification, distribution and the creation of model derivatives are licensed | |
| exclusively for non-commercial scientific research and academic development; not for any commercial | |
| exploitation, product development or use in a commercial product or service. Model derivatives are limited to | |
| research purposes as well. | |
| - Redistribution of the model or of model derivatives must include a copy of the agreement and the attribution | |
| notice above; model derivatives must be identified as such, with their modifications disclosed. | |
| - Apple's name, trademarks, service marks or logos may not be used to endorse or promote model derivatives. | |
| By downloading and running the weights through this package you accept that agreement with Apple. Read it in full | |
| before use. | |
| ## This package: a model derivative, not an Apple product | |
| This package is a port of Depth Pro 2 to Tenstorrent hardware by a third party. It is **not made, affiliated with, | |
| endorsed or supported by Apple**. As a model derivative it is identified as such, with these modifications: | |
| - **Inference code re-implemented**: the network (the DINOv3 ViT encoder with its cross-frame blocks, the DPT | |
| decoder and head, the focal-length estimator) and the pre- and post-processing are written anew in this package | |
| from the published architecture. The video streaming logic (`streaming.py`) follows the structure of Apple's | |
| `streaming.py` from [apple-aiml-research/ml-depth-pro-2](https://github.com/apple-aiml-research/ml-depth-pro-2) | |
| (Copyright (C) 2026 Apple Inc. All Rights Reserved.), used under Apple's software licence, a copy of which is | |
| [`APPLE_SOFTWARE_LICENSE.txt`](APPLE_SOFTWARE_LICENSE.txt). The float32 CPU version (`reference/model.py`) | |
| reproduces Apple's float32 outputs to a relative error of about 1e-5. | |
| - **Precision and kernels**: on the device the network runs with bfloat16 weights and activations (float32 | |
| accumulation), in tt-nn operations and custom device kernels ("megakernels") written for the Tenstorrent Blackhole | |
| p150, so its outputs differ slightly from Apple's float32 / bfloat16 GPU outputs (the measured agreement is on the | |
| model card). | |
| - **Serving changes**: inputs are resized to a fixed set of resolutions compiled when the server starts (unless they | |
| already have one of those sizes), and the outputs are resized back; video runs as clips of a fixed length. | |
| - The weights themselves are **not modified**: they are loaded as published and converted to the device's formats in | |
| memory at start-up. | |
| ## Other parts | |
| - Port, server, scripts and tests (`code/`, except as noted): Apache-2.0. | |
| - `streaming.py`: follows the structure of Apple's `streaming.py` (ml-depth-pro-2, Copyright (C) 2026 Apple Inc.), | |
| used under Apple's software licence ([`APPLE_SOFTWARE_LICENSE.txt`](APPLE_SOFTWARE_LICENSE.txt), the `LICENSE` | |
| file of that repository). | |
| - `ttaw/`: Apache-2.0 (shared helpers of the same author, vendored). | |
| - The tt-metal patches (`patches/` of the repository): Apache-2.0, as tt-metal. | |
| - Apart from the streaming structure above, the official Depth Pro 2 code (apple-aiml-research/ml-depth-pro-2) is | |
| not included; it was used, on a CPU, to produce reference outputs for testing. | |
| - Sample image `samples/kropa_street/image.jpg`: CC0 1.0 (public domain dedication) by Ajznponar on Wikimedia | |
| Commons; see its `PROVENANCE.md`. | |