Skip to content

Commit df945bb

Browse files
committed
Fix llama runner mac CI jobs
In MacOS python will go look for `DYLD_LIBRARY_PATH` instead of `LD_LIBRARY_PATH` so add that fixes the CI failures.
1 parent 020d8be commit df945bb

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)