Skip to content

Commit 77bcbe3

Browse files
Merge pull request #1758 from jasonrandrews/review
Review Vision LLM inference on Android Learning Path
2 parents 9863ead + 677bb26 commit 77bcbe3

File tree

3 files changed

+18
-5
lines changed

3 files changed

+18
-5
lines changed

content/learning-paths/mobile-graphics-and-gaming/Vision-LLM-inference-on-Android-with-KleidiAI-and-MNN/1-devenv-and-model.md

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ sudo apt update
1818
sudo apt install cmake git-lfs -y
1919
```
2020

21-
Alternatively, you can use Android Studio to obtain the NDK.
21+
You can use Android Studio to obtain the NDK.
2222

2323
Click **Tools > SDK Manager** and navigate to the **SDK Tools** tab.
2424

@@ -35,6 +35,13 @@ python --version
3535
pip --version
3636
```
3737

38+
You see the versions printed:
39+
40+
```output
41+
Python 3.12.3
42+
pip 24.0 from /usr/lib/python3/dist-packages/pip (python 3.12)
43+
```
44+
3845
{{% notice Note %}}
3946
If Python 3.x is not the default version, try running `python3 --version` and `pip3 --version`.
4047
{{% /notice %}}
@@ -45,13 +52,18 @@ You need to set up an authorized connection with your phone. The Android SDK Pla
4552

4653
Connect your phone to your computer using a USB cable, and enable USB debugging on your phone. To do this, tap the **Build Number** in your **Settings** app 7 times, then enable **USB debugging** in **Developer Options**.
4754

48-
Verify the connection by running `adb devices`:
55+
Verify the connection by running:
56+
57+
```console
58+
adb devices
59+
```
60+
61+
If your device is connected you see it listed with your device id:
4962

5063
```output
5164
List of devices attached
5265
<DEVICE ID> device
5366
```
54-
You should see your device listed.
5567

5668
## Download and Convert the Model
5769

content/learning-paths/mobile-graphics-and-gaming/Vision-LLM-inference-on-Android-with-KleidiAI-and-MNN/2-generate-apk.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ git checkout origin/llm_android_demo
2323

2424
## Build the App Using Android Studio
2525

26+
You can use Android Studio to build the app and create an APK.
27+
2628
### Open project and build
2729

2830
Open Android Studio.

content/learning-paths/mobile-graphics-and-gaming/Vision-LLM-inference-on-Android-with-KleidiAI-and-MNN/_index.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ learning_objectives:
1414

1515
prerequisites:
1616
- A development machine with [Android Studio](https://developer.android.com/studio) installed.
17-
- A 64-bit Arm-powered smartphone running Android with support for `i8mm` and `dotprod`. supported.
17+
- A smartphone running Android with support for `i8mm` and `dotprod` instructions.
1818

1919
author:
2020
- Shuheng Deng
@@ -25,7 +25,6 @@ skilllevels: Introductory
2525
subjects: ML
2626
armips:
2727
- Cortex-A
28-
- Cortex-X
2928
tools_software_languages:
3029
- Android Studio
3130
- KleidiAI

0 commit comments

Comments
 (0)