Skip to content

Commit 184eabd

Browse files
authored
Merge branch 'main' into Jack-Khuu-patch-26
2 parents f32584f + f821163 commit 184eabd

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ runner-et/cmake-out/*
1919
runner-aoti/cmake-out/*
2020
cmake-out/
2121

22+
# Example project Android Studio ignore
23+
torchchat/edge/android/torchchat/.idea/*
24+
25+
2226
# pte files
2327
*.pte
2428

docs/native-execution.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ The 'llama runner' is a native standalone application capable of
1616
running a model exported and compiled ahead-of-time with either
1717
Executorch (ET) or AOT Inductor (AOTI). Which model format to use
1818
depends on your requirements and preferences. Executorch models are
19-
optimized for portability across a range of decices, including mobile
19+
optimized for portability across a range of devices, including mobile
2020
and edge devices. AOT Inductor models are optimized for a particular
2121
target architecture, which may result in better performance and
2222
efficiency.
2323

2424
Building the runners is straightforward with the included cmake build
2525
files and is covered in the next sections. We will showcase the
26-
runners using ~~stories15M~~ llama2 7B and llama3.
26+
runners using llama2 7B and llama3.
2727

2828
## What can you do with torchchat's llama runner for native execution?
2929

@@ -160,7 +160,7 @@ and native execution environments, respectively.
160160

161161
After exporting a model, you will want to verify that the model
162162
delivers output of high quality, and works as expected. Both can be
163-
achieved with the Python environment. All torchchat Python comands
163+
achieved with the Python environment. All torchchat Python commands
164164
can work with exported models. Instead of loading the model from a
165165
checkpoint or GGUF file, use the `--dso-path model.so` and
166166
`--pte-path model.pte` for loading both types of exported models. This

torchchat/edge/android/torchchat/app/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ dependencies {
5757
implementation("androidx.constraintlayout:constraintlayout:2.2.0-alpha12")
5858
implementation("com.facebook.fbjni:fbjni:0.5.1")
5959
implementation("com.google.code.gson:gson:2.8.6")
60-
implementation(files("libs/executorch-llama.aar"))
60+
implementation(files("libs/executorch.aar"))
6161
implementation("com.google.android.material:material:1.12.0")
6262
implementation("androidx.activity:activity:1.9.0")
6363
testImplementation("junit:junit:4.13.2")

0 commit comments

Comments
 (0)