mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-04-26 20:42:06 +00:00
fix: adjust trtllm looper for video chunk enum
This commit is contained in:
parent
4f42d0c731
commit
dcc1194198
@ -301,6 +301,7 @@ impl TensorRtLlmBackendV2 {
|
||||
1 => match request.inputs.first().expect("Single item-chunk") {
|
||||
Chunk::Text(_) => Ok(()),
|
||||
Chunk::Image(_) => Err(ValidationError(UnsupportedModality("image"))),
|
||||
Chunk::Video(_) => Err(ValidationError(UnsupportedModality("video"))),
|
||||
},
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user