Artem Plastinkin commited on
Commit
9a2afb2
·
1 Parent(s): 54edf73

Add model

Browse files
README.md CHANGED
@@ -14,8 +14,6 @@ tags:
14
 
15
  # ConvMixer-768/32 (ONNX) – Renesas X5H
16
 
17
- > ⏳ **Model file not yet uploaded.** Benchmark results on this page were published ahead of the model weights — see **Provided Artifacts** below. Download/deployment steps will not work until the file is added to this repository.
18
-
19
  ## Introduction
20
 
21
  This repository hosts **ConvMixer-768/32**, targeting the **Renesas R-Car X5H** platform for
@@ -47,7 +45,7 @@ convmixer_768_32_..._optimized.onnx (FP32)
47
 
48
  | Artifact | Status | Notes |
49
  |----------|--------|-------|
50
- | **FP32 (ONNX)** | ⏳ Not yet uploaded | Benchmark numbers below exist; the model file has not been published to this repo yet |
51
 
52
  ## Performance
53
 
@@ -87,11 +85,13 @@ To run inference on Renesas R-Car X5H, you need:
87
 
88
  1. **Renesas R-Car X5H board** with NPX6 NPU
89
  2. **Renesas MWMX Runtime**
90
- 3. **Hugging Face CLI** to download the model (once the model file is published)
91
 
92
  ## Download
93
 
94
- TBD — model file not yet published to this repository.
 
 
95
 
96
  ---
97
 
 
14
 
15
  # ConvMixer-768/32 (ONNX) – Renesas X5H
16
 
 
 
17
  ## Introduction
18
 
19
  This repository hosts **ConvMixer-768/32**, targeting the **Renesas R-Car X5H** platform for
 
45
 
46
  | Artifact | Status | Notes |
47
  |----------|--------|-------|
48
+ | **FP32 (ONNX)** | ✅ Published | `fp32/convmixer_768_32.onnx` — auto-cast to INT8 by the MWMX toolchain at compile time (see Deployment Flow above); no separate INT8 file is shipped |
49
 
50
  ## Performance
51
 
 
85
 
86
  1. **Renesas R-Car X5H board** with NPX6 NPU
87
  2. **Renesas MWMX Runtime**
88
+ 3. **Hugging Face CLI** to download the model
89
 
90
  ## Download
91
 
92
+ ```bash
93
+ hf download Renesas/ConvMixer-768-32-ONNX --repo-type=model --include "fp32/*"
94
+ ```
95
 
96
  ---
97
 
fp32/.metadata.yaml ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ variant:
2
+ id: onnx_fp32
3
+ format: onnx
4
+ precision: fp32
5
+ method: onnx_export # exported straight from the timm checkpoint, no quantization
fp32/convmixer_768_32.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:62f01e3a7caf4e1c57f3d5436aa2dd59d84eea01e61e7aaebe28afd4af0d28ff
3
+ size 84953028
int8/benchmarks/x5h_mwmx_npu_apm50_1core.yaml CHANGED
@@ -40,3 +40,25 @@ memory:
40
 
41
  power:
42
  avg_w: null
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
40
 
41
  power:
42
  avg_w: null
43
+
44
+ # Exact commands verified against the NNAC "Getting Started" chapter. Rendered
45
+ # by the AI-Dashboard in place of the generic placeholder flow — see
46
+ # downloadRunHTML() / parse_reproduce() in AI-Dashboard/app.js.
47
+ reproduce:
48
+ steps:
49
+ - title: Download the ONNX model
50
+ command: hf download Renesas/ConvMixer-768-32-ONNX --repo-type=model --include "fp32/*"
51
+ - title: Compile with the NNAC toolchain (INT8 auto-cast from the FP32 graph)
52
+ command: |
53
+ python3 nnac_frontend/legalize.py -d binary/nnx ./fp32/convmixer_768_32.onnx
54
+ - title: Set up the R-Car X5H board
55
+ command: Configure the board per the AI Compiler (NNAC) "Getting Started" guide, section 3.4 (host TFTP/NFS setup, bootloader flashing, U-Boot, Linux boot, login) -- exact steps depend on your board/network setup.
56
+ - title: Copy the compiled artifact to the board
57
+ command: Copy ${WORKDIR}/binary/nnx to the board -- method may vary (NFS mount, scp, USB, etc.).
58
+ - title: Run on R-Car X5H (single NPU cluster)
59
+ command: |
60
+ cd binary
61
+ ./host_app ./arc_prog_npus ./nnx/convmixer_768_32
62
+ notes: >-
63
+ hash[n] = 0x...(OK) means the run's output matches the reference hash in
64
+ hash.txt; latency is the NPX execution time reported in cycles and ms.