Skip to content

Commit c276398

Browse files
authored
pnnx ci pin safetensors (#6236)
1 parent 9b91fe5 commit c276398

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/pnnx.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ jobs:
316316
pip3 install --user pytest wheel twine requests einops numpy==${{ matrix.numpy }} opencv-python==${{ matrix.opencv }}
317317
pip3 install --user torch==${{ matrix.torch }}+cpu torchvision==${{ matrix.torchvision }}+cpu torchaudio==${{ matrix.torchaudio }} --index-url https://download.pytorch.org/whl/cpu
318318
pip3 install --user onnx onnxscript
319-
pip3 install --user "transformers<=4.52.1" diffusers
319+
pip3 install --user "transformers<=4.52.1" diffusers "safetensors<=0.6.0"
320320
321321
- name: setup-pytorch-execstack-or-patchelf
322322
if: ${{ matrix.python }} == '3.8' || ${{ matrix.python }} == '3.9'

0 commit comments

Comments
 (0)