From 4541dcc6ac38800845307797289307eb8b47b011 Mon Sep 17 00:00:00 2001 From: lucylq Date: Thu, 10 Apr 2025 14:47:16 -0700 Subject: [PATCH] llama doc update (#10082) See error from: https://github.com/pytorch/executorch/issues/10063 (cherry picked from commit cea9d1c68d0780f383fce6db00f9bd9788728229) --- examples/models/llama/README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/examples/models/llama/README.md b/examples/models/llama/README.md index a5f513e931d..93ef71769b5 100644 --- a/examples/models/llama/README.md +++ b/examples/models/llama/README.md @@ -548,3 +548,22 @@ clang: error: linker command failed with exit code 1 (use -v to see invocation) ``` It's a known issue for Xcode version 15.1. Mitigation: update to most recent Xcode version, clean and rebuild. + +- If you encounter issues with missing abseil-cpp or re2, try running `git submodule update --init --recursive` to pull in those submodules. +Example error: +``` +CMake Error at runner/CMakeLists.txt:68 (add_subdirectory): + The source directory + + /Users/../executorch/extension/llm/tokenizers/third-party/abseil-cpp + + does not contain a CMakeLists.txt file. + + +CMake Error at runner/CMakeLists.txt:72 (add_subdirectory): + The source directory + + /Users/../executorch/extension/llm/tokenizers/third-party/re2 + + does not contain a CMakeLists.txt file. +```