Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
赵月辉
/
fastgpt-migrated
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Unverified
Commit
2bf17dbb
authored
Feb 24, 2025
by
YeYuheng
Committed by
GitHub
Feb 24, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Marker doc update (#3869)
* update-marker-doc * marker.md * marker.md
parent
8d766372
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
python/pdf-marker/Readme.md
+3
-2
No files found.
python/pdf-marker/Readme.md
View file @
2bf17dbb
...
@@ -81,13 +81,14 @@ export PROCESSES_PER_GPU="1"
...
@@ -81,13 +81,14 @@ export PROCESSES_PER_GPU="1"
```
```
2. 运行容器
2. 运行容器
```bash
```bash
sudo docker run --gpus all -itd -p 7231:7231 --name model_pdf_v1 model_pdf
sudo docker run --gpus all -itd -p 7231:7231 --name model_pdf_v1
-e PROCESSES_PER_GPU="2"
model_pdf
```
```
## 快速构建镜像
## 快速构建镜像
```
dockerfile
```
dockerfile
docker pull crpi-h3snc261q1dosroc.cn-hangzhou.personal.cr.aliyuncs.com/marker11/marker_images:latest
docker pull crpi-h3snc261q1dosroc.cn-hangzhou.personal.cr.aliyuncs.com/marker11/marker_images:latest
docker run --gpus all -itd -p 7231:7231 --name model_pdf_v1 crpi-h3snc261q1dosroc.cn-hangzhou.personal.cr.aliyuncs.com/marker11/marker_images:latest
docker run --gpus all -itd -p 7231:7231 --name model_pdf_v1
-e PROCESSES_PER_GPU="2"
crpi-h3snc261q1dosroc.cn-hangzhou.personal.cr.aliyuncs.com/marker11/marker_images:latest
```
```
*注意*:参数PROCESSES_PER_GPU设置每张显卡上文件处理的并行数量,24G的显卡可以设置为2。在多显卡的环境中会自动切换显卡来运行多文件的并行处理。
# 访问示例
# 访问示例
用Post方法访问端口为 `7321 ` 的 `v1/parse/file` 服务
用Post方法访问端口为 `7321 ` 的 `v1/parse/file` 服务
...
...
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