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 18, 2024
1 parent bb08d85 commit 93a2413
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 93a2413

Please sign in to comment.