Skip to content

Commit

Permalink
fix: adjust trtllm looper for video chunk enum
Browse files Browse the repository at this point in the history
  • Loading branch information
drbh committed Dec 16, 2024
1 parent ffc2656 commit 4e921bf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backends/trtllm/src/looper.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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"))),
},
}
}
Expand Down

0 comments on commit 4e921bf

Please sign in to comment.