Skip to content

Commit 139392c

Browse files
nil-is-allNikhil Viswanath Sivakumar
authored andcommitted
parent 5021c18
author Nikhil Viswanath Sivakumar <[email protected]> 1741841357 -0500 committer Nikhil Viswanath Sivakumar <[email protected]> 1745433893 -0500 Migrate iOS Demo App parent 5021c18 author Nikhil Viswanath Sivakumar <[email protected]> 1741841357 -0500 committer Nikhil Viswanath Sivakumar <[email protected]> 1745433648 -0500 Migrate iOS Demo App Migrate iOS app demo as README.md Reproduced https://github.com/pytorch/executorch/tree/main/examples/demo-apps/apple_ios/ExecuTorchDemo and added last line in docs to point to this GitHub repo Changed file path to executorch-examples/mv3/apple/MobileNetV3Demo/README.md Changed directory and made changes after local testing Final directory: executorch-examples/mv3/apple/ExecuTorchDemo Changes from [current demo](https://pytorch.org/executorch/main/demo-apps-ios.html#): 1) Check Swift Package Manager version under Prerequisites 2) Export Model - export.py for backends 3) Directory changes in Final Steps Files for iOS MV3 Demo App export script for MV3.pte and XNNPack, CoreML, MPS backends Update README.md Rename mv3/apple/ExecuTorchDemo/export.py to mv3/apple/ExecuTorchDemo/python/export.py Removed export.py code block from README.md Added code formatting for Clone the Demo App subsection added snapshot url Delete mv3/apple/ExecuTorchDemo/ExecuTorchDemo/Resources/Models/MobileNet directory atomically migrated apple/ExecuTorch to mv3/apple/ExecuTorchDemo Updated directory structure to have python in mv3 folder fixed typo in .gitignore Update project.pbxproj to pin to 0.6.0 (#11) MV2 cpp and python example (#13) Update README.md (#12) * Update README.md * Update README.md fix directory and resolve conflicts MV2 cpp and python example (#13) Update .gitignore (#17)
1 parent 5021c18 commit 139392c

File tree

27 files changed

+279
-0
lines changed

27 files changed

+279
-0
lines changed

mv2/cpp/README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,22 @@ This is a simple C++ demo application that uses the ExecuTorch library for Mobil
3636

3737
- CMake 3.18 or higher
3838
- C++17 compatible compiler
39+
<<<<<<< HEAD
3940
- ExecuTorch library (release/0.6)
4041

4142
## Notes
4243

4344
- Make sure you have the correct model file (`.pte`) compatible with ExecuTorch.
4445
- This demo currently initializes the input tensor with random data. In a real application, you would replace this with actual input data.
46+
=======
47+
- ExecutorTorch library (release/0.6)
48+
49+
## Notes
50+
51+
- Make sure you have the correct model file (`.pte`) compatible with ExecutorTorch.
52+
- This demo currently initializes the input tensor with random data. In a real application, you would replace this with actual input data.
53+
<<<<<<< HEAD
54+
>>>>>>> 00ac48b (MV2 cpp and python example (#13))
55+
=======
56+
>>>>>>> 54b0238 (MV2 cpp and python example (#13))
57+
>>>>>>> 7d5f612 (MV2 cpp and python example (#13))

mv3/apple/ExecuTorchDemo/ExecuTorchDemo.xcodeproj/project.xcworkspace/contents.xcworkspacedata

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict/>
5+
</plist>

mv3/apple/ExecuTorchDemo/ExecuTorchDemo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved

Lines changed: 15 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>BuildLocationStyle</key>
6+
<string>UseAppPreferences</string>
7+
<key>CustomBuildLocationType</key>
8+
<string>RelativeToDerivedData</string>
9+
<key>DerivedDataLocationStyle</key>
10+
<string>Default</string>
11+
<key>ShowSharedSchemesAutomaticallyEnabled</key>
12+
<true/>
13+
</dict>
14+
</plist>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>SchemeUserState</key>
6+
<dict>
7+
<key>App.xcscheme_^#shared#^_</key>
8+
<dict>
9+
<key>orderHint</key>
10+
<integer>0</integer>
11+
</dict>
12+
<key>ImageClassification.xcscheme_^#shared#^_</key>
13+
<dict>
14+
<key>orderHint</key>
15+
<integer>2</integer>
16+
</dict>
17+
<key>MobileNetClassifier.xcscheme_^#shared#^_</key>
18+
<dict>
19+
<key>orderHint</key>
20+
<integer>3</integer>
21+
</dict>
22+
<key>MobileNetClassifierTest.xcscheme_^#shared#^_</key>
23+
<dict>
24+
<key>orderHint</key>
25+
<integer>1</integer>
26+
</dict>
27+
</dict>
28+
</dict>
29+
</plist>

0 commit comments

Comments
 (0)