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

@ -478,7 +478,9 @@ tokenizers==0.21.0
toml==0.10.2
# via streamlit
torch==2.2.2
# via sentence-transformers
# via
# -r requirements/requirements-help.in
# sentence-transformers
tornado==6.4.2
# via streamlit
tqdm==4.67.1

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

View file

@ -253,6 +253,7 @@ tokenizers==0.21.0
torch==2.2.2
# via
# -c requirements/common-constraints.txt
# -r requirements/requirements-help.in
# sentence-transformers
tqdm==4.67.1
# via