Model card, TensorRT scoping note, LFS pattern for *.engine
Browse files- .gitattributes +1 -0
- README.md +52 -1
- trt/sm89-trt10.16.1.11/README.md +32 -0
.gitattributes
CHANGED
|
@@ -54,3 +54,4 @@ TensorrtExecutionProvider_TRTKernel_graph_main_graph_5568743967798033812_0_0_fp1
|
|
| 54 |
TensorrtExecutionProvider_TRTKernel_graph_main_graph_5582192150921410254_0_0_fp16_sm89.engine filter=lfs diff=lfs merge=lfs -text
|
| 55 |
TensorrtExecutionProvider_TRTKernel_graph_main_graph_7743362257815836355_0_0_fp16_sm89.engine filter=lfs diff=lfs merge=lfs -text
|
| 56 |
TensorrtExecutionProvider_TRTKernel_graph_main_graph_9860839200516773076_0_0_fp16_sm89.engine filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 54 |
TensorrtExecutionProvider_TRTKernel_graph_main_graph_5582192150921410254_0_0_fp16_sm89.engine filter=lfs diff=lfs merge=lfs -text
|
| 55 |
TensorrtExecutionProvider_TRTKernel_graph_main_graph_7743362257815836355_0_0_fp16_sm89.engine filter=lfs diff=lfs merge=lfs -text
|
| 56 |
TensorrtExecutionProvider_TRTKernel_graph_main_graph_9860839200516773076_0_0_fp16_sm89.engine filter=lfs diff=lfs merge=lfs -text
|
| 57 |
+
*.engine filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
|
@@ -1,3 +1,54 @@
|
|
| 1 |
---
|
| 2 |
-
license:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
base_model:
|
| 4 |
+
- depth-anything/DA3-BASE
|
| 5 |
+
- depth-anything/DA3-SMALL
|
| 6 |
+
tags:
|
| 7 |
+
- depth-estimation
|
| 8 |
+
- onnx
|
| 9 |
+
- stereoscopic
|
| 10 |
---
|
| 11 |
+
|
| 12 |
+
# SyLC 3D Player — depth models
|
| 13 |
+
|
| 14 |
+
ONNX exports of **Depth Anything V3** used by
|
| 15 |
+
[SyLC 3D Player](https://github.com/Symphoenix/SyLC) for real-time 2D→3D
|
| 16 |
+
stereoscopic conversion, plus a pre-built TensorRT engine cache.
|
| 17 |
+
|
| 18 |
+
## `onnx/` — the models (required)
|
| 19 |
+
|
| 20 |
+
Local re-exports at fixed inference grids, produced by `tools_dev/da3_to_onnx.py`
|
| 21 |
+
in the SyLC repository. Fixed shapes rather than dynamic axes: the dynamic
|
| 22 |
+
export's position-embedding `Resize` has no DirectML kernel and falls back to
|
| 23 |
+
the CPU, costing 342 ms per depth map against 55 ms here.
|
| 24 |
+
|
| 25 |
+
| Directory | Files | Size | Notes |
|
| 26 |
+
|---|---|---|---|
|
| 27 |
+
| `onnx/small/` | 10 | 960 MB | DA3-SMALL. Makes all three SyLC presets work. |
|
| 28 |
+
| `onnx/base/` | 10 | 3.67 GB | DA3-BASE. The quality upgrade. |
|
| 29 |
+
|
| 30 |
+
Each family holds the two square grids (756, 518) plus eight adaptive
|
| 31 |
+
rectangles (756×406/378/350/322, 518×280/266/238/210) selected automatically
|
| 32 |
+
for letterboxed or already-cropped wide sources.
|
| 33 |
+
|
| 34 |
+
The player downloads these itself — **2D→3D menu → Depth models…** — verifying each
|
| 35 |
+
file against a SHA-256 manifest. Manual download into `models/` works too.
|
| 36 |
+
|
| 37 |
+
## `trt/` — pre-built TensorRT engines (optional, RTX 40-series only)
|
| 38 |
+
|
| 39 |
+
See `trt/sm89-trt10.16.1.11/README.md`. Read it before downloading 3.1 GB you
|
| 40 |
+
may not be able to use.
|
| 41 |
+
|
| 42 |
+
## Licence and attribution
|
| 43 |
+
|
| 44 |
+
These are derivative exports of the Depth Anything V3 **Small** and **Base**
|
| 45 |
+
checkpoints, both **Apache-2.0**:
|
| 46 |
+
|
| 47 |
+
- https://huggingface.co/depth-anything/DA3-SMALL
|
| 48 |
+
- https://huggingface.co/depth-anything/DA3-BASE
|
| 49 |
+
|
| 50 |
+
Copyright © the Depth Anything V3 authors. Licence text:
|
| 51 |
+
https://www.apache.org/licenses/LICENSE-2.0
|
| 52 |
+
|
| 53 |
+
The **Large** and **Giant** DA3 variants are CC-BY-NC-4.0 and are **never**
|
| 54 |
+
exported, published or redistributed here.
|
trt/sm89-trt10.16.1.11/README.md
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Pre-built TensorRT engines — sm89 / TensorRT 10.16.1.11
|
| 2 |
+
|
| 3 |
+
**Read this before downloading 3.1 GB.**
|
| 4 |
+
|
| 5 |
+
TensorRT engines are not portable. These were built for:
|
| 6 |
+
|
| 7 |
+
- **Compute capability sm89** — Ada Lovelace, i.e. GeForce RTX 40-series.
|
| 8 |
+
A 30-series (sm86), 50-series (sm120), AMD or Intel GPU cannot load them.
|
| 9 |
+
- **TensorRT 10.16.1.11**, against the ONNX Runtime build that
|
| 10 |
+
`tools_dev/setup_tensorrt.py` fetches. A different TensorRT version rejects
|
| 11 |
+
them.
|
| 12 |
+
|
| 13 |
+
If any of that does not match your machine, ignore this directory: TensorRT will
|
| 14 |
+
build its own engines, which is the normal path and works everywhere.
|
| 15 |
+
|
| 16 |
+
## What they save
|
| 17 |
+
|
| 18 |
+
21 engines covering every graph a SyLC depth preset can open. Compiling them
|
| 19 |
+
locally costs roughly 200 seconds each — about **70 minutes** from a cold cache.
|
| 20 |
+
|
| 21 |
+
## They do not skip verification
|
| 22 |
+
|
| 23 |
+
SyLC still runs its own local engine probe and only writes the `.trt_verified`
|
| 24 |
+
marker after a real engine build plus an inference that passes a near/far
|
| 25 |
+
polarity gate **on your machine**. These engines make that probe fast; they are
|
| 26 |
+
never taken on trust. Playback never gambles on an unverified runtime.
|
| 27 |
+
|
| 28 |
+
## Use
|
| 29 |
+
|
| 30 |
+
```
|
| 31 |
+
python tools_dev/setup_tensorrt.py --fetch-engines --engine-probe
|
| 32 |
+
```
|