Skip to content

Commit f580aaf

Browse files
committed
fix
1 parent db6c37c commit f580aaf

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

extension/android/jni/jni_layer_llama.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -273,11 +273,6 @@ class ExecuTorchLlmJni : public facebook::jni::HybridClass<ExecuTorchLlmJni> {
273273
jint width,
274274
jint height,
275275
jint channels) {
276-
if (model_type_category_ != MODEL_TYPE_CATEGORY_MULTIMODAL) {
277-
return static_cast<jint>(Error::NotSupported);
278-
}
279-
280-
auto image_size = image->size();
281276
std::vector<llm::Image> images;
282277
auto image_size = image->size();
283278
if (image_size != 0) {

0 commit comments

Comments
 (0)