Skip to content

Commit f94b0ff

Browse files
committed
fix: readme
1 parent 24fd6ac commit f94b0ff

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

examples/demo-apps/react-native/rnllama/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ A React Native mobile application for running LLaMA language models using ExecuT
1010

1111
- Run LLaMA models directly on device, build the UI using React Native
1212
- Tested using Llama 3.2 SpinQuant 1B on iPhone 12 Pro
13+
- The setup is heavily inspired by the [LLaMA iOS app example](https://github.com/pytorch/executorch/tree/main/examples/demo-apps/apple_ios/LLaMA)
1314

1415

1516
## Prerequisites
@@ -29,13 +30,13 @@ A React Native mobile application for running LLaMA language models using ExecuT
2930

3031
6. Navigate to the example: `cd examples/demo-apps/react-native/rnllama`
3132

32-
7. Install dependencies: `npm install`
33+
7. Install dependencies: `npm install && cd ios && pod install && cd ..`
3334

3435
8. Run the app: `npx expo run:ios --device` and select a USB connected iOS device
3536

3637
9. Find the device in finder, and place the exported `.pte` model and the downloaded tokenizer under the app.
3738

3839
10. Select the model and tokenizer in the app to start chatting:
3940

40-
![Select model](./assets/images/select_model.png)
41+
[![rnllama]](https://github.com/user-attachments/assets/0ca5a258-a248-4247-9e09-451945c1014b)
4142

examples/demo-apps/react-native/rnllama/ios/rnllama/SplashScreen.storyboard

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<scene sceneID="EXPO-SCENE-1">
1313
<objects>
1414
<viewController storyboardIdentifier="SplashScreenViewController" id="EXPO-VIEWCONTROLLER-1" sceneMemberID="viewController">
15-
<viecw key="view" userInteractionEnabled="NO" contentMode="scaleToFill" insetsLayoutMarginsFromSafeArea="NO" id="EXPO-ContainerView" userLabel="ContainerView">
15+
<view key="view" userInteractionEnabled="NO" contentMode="scaleToFill" insetsLayoutMarginsFromSafeArea="NO" id="EXPO-ContainerView" userLabel="ContainerView">
1616
<rect key="frame" x="0.0" y="0.0" width="393" height="852"/>
1717
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
1818
<subviews>

0 commit comments

Comments
 (0)