Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -20,21 +20,15 @@ All variants take and return fp32 tensors — swap the `.pte` file, keep your ap
|
|
| 20 |
|
| 21 |
| precision | file | size (MB) | parity vs fp32 eager (worst corr) | Mac median (ms)* |
|
| 22 |
|-----------|------|-----------|------------------------------------|------------------|
|
| 23 |
-
| fp32 | `dis_isnet_xnnpack_fp32.pte` | 176.1 | 1.000000 |
|
| 24 |
-
| int8 | `dis_isnet_xnnpack_int8.pte` | 44.3 | 0.987820 | 70.1 |
|
| 25 |
|
| 26 |
\*Mac arm64, single process, median of 10 — a reference point for relative cost
|
| 27 |
-
only, not a device number (torch eager fp32 on the same machine:
|
| 28 |
-
|
| 29 |
-
### Checked in the task's own units
|
| 30 |
-
|
| 31 |
-
Correlation is a first filter. These are the numbers that decide:
|
| 32 |
-
|
| 33 |
-
- **int8** — mask IoU 0.963 median against fp32 (worst 0.927 of five images). The disagreement is boundary pixels, which is what int8 costs on a cutout model.
|
| 34 |
|
| 35 |
### Precisions that did not earn a slot
|
| 36 |
|
| 37 |
- **fp16 is not shipped**: worst-output corr 0.986 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.
|
|
|
|
| 38 |
|
| 39 |
## Verification (executorch 1.4.0, torch 2.13.0)
|
| 40 |
|
|
@@ -43,9 +37,9 @@ the correlation over all elements of each output tensor.
|
|
| 43 |
|
| 44 |
| output | shape | max_abs_diff | corr |
|
| 45 |
|--------|-------|--------------|------|
|
| 46 |
-
| 0 | [1, 1, 1024, 1024] |
|
| 47 |
|
| 48 |
-
XNNPACK delegate coverage (fp32): 100.0% (
|
| 49 |
|
| 50 |
## Conversion
|
| 51 |
|
|
|
|
| 20 |
|
| 21 |
| precision | file | size (MB) | parity vs fp32 eager (worst corr) | Mac median (ms)* |
|
| 22 |
|-----------|------|-----------|------------------------------------|------------------|
|
| 23 |
+
| fp32 | `dis_isnet_xnnpack_fp32.pte` | 176.1 | 1.000000 | 123.4 |
|
|
|
|
| 24 |
|
| 25 |
\*Mac arm64, single process, median of 10 — a reference point for relative cost
|
| 26 |
+
only, not a device number (torch eager fp32 on the same machine: 364.6 ms).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 27 |
|
| 28 |
### Precisions that did not earn a slot
|
| 29 |
|
| 30 |
- **fp16 is not shipped**: worst-output corr 0.986 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.
|
| 31 |
+
- **int8 is not shipped**: measured in the units that matter for this model — mask IoU at 0.5: median 0.9106 over 10 real images, worst 0.4647.
|
| 32 |
|
| 33 |
## Verification (executorch 1.4.0, torch 2.13.0)
|
| 34 |
|
|
|
|
| 37 |
|
| 38 |
| output | shape | max_abs_diff | corr |
|
| 39 |
|--------|-------|--------------|------|
|
| 40 |
+
| 0 | [1, 1, 1024, 1024] | 3.606e-06 | 1.000000 |
|
| 41 |
|
| 42 |
+
XNNPACK delegate coverage (fp32): 100.0% (467/467 ops)
|
| 43 |
|
| 44 |
## Conversion
|
| 45 |
|