make torch 2.2.2 pin explicit

This commit is contained in:
Paul Gauthier 2025-03-05 16:34:45 -08:00
parent 146f02d314
commit 66097f3507
3 changed files with 8 additions and 1 deletions

View file

@ -3,3 +3,7 @@ llama-index-embeddings-huggingface
# Because sentence-transformers doesn't like >=2
numpy<2
# Mac x86 only supports 2.2.2
# https://discuss.pytorch.org/t/why-no-macosx-x86-64-build-after-torch-2-2-2-cp39-none-macosx-10-9-x86-64-whl/204546/2
torch==2.2.2