Skip to content

Commit 6323f28

Browse files
authored
Merge pull request #1682 from myhloli/dev
build(deps): update dependency versions
2 parents 80fd937 + 289b76f commit 6323f28

File tree

6 files changed

+13
-13
lines changed

6 files changed

+13
-13
lines changed

docker/ascend_npu/requirements.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ torchvision>=0.17.2,<=0.18.1
1313
matplotlib
1414
ultralytics>=8.3.48
1515
paddleocr==2.7.3
16-
paddlepaddle==3.0.0b1
16+
paddlepaddle==3.0.0rc1
1717
struct-eqtable==0.3.2
1818
einops
1919
accelerate
20-
rapidocr-paddle
21-
rapidocr-onnxruntime
20+
rapidocr-paddle>=1.4.5,<2.0.0
21+
rapidocr-onnxruntime>=1.4.4,<2.0.0
2222
rapid-table>=1.0.3,<2.0.0
2323
doclayout-yolo==0.0.2b1
2424
openai

docker/china/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ RUN /bin/bash -c "source /opt/mineru_venv/bin/activate && \
3232
pip3 install --upgrade pip -i https://mirrors.aliyun.com/pypi/simple && \
3333
wget https://gcore.jsdelivr.net/gh/opendatalab/MinerU@master/docker/china/requirements.txt -O requirements.txt && \
3434
pip3 install -r requirements.txt --extra-index-url https://wheels.myhloli.com -i https://mirrors.aliyun.com/pypi/simple && \
35-
pip3 install paddlepaddle-gpu==3.0.0b1 -i https://www.paddlepaddle.org.cn/packages/stable/cu118/"
35+
pip3 install paddlepaddle-gpu==3.0.0rc1 -i https://www.paddlepaddle.org.cn/packages/stable/cu118/"
3636

3737
# Copy the configuration file template and install magic-pdf latest
3838
RUN /bin/bash -c "wget https://gcore.jsdelivr.net/gh/opendatalab/MinerU@master/magic-pdf.template.json && \

docker/china/requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ paddleocr==2.7.3
1616
struct-eqtable==0.3.2
1717
einops
1818
accelerate
19-
rapidocr-paddle
20-
rapidocr-onnxruntime
19+
rapidocr-paddle>=1.4.5,<2.0.0
20+
rapidocr-onnxruntime>=1.4.4,<2.0.0
2121
rapid-table>=1.0.3,<2.0.0
2222
doclayout-yolo==0.0.2b1
2323
openai

docker/global/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ RUN /bin/bash -c "source /opt/mineru_venv/bin/activate && \
3232
pip3 install --upgrade pip && \
3333
wget https://github.com/opendatalab/MinerU/raw/master/docker/global/requirements.txt -O requirements.txt && \
3434
pip3 install -r requirements.txt --extra-index-url https://wheels.myhloli.com && \
35-
pip3 install paddlepaddle-gpu==3.0.0b1 -i https://www.paddlepaddle.org.cn/packages/stable/cu118/"
35+
pip3 install paddlepaddle-gpu==3.0.0rc1 -i https://www.paddlepaddle.org.cn/packages/stable/cu118/"
3636

3737
# Copy the configuration file template and install magic-pdf latest
3838
RUN /bin/bash -c "wget https://github.com/opendatalab/MinerU/raw/master/magic-pdf.template.json && \

docker/global/requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ paddleocr==2.7.3
1616
struct-eqtable==0.3.2
1717
einops
1818
accelerate
19-
rapidocr-paddle
20-
rapidocr-onnxruntime
19+
rapidocr-paddle>=1.4.5,<2.0.0
20+
rapidocr-onnxruntime>=1.4.4,<2.0.0
2121
rapid-table>=1.0.3,<2.0.0
2222
doclayout-yolo==0.0.2b1
2323
openai

setup.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,14 @@ def parse_requirements(filename):
4343
"matplotlib;platform_system=='Linux' or platform_system=='Darwin'", # linux 和 macos 不应限制matplotlib的最高版本,以避免无法更新导致的一些bug
4444
"ultralytics>=8.3.48", # yolov8,公式检测
4545
"paddleocr==2.7.3", # 2.8.0及2.8.1版本与detectron2有冲突,需锁定2.7.3
46-
"paddlepaddle==3.0.0b1;platform_system=='Linux'", # 解决linux的段异常问题
47-
"paddlepaddle==2.6.1;platform_system=='Windows' or platform_system=='Darwin'", # windows版本3.0.0b1效率下降,需锁定2.6.1
46+
"paddlepaddle==3.0.0rc1;platform_system=='Linux' or platform_system=='Darwin'", # 解决linux的段异常问题
47+
"paddlepaddle==2.6.1;platform_system=='Windows'", # windows版本3.0.0效率下降,需锁定2.6.1
4848
"struct-eqtable==0.3.2", # 表格解析
4949
"einops", # struct-eqtable依赖
5050
"accelerate", # struct-eqtable依赖
5151
"doclayout_yolo==0.0.2b1", # doclayout_yolo
52-
"rapidocr-paddle", # rapidocr-paddle
53-
"rapidocr_onnxruntime",
52+
"rapidocr-paddle>=1.4.5,<2.0.0", # rapidocr-paddle
53+
"rapidocr_onnxruntime>=1.4.4,<2.0.0",
5454
"rapid_table>=1.0.3,<2.0.0", # rapid_table
5555
"PyYAML", # yaml
5656
"openai", # openai SDK

0 commit comments

Comments
 (0)