From 8c94025ad27821994ec072885271acac88fbb7b8 Mon Sep 17 00:00:00 2001 From: Matt Date: Tue, 30 Jan 2024 19:01:28 +0000 Subject: [PATCH] Pin torch version --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index ef8263c671d..4e325df1a36 100644 --- a/setup.py +++ b/setup.py @@ -54,7 +54,7 @@ ] }, python_requires=">=3.8.0", - install_requires=["numpy>=1.17", "packaging>=20.0", "psutil", "pyyaml", "torch>=1.10.0", "huggingface_hub", "safetensors>=0.3.1"], + install_requires=["numpy>=1.17", "packaging>=20.0", "psutil", "pyyaml", "torch>=1.10.0,<2.2.0", "huggingface_hub", "safetensors>=0.3.1"], extras_require=extras, classifiers=[ "Development Status :: 5 - Production/Stable",