4646 echo "$(uname -a)"
4747 - name : Install dependencies
4848 run : |
49- pip install --pre torch --index-url https://download.pytorch.org/whl/nightly/cpu
50- pip install -r requirements.txt
51- pip list
49+ pip3 install --pre torch --index-url https://download.pytorch.org/whl/nightly/cpu
50+ pip3 install -r requirements.txt
51+ pip3 list
5252 python3 -c 'import torch;print(f"torch: {torch.__version__, torch.version.git_version}")'
5353 - name : Download checkpoints
5454 run : |
8282 echo "$(uname -a)"
8383 - name : Install dependencies
8484 run : |
85- pip install --pre torch --index-url https://download.pytorch.org/whl/nightly/cpu
86- pip install -r requirements.txt
87- pip list
85+ pip3 install --pre torch --index-url https://download.pytorch.org/whl/nightly/cpu
86+ pip3 install -r requirements.txt
87+ pip3 list
8888 python3 -c 'import torch;print(f"torch: {torch.__version__, torch.version.git_version}")'
8989 - name : Download checkpoints
9090 run : |
@@ -117,9 +117,9 @@ jobs:
117117 echo "$(uname -a)"
118118 - name : Install dependencies
119119 run : |
120- pip install --pre torch --index-url https://download.pytorch.org/whl/nightly/cpu
121- pip install -r requirements.txt
122- pip list
120+ pip3 install --pre torch --index-url https://download.pytorch.org/whl/nightly/cpu
121+ pip3 install -r requirements.txt
122+ pip3 list
123123 python3 -c 'import torch;print(f"torch: {torch.__version__, torch.version.git_version}")'
124124 - name : Download checkpoints
125125 run : |
@@ -164,9 +164,9 @@ jobs:
164164 echo "::endgroup::"
165165
166166 echo "::group::Install required packages"
167- pip install --pre torch --index-url https://download.pytorch.org/whl/nightly/cu121
168- pip install -r ./requirements.txt
169- pip list
167+ pip3 install --pre torch --index-url https://download.pytorch.org/whl/nightly/cu121
168+ pip3 install -r ./requirements.txt
169+ pip3 list
170170 python3 -c 'import torch;print(f"torch: {torch.__version__, torch.version.git_version}")'
171171 echo "::endgroup::"
172172
@@ -206,9 +206,9 @@ jobs:
206206 echo "::endgroup::"
207207
208208 echo "::group::Install required packages"
209- pip install --pre torch --index-url https://download.pytorch.org/whl/nightly/cu121
210- pip install -r ./requirements.txt
211- pip list
209+ pip3 install --pre torch --index-url https://download.pytorch.org/whl/nightly/cu121
210+ pip3 install -r ./requirements.txt
211+ pip3 list
212212 python3 -c 'import torch;print(f"torch: {torch.__version__, torch.version.git_version}")'
213213 echo "::endgroup::"
214214
@@ -247,9 +247,9 @@ jobs:
247247 echo "::endgroup::"
248248
249249 echo "::group::Install required packages"
250- pip install --pre torch --index-url https://download.pytorch.org/whl/nightly/cu121
251- pip install -r ./requirements.txt
252- pip list
250+ pip3 install --pre torch --index-url https://download.pytorch.org/whl/nightly/cu121
251+ pip3 install -r ./requirements.txt
252+ pip3 list
253253 python3 -c 'import torch;print(f"torch: {torch.__version__, torch.version.git_version}")'
254254 echo "::endgroup::"
255255
@@ -287,12 +287,12 @@ jobs:
287287 fi
288288 - name : Install requirements
289289 run : |
290- echo "Intalling pip packages"
291- pip install wheel
292- pip install cmake
293- pip install ninja
294- pip install zstd
295- pip install -r requirements.txt
290+ echo "Intalling pip3 packages"
291+ pip3 install wheel
292+ pip3 install cmake
293+ pip3 install ninja
294+ pip3 install zstd
295+ pip3 install -r requirements.txt
296296
297297 echo "Executorch: cloning"
298298 mkdir etorch
@@ -436,9 +436,9 @@ jobs:
436436 fi
437437 - name : Install requirements
438438 run : |
439- echo "Installing pip packages"
440- pip install --pre torch --index-url https://download.pytorch.org/whl/nightly/cpu
441- pip install -r requirements.txt
439+ echo "Installing pip3 packages"
440+ pip3 install --pre torch --index-url https://download.pytorch.org/whl/nightly/cpu
441+ pip3 install -r requirements.txt
442442 python3 -c 'import torch;print(f"torch: {torch.__version__, torch.version.git_version}")'
443443
444444 - name : Download Stories files
@@ -477,7 +477,7 @@ jobs:
477477 set -x
478478 # NS: Remove previous installation of torch first
479479 # as this script does not isntall anything into conda env but rather as system dep
480- pip uninstall -y torch || true
480+ pip3 uninstall -y torch || true
481481 set -eou pipefail
482482
483483 echo "::group::Print machine info"
@@ -488,10 +488,10 @@ jobs:
488488
489489 echo "::group::Install requirements"
490490 # Install requirements
491- pip install --pre torch --index-url https://download.pytorch.org/whl/nightly/cpu
491+ pip3 install --pre torch --index-url https://download.pytorch.org/whl/nightly/cpu
492492 ls -la
493493 pwd
494- pip install -r requirements.txt
494+ pip3 install -r requirements.txt
495495 python3 -c 'import torch;print(f"torch: {torch.__version__, torch.version.git_version}")'
496496 echo "::endgroup::"
497497
@@ -552,10 +552,10 @@ jobs:
552552 fi
553553 - name : Install requirements
554554 run : |
555- echo "Intalling pip packages"
556- pip install gguf
557- pip install --pre torch --index-url https://download.pytorch.org/whl/nightly/cpu
558- pip install -r requirements.txt
555+ echo "Intalling pip3 packages"
556+ pip3 install gguf
557+ pip3 install --pre torch --index-url https://download.pytorch.org/whl/nightly/cpu
558+ pip3 install -r requirements.txt
559559 python3 -c 'import torch;print(f"torch: {torch.__version__, torch.version.git_version}")'
560560
561561 git clone https://github.com/ggerganov/llama.cpp.git
@@ -586,7 +586,7 @@ jobs:
586586 set -x
587587 # NS: Remove previous installation of torch first
588588 # as this script does not isntall anything into conda env but rather as system dep
589- pip uninstall -y torch || true
589+ pip3 uninstall -y torch || true
590590
591591 set -eou pipefail
592592
@@ -598,10 +598,10 @@ jobs:
598598
599599 echo "::group::Install requirements"
600600 # Install requirements
601- pip install --pre torch --index-url https://download.pytorch.org/whl/nightly/cpu
601+ pip3 install --pre torch --index-url https://download.pytorch.org/whl/nightly/cpu
602602 ls -la
603603 pwd
604- pip install -r requirements.txt
604+ pip3 install -r requirements.txt
605605 python3 -c 'import torch;print(f"torch: {torch.__version__, torch.version.git_version}")'
606606 echo "::endgroup::"
607607
@@ -657,9 +657,9 @@ jobs:
657657 fi
658658 - name : Install requirements
659659 run : |
660- pip install gguf
661- pip install --pre torch --index-url https://download.pytorch.org/whl/nightly/cpu
662- pip install -r requirements.txt
660+ pip3 install gguf
661+ pip3 install --pre torch --index-url https://download.pytorch.org/whl/nightly/cpu
662+ pip3 install -r requirements.txt
663663 python3 -c 'import torch;print(f"torch: {torch.__version__, torch.version.git_version}")'
664664 - name : Download GGUF
665665 run : |
@@ -731,8 +731,8 @@ jobs:
731731 fi
732732 - name : Install requirements
733733 run : |
734- echo "Intalling pip packages"
735- pip install -r requirements.txt
734+ echo "Intalling pip3 packages"
735+ pip3 install -r requirements.txt
736736
737737 export TORCHCHAT_ROOT=${PWD}
738738 bash scripts/build_native.sh et
@@ -780,9 +780,9 @@ jobs:
780780 echo "$(uname -a)"
781781 - name : Install dependencies
782782 run : |
783- pip install --pre torch --index-url https://download.pytorch.org/whl/nightly/cpu
784- pip install -r requirements.txt
785- pip list
783+ pip3 install --pre torch --index-url https://download.pytorch.org/whl/nightly/cpu
784+ pip3 install -r requirements.txt
785+ pip3 list
786786
787787 bash scripts/build_native.sh aoti
788788
@@ -821,10 +821,10 @@ jobs:
821821 fi
822822 git submodule sync
823823 git submodule update --init
824- echo "Intalling pip packages"
825- pip install cmake --upgrade
824+ echo "Intalling pip3 packages"
825+ pip3 install cmake --upgrade
826826 cmake --version
827- pip install -r requirements.txt
827+ pip3 install -r requirements.txt
828828 export TORCHCHAT_ROOT=${PWD}
829829 pushd /tmp
830830 wget https://dl.google.com/android/repository/android-ndk-r26c-linux.zip
0 commit comments