Skip to content

Commit ba052a4

Browse files
kirklandsignfacebook-github-bot
authored andcommitted
Add a step to build Java extension code in LLAMA docs (#4265)
Summary: Pull Request resolved: #4265 Reviewed By: guangy10 Differential Revision: D59763471 Pulled By: kirklandsign fbshipit-source-id: 33c3fbe2d0434daab5504856f91f15407e58d463
1 parent 8b43bf5 commit ba052a4

File tree

1 file changed

+8
-1
lines changed
  • examples/demo-apps/android/LlamaDemo

1 file changed

+8
-1
lines changed

examples/demo-apps/android/LlamaDemo/README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,14 @@ If you need to run other models like LLaMA2, skip this skip.
7272
export EXECUTORCH_USE_TIKTOKEN=ON # Only for LLaMA3
7373
```
7474

75-
4. Run the following command set up the required JNI library:
75+
4. Build the Android Java extension code:
76+
```bash
77+
pushd extension/android
78+
./gradlew build
79+
popd
80+
```
81+
82+
5. Run the following command set up the required JNI library:
7683
```bash
7784
pushd examples/demo-apps/android/LlamaDemo
7885
./gradlew :app:setup

0 commit comments

Comments
 (0)