Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

Qwen2.5-0.5B-Instruct optimization

This folder contains examples of Olive recipes for Qwen2.5-0.5B-Instruct optimization.

FP16 Model Building

The olive recipe Qwen2.5-0.5B-Instruct_model_builder_fp16.json uses ModelBuilder pass to generate the FP16 model for NvTensorRTRTXExecutionProvider (aka NvTensorRtRtx EP).

Setup

  1. Install Olive

  2. Install onnxruntime-genai package that has support for NvTensorRTRTXExecutionProvider.

Steps to run

Use the following command to export the model using Olive with NvTensorRTRTXExecutionProvider:

olive run --config Qwen2.5-0.5B-Instruct_model_builder_fp16.json