From 96f8da2affd22dd718003536cfeb6ca1a75942a4 Mon Sep 17 00:00:00 2001 From: myhloli Date: Thu, 26 Dec 2024 15:39:14 +0800 Subject: [PATCH] build(deps): upgrade unimernet to 0.2.3 - Update unimernet from 0.2.2 to 0.2.3 in requirements-docker.txt and setup.py - Remove torchtext/eva-decord dependency --- requirements-docker.txt | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements-docker.txt b/requirements-docker.txt index 7c340485..7397b364 100644 --- a/requirements-docker.txt +++ b/requirements-docker.txt @@ -7,7 +7,7 @@ numpy>=1.21.6,<2.0.0 fast-langdetect==0.2.0 scikit-learn>=1.0.2 pdfminer.six==20231228 -unimernet==0.2.2 +unimernet==0.2.3 torch>=2.2.2,<=2.3.1 torchvision>=0.17.2,<=0.18.1 matplotlib diff --git a/setup.py b/setup.py index b7c69f85..743bd4c0 100644 --- a/setup.py +++ b/setup.py @@ -36,7 +36,7 @@ def parse_requirements(filename): "paddlepaddle==3.0.0b1;platform_system=='Linux'", "paddlepaddle==2.6.1;platform_system=='Windows' or platform_system=='Darwin'", ], - "full": ["unimernet==0.2.2", # unimernet升级0.2.2,移除torchtext的依赖 + "full": ["unimernet==0.2.3", # unimernet升级0.2.3,移除torchtext/eva-decord的依赖 "torch>=2.2.2,<=2.3.1", # torch2.4.0及之后版本未测试,先卡住版本上限 "torchvision>=0.17.2,<=0.18.1", # torchvision 受torch版本约束 "matplotlib<=3.9.0;platform_system=='Windows'", # 3.9.1及之后不提供windows的预编译包,避免一些没有编译环境的windows设备安装失败