BYOM AI model support
The DRP-AI supports BYOM (Bring Your Own Model) AI models, allowing users to deploy custom-trained AI models on the RZ/V2H platform.
Note
This section covers only the compilation and deployment of BYOM AI models by using the DRP-AI TVM extension package.
See also
For more information about the DRP-AI TVM, also known as the RUHMI (Robust Unified Heterogeneous Model Integration) extension package, refer to the following resources:
DRP-AI TVM Extension Package: Software package for converting and deploying AI models on the RZ/V2H platform with DRP-AI support.
Recommended: DRP-AI TVM on RZ/V series: Documentation and tutorials for using the DRP-AI TVM extension package to convert and deploy AI models on the RZ/V2H platform.
DRP-AI Translator i8: Documentation for the DRP-AI Translator i8, a tool used for converting AI models into a format compatible with the DRP-AI.
It is highly recommended that you refer to the documentation and tutorials at the link above for detailed instructions on how to convert and deploy your own AI models by using the DRP-AI TVM extension package.
Getting Started
To enable BYOM support, users need to convert their AI models into a format compatible with the DRP-AI using the following package:
This package provides the necessary tools and libraries to facilitate the conversion process, ensuring that the models can effectively leverage the capabilities of the DRP-AI.
Install the DRP-AI TVM extension package
To install the DRP-AI TVM extension package, follow the instructions provided in the RZ/V DRP-AI TVM setup.
Note
There is no need to use Ubuntu 22.04 for the installation, as the DRP-AI TVM extension package can be installed on any Linux distribution that supports Docker.
We recommend using the Docker-based installation method with Ubuntu 24.04 machine for the DRP-AI TVM extension package, as it provides a consistent and isolated environment for model conversion.
BYOM Development Flow
The typical development flow for deploying BYOM AI models on the RZ/V2H platform using the DRP-AI TVM extension package involves the following steps:
BYOM Development Flow
Training data collection: Gather and prepare the dataset required for training the AI model.
Model training: Use a deep learning framework, such as TensorFlow, PyTorch, or ONNX, to train the AI model on the collected dataset.
For training data collection and model training, users can use popular deep learning frameworks such as TensorFlow, PyTorch, or ONNX.
See also
List of AI models that Renesas has verified for conversion with DRP-AI TVM: Model list for RZ/V2H.
Note that the above list is not exhaustive, and users can also attempt to convert other models.
Exchange AI model: Convert the trained AI model into a format compatible with the DRP-AI using the DRP-AI TVM extension package.
Follow the next section for detailed instructions on how to convert AI models using the DRP-AI TVM extension package.
Deployment: Deploy the converted model onto the RZ/V2H platform and integrate it with the DRP-AI Driver for inference execution.
Tip
In the deployment step, the ready-to-use rzv_model package is provided to simplify the integration of compiled models with the DRP-AI Driver.