-
Notifications
You must be signed in to change notification settings - Fork 608
Fix apple benchmark app installation issue caused by not installing sentencepiece #11834
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…entencepiece Now compiling `text_llm_runner.cpp` requires a dependency to `libsentencepiece.a` and Xcode requires that library to be installed at a directory in ${TEMP_DIR}/cmake/lib For example on my laptop: ``` /Users/larryliu/Library/Developer/Xcode/DerivedData/Benchmark-dvseychddztwtucwgxpumwmyedfh/Build/Intermediates.noindex/Benchmark.build/Release-iphoneos/Tests.build/cmake/lib ``` Currently we don't install sentencepiece, this PR changes it to install it.
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/11834
Note: Links to docs will display an error until the docs builds have been completed. ✅ You can merge normally! (2 Unrelated Failures)As of commit bbbd91c with merge base 496cb05 ( FLAKY - The following job failed but was likely due to flakiness present on trunk:
BROKEN TRUNK - The following job failed but was present on the merge base:👉 Rebase onto the `viable/strict` branch to avoid these failures
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
Is this also applicable to the LLaMA demo app? |
Yep you are right, let me add that |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apple / build-benchmark-app
passed. Accepted to unblock continuous benchmarking
…entencepiece (pytorch#11834) Currently compiling `text_llm_runner.cpp` requires a dependency to `libsentencepiece.a` and Xcode requires that library to be installed at a directory in ${TEMP_DIR}/cmake/lib For example on my laptop: ``` /Users/larryliu/Library/Developer/Xcode/DerivedData/Benchmark-dvseychddztwtucwgxpumwmyedfh/Build/Intermediates.noindex/Benchmark.build/Release-iphoneos/Tests.build/cmake/lib ``` Before we don't install sentencepiece, this PR changes it to install it. To see the diff clearly: use this link https://www.internalfb.com/intern/diffing/?paste_number=1846901681 <img width="2446" alt="Screenshot 2025-06-20 at 2 28 19 PM" src="https://github.com/user-attachments/assets/3d316b92-c2f9-44ae-9c77-b70f81314224" />
Currently compiling
text_llm_runner.cpp
requires a dependency tolibsentencepiece.a
and Xcode requires that library to be installedat a directory in ${TEMP_DIR}/cmake/lib
For example on my laptop:
Before we don't install sentencepiece, this PR changes it to install it.
To see the diff clearly: use this link https://www.internalfb.com/intern/diffing/?paste_number=1846901681