From cd2ac038182efaada3e6f9c90fd2b550cdb914c6 Mon Sep 17 00:00:00 2001 From: jamescalam <james.briggs@hotmail.com> Date: Sat, 30 Nov 2024 19:46:19 +0100 Subject: [PATCH] fix: version for torch --- poetry.lock | 8 ++++---- pyproject.toml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/poetry.lock b/poetry.lock index 668ba3e8..2dc1712e 100644 --- a/poetry.lock +++ b/poetry.lock @@ -13,13 +13,13 @@ files = [ [[package]] name = "aiohappyeyeballs" -version = "2.4.3" +version = "2.4.4" description = "Happy Eyeballs for asyncio" optional = false python-versions = ">=3.8" files = [ - {file = "aiohappyeyeballs-2.4.3-py3-none-any.whl", hash = "sha256:8a7a83727b2756f394ab2895ea0765a0a8c475e3c71e98d43d76f22b4b435572"}, - {file = "aiohappyeyeballs-2.4.3.tar.gz", hash = "sha256:75cf88a15106a5002a8eb1dab212525c00d1f4c0fa96e551c9fbe6f09a621586"}, + {file = "aiohappyeyeballs-2.4.4-py3-none-any.whl", hash = "sha256:a980909d50efcd44795c4afeca523296716d50cd756ddca6af8c65b996e27de8"}, + {file = "aiohappyeyeballs-2.4.4.tar.gz", hash = "sha256:5fdd7d87889c63183afc18ce9271f9b0a7d32c2303e394468dd45d514a757745"}, ] [[package]] @@ -5562,4 +5562,4 @@ vision = ["pillow", "torch", "torchvision", "transformers"] [metadata] lock-version = "2.0" python-versions = ">=3.9,<3.14" -content-hash = "7a8c31e645e649de60985ecb0ddec1aefcdeb1cfcbe23b47185a0bd18407a900" +content-hash = "160528513d3337745ae7bd1e2e57cc8ef061ce96a102ca257986a30f0668d8a7" diff --git a/pyproject.toml b/pyproject.toml index a6b71d9c..a0e58664 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -18,7 +18,7 @@ colorlog = "^6.8.0" pyyaml = "^6.0.1" aurelio-sdk = {version = "^0.0.16"} pinecone-text = {version = ">=0.7.1,<0.10.0", optional = true} -torch = {version = ">=2.1.0,<2.6.0", optional = true} +torch = {version = ">=2.1.0,<2.6.0", optional = true, python = "<3.13" } transformers = {version = ">=4.36.2", optional = true} tokenizers = {version = ">=0.19", optional = true} llama-cpp-python = {version = ">=0.2.28,<0.2.86", optional = true} -- GitLab