xlm_create_default_param interface.max_img_cnt represents the maximum number of input images per request. Note that the total number of tokens from the input images should not exceed the cache_len of the corresponding model.
The structure in multimodal input.
Supports single prompt and single image.
Supports single prompt with multiple images.
Model input request priority settings.
The preemption relationships are as follows:
XLM_PRIORITY_TYPE_URGENT --preemption--> XLM_PRIORITY_TYPE_HIGH --preemption--> XLM_PRIORITY_TYPE_NORMAL.When the priority is both NORMAL, preemption will not occur. Instead, the execution order will be determined based on the value of priority.