[MM][CG] Optimize default max_frames_per_batch auto-infer for ViT CUDA graph video inference (#40445)
Signed-off-by: shen-shanshan <467638484@qq.com>
This commit is contained in:
@@ -193,6 +193,9 @@ class MultiModalRegistry:
|
||||
ctx = self._create_processing_ctx(model_config, tokenizer)
|
||||
return factories.info(ctx)
|
||||
|
||||
def get_processing_info(self, model_config: "ModelConfig") -> BaseProcessingInfo:
|
||||
return self._create_processing_info(model_config, tokenizer=None)
|
||||
|
||||
def create_processor(
|
||||
self,
|
||||
model_config: "ModelConfig",
|
||||
|
||||
Reference in New Issue
Block a user