Compilation Example - 1.4.1 English

Vitis AI RNN User Guide (UG1563)

Document ID
UG1563
Release Date
2021-12-03
Version
1.4.1 English

To compile a sentiment RNN model for an Alveo™ U50 data center accelerator card with batch=4 engine, follow these steps:

  1. Activate the vai_c_rnn conda environment in the docker image:
    conda activate vitis-ai-rnn
  2. Compile

    Assuming the quantized models for sentiment are prepared in the XMODEL directory, run the compilation command and get results. The output XMODEL is present in the output directory.

    Figure 1. Compile XMODEL