Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -9,7 +9,7 @@ tags:
|
|
| 9 |
base_model:
|
| 10 |
- ustc-community/dfine-small-coco
|
| 11 |
---
|
| 12 |
-
# dfine_s_coco — ExecuTorch
|
| 13 |
|
| 14 |
- **Source**: ustc-community/dfine-small-coco
|
| 15 |
- **License**: Apache-2.0
|
|
@@ -20,14 +20,14 @@ base_model:
|
|
| 20 |
|
| 21 |
All variants take and return fp32 tensors — swap the `.pte` file, keep your app code.
|
| 22 |
|
| 23 |
-
|
|
| 24 |
|-----------|------|-----------|------------------------------------|------------------|
|
| 25 |
| fp32 | `dfine_s_coco_xnnpack_fp32.pte` | 41.5 | 1.000000 | 54.0 |
|
| 26 |
|
| 27 |
\*Mac arm64, single process, median of 10 — a reference point for relative cost
|
| 28 |
only, not a device number (torch eager fp32 on the same machine: 138.0 ms).
|
| 29 |
|
| 30 |
-
###
|
| 31 |
|
| 32 |
- **fp16 is not shipped**: worst-output corr 0.223 against fp32 eager, below the 0.995 bar for this precision. The file converts and runs; the numbers do not hold up, so it is left out rather than shipped with a warning.
|
| 33 |
|
|
@@ -45,5 +45,5 @@ XNNPACK delegate coverage (fp32): 77.5% (1391/1794 ops); ops left on the portabl
|
|
| 45 |
|
| 46 |
## Conversion
|
| 47 |
|
| 48 |
-
torch.export -> to_edge_transform_and_lower(
|
| 49 |
(conversion scripts: [executorch-models](https://github.com/john-rocky/executorch-models))
|
|
|
|
| 9 |
base_model:
|
| 10 |
- ustc-community/dfine-small-coco
|
| 11 |
---
|
| 12 |
+
# dfine_s_coco — ExecuTorch
|
| 13 |
|
| 14 |
- **Source**: ustc-community/dfine-small-coco
|
| 15 |
- **License**: Apache-2.0
|
|
|
|
| 20 |
|
| 21 |
All variants take and return fp32 tensors — swap the `.pte` file, keep your app code.
|
| 22 |
|
| 23 |
+
| build | file | size (MB) | parity vs fp32 eager (worst corr) | Mac median (ms)* |
|
| 24 |
|-----------|------|-----------|------------------------------------|------------------|
|
| 25 |
| fp32 | `dfine_s_coco_xnnpack_fp32.pte` | 41.5 | 1.000000 | 54.0 |
|
| 26 |
|
| 27 |
\*Mac arm64, single process, median of 10 — a reference point for relative cost
|
| 28 |
only, not a device number (torch eager fp32 on the same machine: 138.0 ms).
|
| 29 |
|
| 30 |
+
### Builds that did not earn a slot
|
| 31 |
|
| 32 |
- **fp16 is not shipped**: worst-output corr 0.223 against fp32 eager, below the 0.995 bar for this precision. The file converts and runs; the numbers do not hold up, so it is left out rather than shipped with a warning.
|
| 33 |
|
|
|
|
| 45 |
|
| 46 |
## Conversion
|
| 47 |
|
| 48 |
+
torch.export -> to_edge_transform_and_lower(partitioner) -> .pte
|
| 49 |
(conversion scripts: [executorch-models](https://github.com/john-rocky/executorch-models))
|