mlboydaisuke commited on
Commit
7af0c7a
·
verified ·
1 Parent(s): 5718956

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +35 -0
README.md ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ tags:
4
+ - executorch
5
+ - xnnpack
6
+ - pte
7
+ - on-device
8
+ - object-detection
9
+ ---
10
+ # yolox_s — ExecuTorch XNNPACK
11
+
12
+ `yolox_s_xnnpack_fp32.pte` (35.9 MB, fp32, XNNPACK-delegated)
13
+
14
+ - **Source**: Megvii-BaseDetection/YOLOX (yolox_s)
15
+ - **License**: Apache-2.0
16
+ - **Input**: [[1, 3, 640, 640]] — BGR 0..255 float, NO normalization (YOLOX v0.3+ convention), 640x640 letterbox pad 114
17
+ - **Output**: [1,8400,85]: cx,cy,w,h (input px), objectness, 80 class scores; postprocess = obj*cls threshold + NMS (required)
18
+
19
+ ## Verification (Mac arm64, executorch 1.4.0, torch 2.13.0)
20
+
21
+ Parity vs torch fp32 eager on random input:
22
+
23
+ | output | shape | max_abs_diff | corr |
24
+ |--------|-------|--------------|------|
25
+ | 0 | [1, 8400, 85] | 3.021e-03 | 1.000000 |
26
+
27
+ Median latency over 10 runs (single Mac process, reference only — device numbers to follow):
28
+ ExecuTorch 24.7 ms vs torch eager 38.8 ms.
29
+
30
+ ## Conversion
31
+
32
+ torch.export -> to_edge_transform_and_lower(XnnpackPartitioner) -> .pte
33
+ (conversion scripts: `convert/` in the conversion repo)
34
+
35
+ **Notes**: max_abs_diff ~3e-3 is on decoded pixel-coordinate outputs (values up to 640), i.e. relative error <1e-5; corr 1.000000.