Skip to content

Commit e6540c1

Browse files
larryliu0820facebook-github-bot
authored andcommitted
Fix llama runner mac CI jobs (#2903)
Summary: In MacOS python will go look for `DYLD_LIBRARY_PATH` instead of `LD_LIBRARY_PATH` so add that fixes the CI failures. Pull Request resolved: #2903 Reviewed By: mergennachin, Jack-Khuu, GregoryComer Differential Revision: D55833147 Pulled By: larryliu0820 fbshipit-source-id: a28d58917d7e934d340237a04cb82079cf3f81d1
1 parent fd26666 commit e6540c1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.ci/scripts/test_llama.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ if [[ "${MODE}" == "xnnpack+kv+custom" ]]; then
139139
fi
140140
# Add dynamically linked library location
141141
export LD_LIBRARY_PATH=${PWD}/cmake-out/lib
142+
export DYLD_LIBRARY_PATH=${PWD}/cmake-out/lib
142143
$PYTHON_EXECUTABLE -m examples.models.llama2.export_llama ${EXPORT_ARGS}
143144

144145
# Create tokenizer.bin.

0 commit comments

Comments
 (0)