Skip to content

Commit 9d292a3

Browse files
authored
Remove LLaMA demo app. (#14195)
Summary: It's moved to executorch-examples repo Differential Revision: D82183720
1 parent f1ca55a commit 9d292a3

File tree

38 files changed

+101
-2274
lines changed

38 files changed

+101
-2274
lines changed

.github/workflows/apple.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ on:
1717
- scripts/build_apple_llm_demo.sh
1818
- scripts/create_frameworks.sh
1919
- .ci/scripts/test_ios_ci.sh
20-
- examples/demo-apps/apple_ios/**
2120
- extension/apple/**
2221
- extension/benchmark/apple/**
2322
- extension/module/**

.lintrunner.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ exclude_patterns = [
7373
'**/third-party/**',
7474
# NB: Objective-C is not supported
7575
'examples/apple/**',
76-
'examples/demo-apps/apple_ios/**',
7776
'examples/demo-apps/react-native/rnllama/ios/**',
7877
'extension/apple/**',
7978
'extension/llm/apple/**',

README-wheel.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@ tutorials and documentation. Here are some starting points:
2525
* [Exporting to ExecuTorch](https://pytorch.org/executorch/main/tutorials/export-to-executorch-tutorial)
2626
* Learn the fundamentals of exporting a PyTorch `nn.Module` to ExecuTorch, and
2727
optimizing its performance using quantization and hardware delegation.
28-
* Running LLaMA on [iOS](docs/source/llm/llama-demo-ios.md) and [Android](docs/source/llm/llama-demo-android.md) devices.
28+
* Running etLLM on [iOS](https://github.com/meta-pytorch/executorch-examples/tree/main/llm/apple) and [Android](docs/source/llm/llama-demo-android.md) devices.
2929
* Build and run LLaMA in a demo mobile app, and learn how to integrate models
3030
with your own apps.

backends/apple/mps/setup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The MPS backend device maps machine learning computational graphs and primitives
1616
* [Setting up ExecuTorch](../../../docs/source/getting-started-setup.rst)
1717
* [Building ExecuTorch with CMake](../../../docs/source/using-executorch-cpp.md#building-with-cmake)
1818
* [ExecuTorch iOS Demo App](https://github.com/meta-pytorch/executorch-examples/tree/main/mv3/apple/ExecuTorchDemo)
19-
* [ExecuTorch iOS LLaMA Demo App](../../../docs/source/llm/llama-demo-ios.md)
19+
* [ExecuTorch LLM iOS Demo App](https://github.com/meta-pytorch/executorch-examples/tree/main/llm/apple)
2020
:::
2121
::::
2222

docs/source/backends-mps.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The MPS backend device maps machine learning computational graphs and primitives
1616
* [Getting Started](getting-started.md)
1717
* [Building ExecuTorch with CMake](using-executorch-building-from-source.md)
1818
* [ExecuTorch iOS Demo App](https://github.com/meta-pytorch/executorch-examples/tree/main/mv3/apple/ExecuTorchDemo)
19-
* [ExecuTorch iOS LLaMA Demo App](llm/llama-demo-ios.md)
19+
* [ExecuTorch LLM iOS Demo App](https://github.com/meta-pytorch/executorch-examples/tree/main/llm/apple)
2020
:::
2121
::::
2222

docs/source/llm/getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ Deploying LLMs to ExecuTorch can be boiled down to a two-step process: (1) expor
2323
- [Running with C++](run-with-c-plus-plus.md)
2424
- [Running on Android (XNNPack)](llama-demo-android.md)
2525
- [Running on Android (Qualcomm)](build-run-llama3-qualcomm-ai-engine-direct-backend.md)
26-
- [Running on iOS](llama-demo-ios.md)
26+
- [Running on iOS](https://github.com/meta-pytorch/executorch-examples/tree/main/llm/apple)

docs/source/llm/run-on-ios.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,4 +123,4 @@ runner.stop()
123123

124124
## Demo
125125

126-
Get hands-on with our [LLaMA iOS Demo App](llama-demo-ios.md) to see the LLM runtime APIs in action.
126+
Get hands-on with our [etLLM iOS Demo App](https://github.com/meta-pytorch/executorch-examples/tree/main/llm/apple) to see the LLM runtime APIs in action.

examples/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ examples
2121
| └── mps # Contains end-to-end demos of MPS backend
2222
├── arm # Contains demos of the Arm TOSA and Ethos-U NPU flows
2323
├── qualcomm # Contains demos of Qualcomm QNN backend
24-
â├── samsung # Contains demos of Samsung Exynos backend
24+
�├── samsung # Contains demos of Samsung Exynos backend
2525
├── cadence # Contains demos of exporting and running a simple model on Xtensa DSPs
2626
├── third-party # Third-party libraries required for working on the demos
2727
└── README.md # This file
@@ -34,7 +34,7 @@ A user's journey may commence by exploring the demos located in the [`portable/`
3434

3535
## Demos Apps
3636

37-
Explore mobile apps with ExecuTorch models integrated and deployable on [Android](demo-apps/android) and [iOS](demo-apps/apple_ios). This provides end-to-end instructions on how to export Llama models, load on device, build the app, and run it on device.
37+
Explore mobile apps with ExecuTorch models integrated and deployable on [Android](demo-apps/android) and [iOS](https://github.com/meta-pytorch/executorch-examples/tree/main/llm/apple). This provides end-to-end instructions on how to export Llama models, load on device, build the app, and run it on device.
3838

3939
For specific details related to models and backend, you can explore the various subsections.
4040

0 commit comments

Comments
 (0)