Skip to content

Commit 7647ed9

Browse files
committed
up
1 parent 1a8e1d7 commit 7647ed9

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.ci/scripts/test_torchao_huggingface_checkpoints.sh

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,12 +107,14 @@ fi
107107
if [[ "$TEST_WITH_RUNNER" -eq 1 ]]; then
108108
echo "[runner] Building and testing llama_main ..."
109109
cmake --preset llm -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=cmake-out
110+
cmake --build cmake-out -j16 --target install --config Release
110111

111112
# Install llama runner
112-
cmake -DPYTHON_EXECUTABLE=python \
113-
-DCMAKE_BUILD_TYPE=Release \
114-
-Bcmake-out/examples/models/llama \
115-
examples/models/llama
113+
cmake -DCMAKE_INSTALL_PREFIX=cmake-out \
114+
-DBUILD_TESTING=OFF \
115+
-DCMAKE_BUILD_TYPE=Release \
116+
-Bcmake-out/examples/models/llama \
117+
examples/models/llama
116118
cmake --build cmake-out/examples/models/llama -j16 --config Release
117119

118120
# Run the model

0 commit comments

Comments
 (0)