File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -393,8 +393,8 @@ extern void register_natives_for_llama();
393
393
void register_natives_for_llama () {}
394
394
#endif
395
395
JNIEXPORT jint JNICALL JNI_OnLoad (JavaVM* vm, void *) {
396
- return facebook::jni::initialize (
397
- vm, [] { executorch::extension::ExecuTorchJni::registerNatives ();
398
- register_natives_for_llama ();
399
- });
396
+ return facebook::jni::initialize (vm, [] {
397
+ executorch::extension::ExecuTorchJni::registerNatives ();
398
+ register_natives_for_llama ();
399
+ });
400
400
}
Original file line number Diff line number Diff line change 30
30
#include < fbjni/ByteBuffer.h>
31
31
#include < fbjni/fbjni.h>
32
32
33
-
34
33
using namespace torch ::executor;
35
34
36
35
namespace executorch_jni {
@@ -266,5 +265,5 @@ class ExecuTorchLlamaJni
266
265
} // namespace executorch_jni
267
266
268
267
void register_natives_for_llama () {
269
- executorch_jni::ExecuTorchLlamaJni::registerNatives ();
268
+ executorch_jni::ExecuTorchLlamaJni::registerNatives ();
270
269
}
You can’t perform that action at this time.
0 commit comments