@@ -49,12 +49,13 @@ jobs:
49
49
pip install --pre torch --index-url https://download.pytorch.org/whl/nightly/cpu
50
50
pip install -r requirements.txt
51
51
pip list
52
+ python3 -c 'import torch;print(f"torch: {torch.__version__, torch.version.git_version}")'
52
53
- name : Download checkpoints
53
54
run : |
54
55
bash ${TORCHCHAT_ROOT}/.ci/scripts/wget_checkpoint.sh ${{ matrix.repo_name }} "${{ matrix.resources }}"
55
56
- name : Run validation
56
57
run : |
57
- python3 -c " import torch;print(torch.__version__, torch.version.git_version)"
58
+ python3 -c ' import torch;print(f" torch: {torch .__version__, torch.version.git_version}")'
58
59
pushd ${TORCHCHAT_ROOT}
59
60
bash .ci/scripts/convert_checkpoint.sh ${REPO_NAME}
60
61
bash .ci/scripts/validate.sh "./checkpoints/${REPO_NAME}/model.pth" "cpu" "compile"
83
84
pip install --pre torch --index-url https://download.pytorch.org/whl/nightly/cpu
84
85
pip install -r requirements.txt
85
86
pip list
87
+ python3 -c 'import torch;print(f"torch: {torch.__version__, torch.version.git_version}")'
86
88
- name : Download checkpoints
87
89
run : |
88
90
bash ${TORCHCHAT_ROOT}/.ci/scripts/wget_checkpoint.sh ${{ matrix.repo_name }} "${{ matrix.resources }}"
@@ -127,6 +129,7 @@ jobs:
127
129
pip install --pre torch --index-url https://download.pytorch.org/whl/nightly/cu121
128
130
pip install -r ./requirements.txt
129
131
pip list
132
+ python3 -c 'import torch;print(f"torch: {torch.__version__, torch.version.git_version}")'
130
133
echo "::endgroup::"
131
134
132
135
echo "::group::Download checkpoint"
@@ -161,6 +164,7 @@ jobs:
161
164
pip install --pre torch --index-url https://download.pytorch.org/whl/nightly/cu121
162
165
pip install -r ./requirements.txt
163
166
pip list
167
+ python3 -c 'import torch;print(f"torch: {torch.__version__, torch.version.git_version}")'
164
168
echo "::endgroup::"
165
169
166
170
echo "::group::Download checkpoint"
@@ -217,6 +221,10 @@ jobs:
217
221
echo "Executorch: installing python interface"
218
222
./install_requirements.sh --pybind xnnpack
219
223
224
+ python3 -c 'import torch;print(f"torch: {torch.__version__, torch.version.git_version}")'
225
+ python3 -c 'import torchvision;print(f"torchvision: {torchvision.__version__, torchvision.version.git_version}")'
226
+ python3 -c 'import torchaudio;print(f"torchaudio: {torchaudio.__version__, torchaudio.version.git_version}")'
227
+
220
228
cd ../..
221
229
echo "Inside: ${PWD}"
222
230
- name : Download checkpoints
@@ -329,6 +337,7 @@ jobs:
329
337
echo "Installing pip packages"
330
338
pip install --pre torch --index-url https://download.pytorch.org/whl/nightly/cpu
331
339
pip install -r requirements.txt
340
+ python3 -c 'import torch;print(f"torch: {torch.__version__, torch.version.git_version}")'
332
341
333
342
- name : Download Stories files
334
343
run : |
@@ -375,6 +384,7 @@ jobs:
375
384
run : |
376
385
pip install --pre torch --index-url https://download.pytorch.org/whl/nightly/cpu
377
386
pip install -r requirements.txt
387
+ python3 -c 'import torch;print(f"torch: {torch.__version__, torch.version.git_version}")'
378
388
- name : Download checkpoints
379
389
run : |
380
390
mkdir -p checkpoints/stories15M
@@ -455,6 +465,7 @@ jobs:
455
465
ls -la
456
466
pwd
457
467
pip install -r requirements.txt
468
+ python3 -c 'import torch;print(f"torch: {torch.__version__, torch.version.git_version}")'
458
469
echo "::endgroup::"
459
470
460
471
echo "::group::Download checkpoints"
@@ -524,6 +535,7 @@ jobs:
524
535
pip install gguf
525
536
pip install --pre torch --index-url https://download.pytorch.org/whl/nightly/cpu
526
537
pip install -r requirements.txt
538
+ python3 -c 'import torch;print(f"torch: {torch.__version__, torch.version.git_version}")'
527
539
528
540
git clone https://github.com/ggerganov/llama.cpp.git
529
541
pushd llama.cpp
@@ -554,7 +566,7 @@ jobs:
554
566
# NS: Remove previous installation of torch first
555
567
# as this script does not isntall anything into conda env but rather as system dep
556
568
pip uninstall -y torch || true
557
-
569
+
558
570
set -eou pipefail
559
571
560
572
echo "::group::Print machine info"
@@ -569,6 +581,7 @@ jobs:
569
581
ls -la
570
582
pwd
571
583
pip install -r requirements.txt
584
+ python3 -c 'import torch;print(f"torch: {torch.__version__, torch.version.git_version}")'
572
585
echo "::endgroup::"
573
586
574
587
echo "::group::Download checkpoints"
@@ -632,6 +645,7 @@ jobs:
632
645
pip install gguf
633
646
pip install --pre torch --index-url https://download.pytorch.org/whl/nightly/cpu
634
647
pip install -r requirements.txt
648
+ python3 -c 'import torch;print(f"torch: {torch.__version__, torch.version.git_version}")'
635
649
- name : Download GGUF
636
650
run : |
637
651
mkdir gguf_files
@@ -712,6 +726,9 @@ jobs:
712
726
export TORCHCHAT_ROOT=${PWD}
713
727
export ENABLE_ET_PYBIND=false
714
728
./scripts/install_et.sh $ENABLE_ET_PYBIND
729
+ python3 -c 'import torch;print(f"torch: {torch.__version__, torch.version.git_version}")'
730
+ python3 -c 'import torchvision;print(f"torchvision: {torchvision.__version__, torchvision.version.git_version}")'
731
+ python3 -c 'import torchaudio;print(f"torchaudio: {torchaudio.__version__, torchaudio.version.git_version}")'
715
732
cmake -S ./runner-et -B et-build/cmake-out -G Ninja
716
733
cmake --build ./et-build/cmake-out
717
734
- name : Download checkpoints
0 commit comments