You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While running a Qwen2-VL using TRT-LLM, the performance bottleneck was identified in the profiling result. The bottleneck is in "_initialize_and_fill_output" func. from "model_runner_cpp.py", consuming over 1.18 second per query.
I thought this is because "self.session.await_responses(request_ids)" seems to wait for the model inference.
I’d appreciate any solution or suggestion for optimizing this.
While running a Qwen2-VL using TRT-LLM, the performance bottleneck was identified in the profiling result. The bottleneck is in "_initialize_and_fill_output" func. from "model_runner_cpp.py", consuming over 1.18 second per query.
I thought this is because "self.session.await_responses(request_ids)" seems to wait for the model inference.
I’d appreciate any solution or suggestion for optimizing this.
Thanks,
ncalls tottime percall cumtime percall filename:lineno(function)
10 11.836 1.184 11.870 1.187 /root/anaconda3/envs/tensorrt_qvl/lib/python3.10/site-packages/tensorrt_llm/runtime/model_runner_cpp.py:861(_initialize_and_fill_output)
for i in range(len(questions)):
input_text, output_text = model.run(questions[i], input_image_paths[i], args.max_new_tokens)
[Environment]
Python: 3.10
TRT-LLM: 0.16.0
Transformers: 4.46.0
GPU: A100 40GB
The text was updated successfully, but these errors were encountered: