We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db6c37c commit f580aafCopy full SHA for f580aaf
extension/android/jni/jni_layer_llama.cpp
@@ -273,11 +273,6 @@ class ExecuTorchLlmJni : public facebook::jni::HybridClass<ExecuTorchLlmJni> {
273
jint width,
274
jint height,
275
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();
281
std::vector<llm::Image> images;
282
auto image_size = image->size();
283
if (image_size != 0) {
0 commit comments