Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于MinerU在H100显卡上的使用 #1504

Open
lhkang opened this issue Jan 10, 2025 · 1 comment
Open

关于MinerU在H100显卡上的使用 #1504

lhkang opened this issue Jan 10, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@lhkang
Copy link

lhkang commented Jan 10, 2025

Description of the bug | 错误描述

您好,我是MinerU的使用用户,我正在H100的机器上使用MinerU 0.10.6版本,发现运行结果都是乱码,我发现之前有其他人有咨询过类似的issue,解决方案是
1.把cu118升级到cu123,但是这样会安装失败,但是我看人家MinerU的版本是0.8 ,好像安装成功了?不知道是不是跟版本有关系?
2.用cpu加速,这种不考虑。目前都是gpu资源比较充足。
或者您有别的比较好的解决方案吗?马上发布的正式1.0版本会解决上面的问题吗?

第二个问题是我需要在离线的机器上部署环境,我目前用的是conda打包和解压,dockerfile我还没用过,不知道哪一种方案更好?

How to reproduce the bug | 如何复现

pip install torch==2.3.1 torchvision==0.18.1 torchaudio==2.3.1
pip install -U magic-pdf[full] --extra-index-url https://wheels.myhloli.com
pip install paddlepaddle-gpu==3.0.0b1 -i https://www.paddlepaddle.org.cn/packages/stable/cu118

Operating system | 操作系统

Linux

Python version | Python 版本

3.10

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

0.10.x

Device mode | 设备模式

cuda

@lhkang lhkang added the bug Something isn't working label Jan 10, 2025
@myhloli
Copy link
Collaborator

myhloli commented Jan 10, 2025

很抱歉,我们没有H系列的显卡用于测试,无法验证paddle和torch在指定环境的兼容解决方案。
目前在linux上经过验证的兼容方案即为torch使用cu12的依赖,paddle使用cu11的依赖,这样可以互不干扰,但由于H系列显卡可能对cu11兼容性不佳,导致paddle无法正常使用,这种情况目前只能建议将paddle降级为cpu方案来解决兼容性问题。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants