Skip to content

tianshu——企业及部署会有奇怪的bug,定位不到问题 #3883

@Chen-guangZ

Description

@Chen-guangZ

🔎 Search before asking | 提交之前请先搜索

  • I have searched the MinerU Readme and found no similar bug report.
  • I have searched the MinerU Issues and found no similar bug report.
  • I have searched the MinerU Discussions and found no similar bug report.

🤖 Consult the online AI assistant for assistance | 在线 AI 助手咨询

Description of the bug | 错误描述

在使用代码仓中的tianshu企业及部署代码时发现问题
Downloading Model from https://www.modelscope.cn to directory: /root/.cache/modelscope/hub/models/OpenDataLab/PDF-Extract-Kit-1.0
Table-ocr rec ch: 90%|█████████████████████████████████████████████▋ | 1992/2223 [00:36<00:05, 39.18it/s]2025-10-30 23:29:58,728 - modelscope - INFO - Target directory already exists, skipping creation.
Table-ocr rec ch: 100%|███████████████████████████████████████████████████| 2223/2223 [00:37<00:00, 59.04it/s]
OCR-rec Predict: 49%|████████████████████████▉ | 5928/12098 [03:15<08:45, 11.73it/s]2025-10-30 23:30:46,159 - MainProcess[49201] - litserve.server - ERROR - server.py:1445 - ⚠️ Worker inference-worker died; shutting down
2025-10-30 23:30:46,159 - MainProcess[49201] - litserve.server - INFO - server.py:1067 - Shutting down LitServe...
OCR-rec Predict: 49%|█████████████████████████ | 5940/12098 [03:15<06:18, 16.25it/s]INFO: Shutting down
INFO: Waiting for application shutdown.
INFO: Application shutdown complete.
INFO: Finished server process [50693]

这个error会导致后续进程都被杀死 整个服务就断掉了
无法定位错误
换了两台服务器都会有这个问题,H800,
并且感觉这个问题是偶发的 有时候有 有的时候无
启动指令:
python start_all.py
--api-port 8000
--output-dir /TSG/outputs/
--worker-port 9000
--accelerator cuda
--workers-per-device 2
--devices 0,1
单卡80g显存,肯定不是oom,这就很奇怪了 测试仅仅只传了20个文件
求助大佬

How to reproduce the bug | 如何复现

python start_all.py
--api-port 8000
--output-dir /TSG/outputs/
--worker-port 9000
--accelerator cuda
--workers-per-device 2
--devices 0,1

利用相同地址下官方给的client.方式提交任务
任务提交都没问题
跑起来就会偶发这个error

Operating System Mode | 操作系统类型

Linux

Operating System Version| 操作系统版本

Ubuntu 22.04

Python version | Python 版本

3.11

Software version | 软件版本 (mineru --version)

=2.5

Backend name | 解析后端

pipeline

Device mode | 设备模式

cuda

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions