# Example – Running models with generic QAic EP test

Source: [https://docs.qualcomm.com/doc/80-PT790-993B/topic/running_models_with_generic_qaic_ep_test.html](https://docs.qualcomm.com/doc/80-PT790-993B/topic/running_models_with_generic_qaic_ep_test.html)

Run `test_qaic_ep.py` at `/opt/qti-aic/integrations/qaic_onnxrt/tests/`.

    python test_qaic_ep.py --model_config ./resnet50/resnet50.yaml --input_file_list </path/to/input/list> Copy to clipboard

Table : QAic EP test options

| Flag | Description |
| --- | --- |
| `model_config ` | [Required] Path to the model-setting YAML file. |
| `input_file_list ` | [Required] Path of the file (.txt) containing a list of batched inputs in .raw format. |
| `backend ` | [Optional | Default=’qaic’] Specify qaic / cpu as backend. |
| `device_id ` | [Optional | Default=0] Specify qaic device ID. |
| `num_iter ` | [Optional | Default=100] Specify num iterations for the test. |
| `max_threads ` | [Optional | Default=1000] Maximum number of threads to run inferences. |
| `log_level ` | [Optional | Default=4] ONNX Runtime log severity level (0-4). |

**Parent Topic:** [Inference modes](https://docs.qualcomm.com/doc/80-PT790-993B/topic/inference_modes.html)

Last Published: Jul 26, 2023