[Bugfix] Support both list and generator mode & fix unnecessary error log (#599)

Signed-off-by: Gaohan123 <hgaoaf@connect.ust.hk>
Signed-off-by: Hongsheng Liu <liuhongsheng4@huawei.com>
Co-authored-by: Hongsheng Liu <liuhongsheng4@huawei.com>
This commit is contained in:
Gao HanandHongsheng Liu authored and GitHub committed 2026-01-05 09:17:06 +08:00
1 parent cb7361f021
commit 6b18d31aaa
22 files changed
+134 -151

No files matched your search

@@ -12,7 +12,7 @@ Get into the example folder
```bash
cd examples/offline_inference/qwen2_5_omni
```
Then run the command below.
Then run the command below. Note: for processing large volume data, it uses py_generator mode, which will return a python generator from Omni class.
```bash
bash run_multiple_prompts.sh
```