Skip to content

Commit 289b76f

Browse files
committed
build(docker): update PaddlePaddle and RapidOCR dependencies
- Update PaddlePaddle from 3.0.0b1 to 3.0.0rc1 in Dockerfiles - Update RapidOCR dependencies to specific versions in requirements.txt files - Update requirements for all Docker configurations (china, global, ascend_npu)
1 parent 0e9a251 commit 289b76f

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
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

0 commit comments

Comments
 (0)