opendatalab / MinerU

A one-stop, open-source, high-quality data extraction tool, supports PDF/webpage/e-book extraction.一站式开源高质量数据提取工具,支持PDF/网页/多格式电子书提取。
https://opendatalab.com/OpenSourceTools
GNU Affero General Public License v3.0
13.43k stars 1.01k forks source link

昨天运行正常,今天报错 #748

Closed userandpass closed 6 days ago

userandpass commented 2 weeks ago

Description of the bug | 错误描述


C++ Traceback (most recent call last):

0 at::_ops::conv2d::call(at::Tensor const&, at::Tensor const&, std::optional const&, c10::ArrayRef, c10::ArrayRef, c10::ArrayRef, c10::SymInt) 1 at::native::conv2d_symint(at::Tensor const&, at::Tensor const&, std::optional const&, c10::ArrayRef, c10::ArrayRef, c10::ArrayRef, c10::SymInt) 2 at::_ops::convolution::call(at::Tensor const&, at::Tensor const&, std::optional const&, c10::ArrayRef, c10::ArrayRef, c10::ArrayRef, bool, c10::ArrayRef, c10::SymInt) 3 at::_ops::convolution::redispatch(c10::DispatchKeySet, at::Tensor const&, at::Tensor const&, std::optional const&, c10::ArrayRef, c10::ArrayRef, c10::ArrayRef, bool, c10::ArrayRef, c10::SymInt) 4 at::native::convolution(at::Tensor const&, at::Tensor const&, std::optional const&, c10::ArrayRef, c10::ArrayRef, c10::ArrayRef, bool, c10::ArrayRef, long) 5 at::_ops::_convolution::call(at::Tensor const&, at::Tensor const&, std::optional const&, c10::ArrayRef, c10::ArrayRef, c10::ArrayRef, bool, c10::ArrayRef, c10::SymInt, bool, bool, bool, bool) 6 at::native::_convolution(at::Tensor const&, at::Tensor const&, std::optional const&, c10::ArrayRef, c10::ArrayRef, c10::ArrayRef, bool, c10::ArrayRef, long, bool, bool, bool, bool) 7 at::_ops::cudnn_convolution::call(at::Tensor const&, at::Tensor const&, c10::ArrayRef, c10::ArrayRef, c10::ArrayRef, c10::SymInt, bool, bool, bool) 8 at::native::cudnn_convolution(at::Tensor const&, at::Tensor const&, c10::ArrayRef, c10::ArrayRef, c10::ArrayRef, long, bool, bool, bool)


Error Message Summary:

FatalError: Segmentation fault is detected by the operating system. [TimeInfo: Aborted at 1729068556 (unix time) try "date -d @1729068556" if you are using GNU date ] [SignalInfo: SIGSEGV (@0x20000002eea) received by PID 717693 (TID 0x7f00bb34a740) from PID 12010 ]

Segmentation fault (core dumped)

How to reproduce the bug | 如何复现

magic-pdf -p test_2.pdf -o ./

Operating system | 操作系统

Linux

Python version | Python 版本

3.10

Software version | 软件版本 (magic-pdf --version)

0.8.x

Device mode | 设备模式

cuda

myhloli commented 2 weeks ago

昨天到今天有对运行环境做过改动吗,比如新装或者更新pip包

userandpass commented 2 weeks ago

昨天到今天有对运行环境做过改动吗,比如新装或者更新pip包

我好像是昨天执行的时候,提示我paddle没有用gpu,我就按照教程又装了paddlepaddle-gpu的包,后面没再测试,今天再用就不行了,但是我刚才尝试只保留paddlepaddle或者paddlepaddle-gpu,都不行,会报ModuleNotFoundError: No module named 'paddle'

myhloli commented 2 weeks ago

应该是系统环境和paddlegpu不兼容,可以先把paddle和paddlegpu都卸了再装paddlepaddle就可以了

userandpass commented 2 weeks ago

应该是系统环境和paddlegpu不兼容,可以先把paddle和paddlegpu都卸了再装paddlepaddle就可以了

刚才试了,还是报这个错,我只保留paddle和只保留paddlegpu都试了

myhloli commented 2 weeks ago

那可能是cuda环境被破坏了,可以试着创建一个新的conda环境,重新按教程装一遍

userandpass commented 2 weeks ago

那可能是cuda环境被破坏了,可以试着创建一个新的conda环境,重新按教程装一遍

我按照教程重装一遍的话,是不是不能再装paddlegpu了

myhloli commented 2 weeks ago

如果是环境不兼容的话,不推荐安装paddlegpu

userandpass commented 2 weeks ago

如果是环境不兼容的话,不推荐安装paddlegpu

好的,谢谢