BEiT-Base/16 (ONNX) – Renesas X5H

Introduction

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.

  • Model Architecture: BEiT-Base/16 β€” a Vision Transformer pretrained with a BERT-style masked-image-modeling objective (predicting discrete visual tokens from a DALL-E VQ-VAE over masked image patches), then fine-tuned for ImageNet-1k classification. Checkpoint lineage: ImageNet-22k self-supervised pretrain β†’ ImageNet-22k intermediate fine-tune β†’ ImageNet-1k final fine-tune.
  • Source Model: timm/beit_base_patch16_224.in22k_ft_in22k_in1k β€” same checkpoint lineage as Microsoft's microsoft/beit-base-patch16-224-pt22k-ft22k release family
  • Paper: BEiT: BERT Pre-Training of Image Transformers (Bao, Dong, Wei, ICLR 2022)
  • Task: Image Classification (ImageNet-1k, 1000 classes)
  • Parameters: 86.5M (timm model card figure)
  • License: Apache-2.0 (per timm model card)

Deployment Flow

The 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

Provided Artifacts

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

Performance

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

Accuracy

TBD β€” not yet measured/published for this repo.


Runtime Details

MWMX Runtime

  • Engine: Renesas MWMX (Middleware MX) native inference runtime
  • Input format: FP32 ONNX (compiled by the MWMX toolchain)
  • NPU execution precision: INT8 (auto-cast by MWMX toolchain)
  • Execution target: NPX6-48K NPU on R-Car X5H

Prerequisites

To run inference on Renesas R-Car X5H, you need:

  1. Renesas R-Car X5H board with NPX6 NPU
  2. Renesas MWMX Runtime
  3. Hugging Face CLI to download the model

Download

hf download Renesas/BEiT-Base-Patch16-ONNX --repo-type=model --include "fp32/*"

Benchmark Methodology

  • HIL runs: Hardware-in-the-loop β€” measured on physical R-Car X5H silicon via the MWMX runtime (metawaremx_runtime CI pipeline, "APM50" ship-performance target)
  • Precision: FP32 ONNX input; INT8 execution (auto-cast by MWMX)
  • Slices: only the 1 AI-core slice is available; the 12-core slice was Skipped in the source APM50 CI run for this model
Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for Renesas/BEiT-Base-Patch16-ONNX

Quantized
(1)
this model

Paper for Renesas/BEiT-Base-Patch16-ONNX