BEiT: BERT Pre-Training of Image Transformers
Paper β’ 2106.08254 β’ Published β’ 2
This repository hosts BEiT-Base/16 (BERT Pre-Training of Image Transformers, 16Γ16 patches), targeting the Renesas R-Car X5H platform for image classification inference on the NPX6 NPU.
microsoft/beit-base-patch16-224-pt22k-ft22k release familyThe FP32 ONNX model is auto-cast to INT8 by the Renesas MWMX toolchain at compile time β no separate quantization step is required.
beit_base_patch16_224_in22k_ft_in22k_in1k_..._optimized.onnx (FP32)
β
βββΆ MWMX Runtime βββΆ INT8 auto-cast βββΆ NPX6 NPU
| Artifact | Status | Notes |
|---|---|---|
| FP32 (ONNX) | β Published | fp32/beit_base_patch16.onnx β auto-cast to INT8 by the MWMX toolchain at compile time (see Deployment Flow above); no separate INT8 file is shipped |
Measured on Renesas R-Car X5H via the MWMX runtime (APM50 ship-performance CI pipeline).
Benchmark configuration: Single NPU Β· Batch size: 1 Β· Input resolution: 224Γ224 (NCHW
1,3,224,224)
| Parameters | Runtime | Precision | Device | Latency (ms) | Type |
|---|---|---|---|---|---|
| 86.5M | MWMX Runtime | INT8 (auto) | X5H Β· 1Γ NPU Β· 1 Core Β· 850 MHz | 26.762616 | Measured |
TBD β not yet measured/published for this repo.
To run inference on Renesas R-Car X5H, you need:
hf download Renesas/BEiT-Base-Patch16-ONNX --repo-type=model --include "fp32/*"
metawaremx_runtime CI pipeline, "APM50" ship-performance target)Skipped in the
source APM50 CI run for this model