Skip to content

Commit 492eaad

Browse files
committed
ci : change python3 -> python
ggml-ci
1 parent 1d85043 commit 492eaad

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

ci/run.sh

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ function gg_run_open_llama_7b_v2 {
299299
(time cmake -DCMAKE_BUILD_TYPE=Release ${CMAKE_EXTRA} .. ) 2>&1 | tee -a $OUT/${ci}-cmake.log
300300
(time make -j$(nproc) ) 2>&1 | tee -a $OUT/${ci}-make.log
301301

302-
python3 ../examples/convert_legacy_llama.py ${path_models} --outfile ${path_models}/ggml-model-f16.gguf
302+
python ../examples/convert_legacy_llama.py ${path_models} --outfile ${path_models}/ggml-model-f16.gguf
303303

304304
model_f16="${path_models}/ggml-model-f16.gguf"
305305
model_q8_0="${path_models}/ggml-model-q8_0.gguf"
@@ -433,7 +433,7 @@ function gg_run_pythia_1_4b {
433433
(time cmake -DCMAKE_BUILD_TYPE=Release ${CMAKE_EXTRA} .. ) 2>&1 | tee -a $OUT/${ci}-cmake.log
434434
(time make -j$(nproc) ) 2>&1 | tee -a $OUT/${ci}-make.log
435435

436-
python3 ../convert_hf_to_gguf.py ${path_models} --outfile ${path_models}/ggml-model-f16.gguf
436+
python ../convert_hf_to_gguf.py ${path_models} --outfile ${path_models}/ggml-model-f16.gguf
437437

438438
model_f16="${path_models}/ggml-model-f16.gguf"
439439
model_q8_0="${path_models}/ggml-model-q8_0.gguf"
@@ -564,7 +564,7 @@ function gg_run_pythia_2_8b {
564564
(time cmake -DCMAKE_BUILD_TYPE=Release ${CMAKE_EXTRA} .. ) 2>&1 | tee -a $OUT/${ci}-cmake.log
565565
(time make -j$(nproc) ) 2>&1 | tee -a $OUT/${ci}-make.log
566566

567-
python3 ../convert_hf_to_gguf.py ${path_models} --outfile ${path_models}/ggml-model-f16.gguf
567+
python ../convert_hf_to_gguf.py ${path_models} --outfile ${path_models}/ggml-model-f16.gguf
568568

569569
model_f16="${path_models}/ggml-model-f16.gguf"
570570
model_q8_0="${path_models}/ggml-model-q8_0.gguf"
@@ -699,7 +699,7 @@ function gg_run_embd_bge_small {
699699
(time cmake -DCMAKE_BUILD_TYPE=Release ${CMAKE_EXTRA} .. ) 2>&1 | tee -a $OUT/${ci}-cmake.log
700700
(time make -j$(nproc) ) 2>&1 | tee -a $OUT/${ci}-make.log
701701

702-
python3 ../convert_hf_to_gguf.py ${path_models} --outfile ${path_models}/ggml-model-f16.gguf
702+
python ../convert_hf_to_gguf.py ${path_models} --outfile ${path_models}/ggml-model-f16.gguf
703703

704704
model_f16="${path_models}/ggml-model-f16.gguf"
705705
model_q8_0="${path_models}/ggml-model-q8_0.gguf"
@@ -747,7 +747,7 @@ function gg_run_rerank_tiny {
747747
(time cmake -DCMAKE_BUILD_TYPE=Release ${CMAKE_EXTRA} .. ) 2>&1 | tee -a $OUT/${ci}-cmake.log
748748
(time make -j$(nproc) ) 2>&1 | tee -a $OUT/${ci}-make.log
749749

750-
python3 ../convert_hf_to_gguf.py ${path_models} --outfile ${path_models}/ggml-model-f16.gguf
750+
python ../convert_hf_to_gguf.py ${path_models} --outfile ${path_models}/ggml-model-f16.gguf
751751

752752
model_f16="${path_models}/ggml-model-f16.gguf"
753753

@@ -814,8 +814,8 @@ if [ -z ${GG_BUILD_LOW_PERF} ]; then
814814
mkdir -p ${mnt_models}
815815
ln -sfn ${mnt_models} ${SRC}/models-mnt
816816

817-
# Create a fresh python3 venv and enter it
818-
if ! python3 -m venv "$MNT/venv"; then
817+
# Create a fresh python venv and enter it
818+
if ! python -m venv "$MNT/venv"; then
819819
echo "Error: Failed to create Python virtual environment at $MNT/venv."
820820
exit 1
821821
fi

0 commit comments

Comments
 (0)