Skip to content

Commit 6c89ad8

Browse files
committed
update the README
1 parent a8f43fe commit 6c89ad8

File tree

1 file changed

+5
-1
lines changed
  • recipes/inference/mobile_inference/android_inference

1 file changed

+5
-1
lines changed

recipes/inference/mobile_inference/android_inference/README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,8 @@ Connect your phone to your development machine. On OSX, you'll be prompted on th
101101

102102
# Build Steps
103103

104+
## Building the Android Package with MLC
105+
104106
First edit the file under `android/MLCChat/mlc-package-config.json` and replace the contents with the following:
105107

106108
```json
@@ -136,6 +138,8 @@ The command above will take a few minutes to run as it runs through the followin
136138
* Compile the Llama 3 8B instruct specified in the `mlc-package-config.json` into a binary model library.
137139
* Build the `mlc-llm` runtime and tokenizer. In addition to the model itself, a lightweight runtime and tokenizer are required to actually run the LLM.
138140

141+
## Building and Running MLC Chat in Android Studio
142+
139143
Now let's launch Android Studio.
140144

141145
* On the "Welcome to Android Studio" page, hit "Open", and navigate to `$MLC_LLM_HOME/android/MLCChat`, then hit "Open"
@@ -145,7 +149,7 @@ Now let's launch Android Studio.
145149

146150
Connect your phone to your development machine - assuming you've followed the setup steps in the pre-requisite section, you should be able to see the device.
147151

148-
Next:
152+
Next you'll need to:
149153

150154
* Hit Build -> Make Project.
151155
* Hit Run -> Run 'app'

0 commit comments

Comments
 (0)