Skip to content

Commit

Permalink
fix: CI problems with example app, remove style transfer features fro…
Browse files Browse the repository at this point in the history
…m llama app
  • Loading branch information
NorbertKlockiewicz committed Dec 5, 2024
1 parent 741fbdc commit 99cf9ff
Show file tree
Hide file tree
Showing 15 changed files with 11 additions and 246 deletions.
3 changes: 1 addition & 2 deletions examples/llama/App.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { useFonts } from 'expo-font';
import { SafeAreaProvider } from 'react-native-safe-area-context';
import ChatScreen from './screens/ChatScreen';
import StyleTransfer from './screens/StyleTransfer';

export default function App() {
useFonts({
Expand All @@ -11,7 +10,7 @@ export default function App() {

return (
<SafeAreaProvider>
<StyleTransfer />
<ChatScreen />
</SafeAreaProvider>
);
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
29 changes: 2 additions & 27 deletions examples/llama/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1277,28 +1277,7 @@ PODS:
- ReactCommon/turbomodule/bridging
- ReactCommon/turbomodule/core
- Yoga
- react-native-executorch (0.1.504):
- DoubleConversion
- glog
- hermes-engine
- RCT-Folly (= 2024.01.01.00)
- RCTRequired
- RCTTypeSafety
- React-Core
- React-debug
- React-Fabric
- React-featureflags
- React-graphics
- React-ImageManager
- React-NativeModulesApple
- React-RCTFabric
- React-rendererdebug
- React-utils
- ReactCodegen
- ReactCommon/turbomodule/bridging
- ReactCommon/turbomodule/core
- Yoga
- react-native-image-picker (7.2.2):
- react-native-executorch (0.1.3):
- DoubleConversion
- glog
- hermes-engine
Expand Down Expand Up @@ -1831,7 +1810,6 @@ DEPENDENCIES:
- React-Mapbuffer (from `../node_modules/react-native/ReactCommon`)
- React-microtasksnativemodule (from `../node_modules/react-native/ReactCommon/react/nativemodule/microtasks`)
- react-native-executorch (from `../node_modules/react-native-executorch`)
- react-native-image-picker (from `../node_modules/react-native-image-picker`)
- react-native-safe-area-context (from `../node_modules/react-native-safe-area-context`)
- React-nativeconfig (from `../node_modules/react-native/ReactCommon`)
- React-NativeModulesApple (from `../node_modules/react-native/ReactCommon/react/nativemodule/core/platform/ios`)
Expand Down Expand Up @@ -1956,8 +1934,6 @@ EXTERNAL SOURCES:
:path: "../node_modules/react-native/ReactCommon/react/nativemodule/microtasks"
react-native-executorch:
:path: "../node_modules/react-native-executorch"
react-native-image-picker:
:path: "../node_modules/react-native-image-picker"
react-native-safe-area-context:
:path: "../node_modules/react-native-safe-area-context"
React-nativeconfig:
Expand Down Expand Up @@ -2064,8 +2040,7 @@ SPEC CHECKSUMS:
React-logger: 26155dc23db5c9038794db915f80bd2044512c2e
React-Mapbuffer: ad1ba0205205a16dbff11b8ade6d1b3959451658
React-microtasksnativemodule: e771eb9eb6ace5884ee40a293a0e14a9d7a4343c
react-native-executorch: b336f7e2290e8d1a280c98bb822dd2fed9578496
react-native-image-picker: bfb56e2b39dc63abfcc6de44ee239c6633f47d66
react-native-executorch: 8bb22fa382560ec6b48679f1d82ebd752e5cecb5
react-native-safe-area-context: 2500e4fe998caad50ad3bc51ec23ef951308569e
React-nativeconfig: aeed6e2a8ac02b2df54476afcc7c663416c12bf7
React-NativeModulesApple: c5b7813da94136f50ef084fa1ac077332dcfc658
Expand Down
6 changes: 2 additions & 4 deletions examples/llama/ios/llama.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -250,12 +250,12 @@
inputPaths = (
"${PODS_ROOT}/Target Support Files/Pods-llama/Pods-llama-frameworks.sh",
"${PODS_XCFRAMEWORKS_BUILD_DIR}/hermes-engine/Pre-built/hermes.framework/hermes",
"${PODS_XCFRAMEWORKS_BUILD_DIR}/react-native-executorch/ExecutorchLib.framework/ExecutorchLib",
"${PODS_XCFRAMEWORKS_BUILD_DIR}/react-native-executorch/LLaMARunner.framework/LLaMARunner",
);
name = "[CP] Embed Pods Frameworks";
outputPaths = (
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/hermes.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/ExecutorchLib.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/LLaMARunner.framework",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
Expand Down Expand Up @@ -317,7 +317,6 @@
"${PODS_CONFIGURATION_BUILD_DIR}/React-Core/React-Core_privacy.bundle",
"${PODS_CONFIGURATION_BUILD_DIR}/React-cxxreact/React-cxxreact_privacy.bundle",
"${PODS_CONFIGURATION_BUILD_DIR}/boost/boost_privacy.bundle",
"${PODS_CONFIGURATION_BUILD_DIR}/react-native-image-picker/RNImagePickerPrivacyInfo.bundle",
);
name = "[CP] Copy Pods Resources";
outputPaths = (
Expand All @@ -328,7 +327,6 @@
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/React-Core_privacy.bundle",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/React-cxxreact_privacy.bundle",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/boost_privacy.bundle",
"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/RNImagePickerPrivacyInfo.bundle",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
Expand Down
3 changes: 1 addition & 2 deletions examples/llama/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@
"metro-config": "^0.81.0",
"react": "18.3.1",
"react-native": "0.76.3",
"react-native-executorch": "^0.1.2",
"react-native-image-picker": "^7.2.2",
"react-native-executorch": "^0.1.3",
"react-native-loading-spinner-overlay": "^3.0.1",
"react-native-markdown-display": "^7.0.2",
"react-native-reanimated": "^3.16.3",
Expand Down
157 changes: 0 additions & 157 deletions examples/llama/screens/StyleTransfer.tsx

This file was deleted.

38 changes: 0 additions & 38 deletions examples/llama/utils/utils.ts

This file was deleted.

21 changes: 5 additions & 16 deletions examples/llama/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5269,8 +5269,7 @@ __metadata:
metro-config: ^0.81.0
react: 18.3.1
react-native: 0.76.3
react-native-executorch: /Users/norbertklockiewicz/Desktop/work/react-native-executorch/react-native-executorch-0.1.464.tgz
react-native-image-picker: ^7.2.2
react-native-executorch: ^0.1.3
react-native-loading-spinner-overlay: ^3.0.1
react-native-markdown-display: ^7.0.2
react-native-reanimated: ^3.16.3
Expand Down Expand Up @@ -6702,13 +6701,13 @@ __metadata:
languageName: node
linkType: hard

"react-native-executorch@file:/Users/norbertklockiewicz/Desktop/work/react-native-executorch/react-native-executorch-0.1.464.tgz::locator=llama%40workspace%3A.":
version: 0.1.464
resolution: "react-native-executorch@file:/Users/norbertklockiewicz/Desktop/work/react-native-executorch/react-native-executorch-0.1.464.tgz::locator=llama%40workspace%3A."
"react-native-executorch@npm:^0.1.3":
version: 0.1.3
resolution: "react-native-executorch@npm:0.1.3"
peerDependencies:
react: "*"
react-native: "*"
checksum: 062706e8bc743214c09b3845d532d45fc063f38da442f1a1fffc0432df497d6b31f10e71949f5bc6aaab88d59430e2a5b41687df14f5584db76d0a0eb9618973
checksum: b49f8ca9ae8a7de4a7f2263887537626859507c7d60af47360515b405c7778b48c4c067074e7ce7857782a6737cf47cf5dadada03ae9319a6bf577f8490f431d
languageName: node
linkType: hard

Expand All @@ -6721,16 +6720,6 @@ __metadata:
languageName: node
linkType: hard

"react-native-image-picker@npm:^7.2.2":
version: 7.2.2
resolution: "react-native-image-picker@npm:7.2.2"
peerDependencies:
react: "*"
react-native: "*"
checksum: 34289e29a28c3f8d869db46fdf5bfdeec8b37221ee4dcd9a63698b106f0097d11f4c40f3a2789c23a728dc94e37e02a0cf61add80aa04ffe60a6cf82115cddea
languageName: node
linkType: hard

"react-native-loading-spinner-overlay@npm:^3.0.1":
version: 3.0.1
resolution: "react-native-loading-spinner-overlay@npm:3.0.1"
Expand Down

0 comments on commit 99cf9ff

Please sign in to comment.