46
46
echo "$(uname -a)"
47
47
- name : Install dependencies
48
48
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
52
52
python3 -c 'import torch;print(f"torch: {torch.__version__, torch.version.git_version}")'
53
53
- name : Download checkpoints
54
54
run : |
82
82
echo "$(uname -a)"
83
83
- name : Install dependencies
84
84
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
88
88
python3 -c 'import torch;print(f"torch: {torch.__version__, torch.version.git_version}")'
89
89
- name : Download checkpoints
90
90
run : |
@@ -117,9 +117,9 @@ jobs:
117
117
echo "$(uname -a)"
118
118
- name : Install dependencies
119
119
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
123
123
python3 -c 'import torch;print(f"torch: {torch.__version__, torch.version.git_version}")'
124
124
- name : Download checkpoints
125
125
run : |
@@ -164,9 +164,9 @@ jobs:
164
164
echo "::endgroup::"
165
165
166
166
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
170
170
python3 -c 'import torch;print(f"torch: {torch.__version__, torch.version.git_version}")'
171
171
echo "::endgroup::"
172
172
@@ -206,9 +206,9 @@ jobs:
206
206
echo "::endgroup::"
207
207
208
208
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
212
212
python3 -c 'import torch;print(f"torch: {torch.__version__, torch.version.git_version}")'
213
213
echo "::endgroup::"
214
214
@@ -247,9 +247,9 @@ jobs:
247
247
echo "::endgroup::"
248
248
249
249
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
253
253
python3 -c 'import torch;print(f"torch: {torch.__version__, torch.version.git_version}")'
254
254
echo "::endgroup::"
255
255
@@ -287,12 +287,12 @@ jobs:
287
287
fi
288
288
- name : Install requirements
289
289
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
296
296
297
297
echo "Executorch: cloning"
298
298
mkdir etorch
@@ -436,9 +436,9 @@ jobs:
436
436
fi
437
437
- name : Install requirements
438
438
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
442
442
python3 -c 'import torch;print(f"torch: {torch.__version__, torch.version.git_version}")'
443
443
444
444
- name : Download Stories files
@@ -477,7 +477,7 @@ jobs:
477
477
set -x
478
478
# NS: Remove previous installation of torch first
479
479
# 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
481
481
set -eou pipefail
482
482
483
483
echo "::group::Print machine info"
@@ -488,10 +488,10 @@ jobs:
488
488
489
489
echo "::group::Install requirements"
490
490
# 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
492
492
ls -la
493
493
pwd
494
- pip install -r requirements.txt
494
+ pip3 install -r requirements.txt
495
495
python3 -c 'import torch;print(f"torch: {torch.__version__, torch.version.git_version}")'
496
496
echo "::endgroup::"
497
497
@@ -552,10 +552,10 @@ jobs:
552
552
fi
553
553
- name : Install requirements
554
554
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
559
559
python3 -c 'import torch;print(f"torch: {torch.__version__, torch.version.git_version}")'
560
560
561
561
git clone https://github.com/ggerganov/llama.cpp.git
@@ -586,7 +586,7 @@ jobs:
586
586
set -x
587
587
# NS: Remove previous installation of torch first
588
588
# 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
590
590
591
591
set -eou pipefail
592
592
@@ -598,10 +598,10 @@ jobs:
598
598
599
599
echo "::group::Install requirements"
600
600
# 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
602
602
ls -la
603
603
pwd
604
- pip install -r requirements.txt
604
+ pip3 install -r requirements.txt
605
605
python3 -c 'import torch;print(f"torch: {torch.__version__, torch.version.git_version}")'
606
606
echo "::endgroup::"
607
607
@@ -657,9 +657,9 @@ jobs:
657
657
fi
658
658
- name : Install requirements
659
659
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
663
663
python3 -c 'import torch;print(f"torch: {torch.__version__, torch.version.git_version}")'
664
664
- name : Download GGUF
665
665
run : |
@@ -731,8 +731,8 @@ jobs:
731
731
fi
732
732
- name : Install requirements
733
733
run : |
734
- echo "Intalling pip packages"
735
- pip install -r requirements.txt
734
+ echo "Intalling pip3 packages"
735
+ pip3 install -r requirements.txt
736
736
737
737
export TORCHCHAT_ROOT=${PWD}
738
738
bash scripts/build_native.sh et
@@ -780,9 +780,9 @@ jobs:
780
780
echo "$(uname -a)"
781
781
- name : Install dependencies
782
782
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
786
786
787
787
bash scripts/build_native.sh aoti
788
788
@@ -821,10 +821,10 @@ jobs:
821
821
fi
822
822
git submodule sync
823
823
git submodule update --init
824
- echo "Intalling pip packages"
825
- pip install cmake --upgrade
824
+ echo "Intalling pip3 packages"
825
+ pip3 install cmake --upgrade
826
826
cmake --version
827
- pip install -r requirements.txt
827
+ pip3 install -r requirements.txt
828
828
export TORCHCHAT_ROOT=${PWD}
829
829
pushd /tmp
830
830
wget https://dl.google.com/android/repository/android-ndk-r26c-linux.zip
0 commit comments