From 67f551ca46c2bcf8c8598d6749544bd335da8bdb Mon Sep 17 00:00:00 2001 From: Jie Fu Date: Fri, 25 Nov 2022 17:07:42 +0800 Subject: [PATCH] fix: torchvision version to avoid compatibility issue (#866) * fix: fix torchvision version to avoid compatibility issue * fix: fix torchvision version to avoid compatibility issue * fix: fix python version for torchvision * fix: fix python version for torchvision --- server/setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/setup.py b/server/setup.py index faaff6cfb..dfbf20a3e 100644 --- a/server/setup.py +++ b/server/setup.py @@ -45,7 +45,7 @@ 'ftfy', 'torch', 'regex', - 'torchvision', + 'torchvision<=0.13.0' if sys.version_info <= (3, 7, 2) else 'torchvision', 'jina>=3.8.0', 'prometheus-client', 'open_clip_torch>=1.3.0',