Skip to content

Commit 3884aa7

Browse files
committed
update path
1 parent 6fcf073 commit 3884aa7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

extension/android/jni/jni_layer_llama.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ class ExecuTorchLlmCallbackJni
7979
: public facebook::jni::JavaClass<ExecuTorchLlmCallbackJni> {
8080
public:
8181
constexpr static const char* kJavaDescriptor =
82-
"Lorg/pytorch/executorch/LlmCallback;";
82+
"Lorg/pytorch/executorch/extension/llm/LlmCallback;";
8383

8484
void onResult(std::string result) const {
8585
static auto cls = ExecuTorchLlmCallbackJni::javaClassStatic();
@@ -119,7 +119,8 @@ class ExecuTorchLlmJni : public facebook::jni::HybridClass<ExecuTorchLlmJni> {
119119
std::unique_ptr<llm::MultimodalRunner> multi_modal_runner_;
120120

121121
public:
122-
constexpr static auto kJavaDescriptor = "Lorg/pytorch/executorch/LlmModule;";
122+
constexpr static auto kJavaDescriptor =
123+
"Lorg/pytorch/executorch/extension/llm/LlmModule;";
123124

124125
constexpr static int MODEL_TYPE_CATEGORY_LLM = 1;
125126
constexpr static int MODEL_TYPE_CATEGORY_MULTIMODAL = 2;

0 commit comments

Comments
 (0)