Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wangsen
MinerU
Commits
0665355a
Unverified
Commit
0665355a
authored
Jan 06, 2025
by
Xiaomeng Zhao
Committed by
GitHub
Jan 06, 2025
Browse files
Merge pull request #1423 from myhloli/dev
Dev
parents
57b5999e
a3de866d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
README.md
README.md
+1
-1
README_zh-CN.md
README_zh-CN.md
+1
-1
docker/ascend_npu/Dockerfile
docker/ascend_npu/Dockerfile
+2
-2
No files found.
README.md
View file @
0665355a
...
@@ -288,7 +288,7 @@ If your device supports CUDA and meets the GPU requirements of the mainline envi
...
@@ -288,7 +288,7 @@ If your device supports CUDA and meets the GPU requirements of the mainline envi
```
bash
```
bash
wget https://github.com/opendatalab/MinerU/raw/master/docker/global/Dockerfile
-O
Dockerfile
wget https://github.com/opendatalab/MinerU/raw/master/docker/global/Dockerfile
-O
Dockerfile
docker build
-t
mineru:latest
.
docker build
-t
mineru:latest
.
docker run
--rm
-it
--gpus
=
all mineru:latest /bin/bash
docker run
--rm
-it
--gpus
=
all mineru:latest /bin/bash
-c
"echo 'source /opt/mineru_venv/bin/activate' >> ~/.bashrc && exec bash"
magic-pdf
--help
magic-pdf
--help
```
```
...
...
README_zh-CN.md
View file @
0665355a
...
@@ -293,7 +293,7 @@ pip install -U magic-pdf[full] --extra-index-url https://wheels.myhloli.com -i h
...
@@ -293,7 +293,7 @@ pip install -U magic-pdf[full] --extra-index-url https://wheels.myhloli.com -i h
```
bash
```
bash
wget https://gitee.com/myhloli/MinerU/raw/master/docker/china/Dockerfile
-O
Dockerfile
wget https://gitee.com/myhloli/MinerU/raw/master/docker/china/Dockerfile
-O
Dockerfile
docker build
-t
mineru:latest
.
docker build
-t
mineru:latest
.
docker run
--rm
-it
--gpus
=
all mineru:latest /bin/bash
docker run
--rm
-it
--gpus
=
all mineru:latest /bin/bash
-c
"echo 'source /opt/mineru_venv/bin/activate' >> ~/.bashrc && exec bash"
magic-pdf
--help
magic-pdf
--help
```
```
### 使用NPU
### 使用NPU
...
...
docker/ascend_npu/Dockerfile
View file @
0665355a
...
@@ -16,8 +16,8 @@ RUN apt-get update && \
...
@@ -16,8 +16,8 @@ RUN apt-get update && \
python3.10
\
python3.10
\
python3.10-venv
\
python3.10-venv
\
python3.10-distutils
\
python3.10-distutils
\
python3.10-dev
\
python3.10-dev
\
python3-pip
\
python3-pip
\
wget
\
wget
\
git
\
git
\
libgl1
\
libgl1
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment