Skip to content

Commit fb8ff77

Browse files
authored
docs: 0.2.2 doc updates (meta-llama#1961)
Add updates to android site readme for 0.2.2
1 parent 0938810 commit fb8ff77

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

docs/source/distributions/ondevice_distro/android_sdk.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ The key files in the app are `ExampleLlamaStackLocalInference.kt`, `ExampleLlama
2424
Add the following dependency in your `build.gradle.kts` file:
2525
```
2626
dependencies {
27-
implementation("com.llama.llamastack:llama-stack-client-kotlin:0.1.4.2")
27+
implementation("com.llama.llamastack:llama-stack-client-kotlin:0.2.2")
2828
}
2929
```
3030
This will download jar files in your gradle cache in a directory like `~/.gradle/caches/modules-2/files-2.1/com.llama.llamastack/`
@@ -37,11 +37,7 @@ For local inferencing, it is required to include the ExecuTorch library into you
3737

3838
Include the ExecuTorch library by:
3939
1. Download the `download-prebuilt-et-lib.sh` script file from the [llama-stack-client-kotlin-client-local](https://github.com/meta-llama/llama-stack-client-kotlin/tree/latest-release/llama-stack-client-kotlin-client-local/download-prebuilt-et-lib.sh) directory to your local machine.
40-
2. Move the script to the top level of your Android app where the app directory resides:
41-
<p align="center">
42-
<img src="https://github.com/meta-llama/llama-stack-client-kotlin/blob/latest-release/doc/img/example_android_app_directory.png" style="width:300px">
43-
</p>
44-
40+
2. Move the script to the top level of your Android app where the `app` directory resides.
4541
3. Run `sh download-prebuilt-et-lib.sh` to create an `app/libs` directory and download the `executorch.aar` in that path. This generates an ExecuTorch library for the XNNPACK delegate.
4642
4. Add the `executorch.aar` dependency in your `build.gradle.kts` file:
4743
```
@@ -52,6 +48,8 @@ dependencies {
5248
}
5349
```
5450

51+
See other dependencies for the local RAG in Android app [README](https://github.com/meta-llama/llama-stack-client-kotlin/tree/latest-release/examples/android_app#quick-start).
52+
5553
## Llama Stack APIs in Your Android App
5654
Breaking down the demo app, this section will show the core pieces that are used to initialize and run inference with Llama Stack using the Kotlin library.
5755

@@ -60,7 +58,7 @@ Start a Llama Stack server on localhost. Here is an example of how you can do th
6058
```
6159
conda create -n stack-fireworks python=3.10
6260
conda activate stack-fireworks
63-
pip install --no-cache llama-stack==0.1.4
61+
pip install --no-cache llama-stack==0.2.2
6462
llama stack build --template fireworks --image-type conda
6563
export FIREWORKS_API_KEY=<SOME_KEY>
6664
llama stack run fireworks --port 5050

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy