"example/10_conv3d_fwd_xdl/README.md" did not exist on "e823d518cb46ad61ddb3c70eac8529e0a58af1f8"
install.rst 3.26 KB
Newer Older
xu rui's avatar
xu rui committed
1
2
3
4
5
6

安装
=====

如果您遇到任何安装问题,请首先查阅 :doc:`../../additional_notes/faq`。如果解析结果不如预期,可参考 :doc:`../../additional_notes/known_issues`。

xu rui's avatar
xu rui committed
7
8
.. admonition:: Warning
    :class: tip
xu rui's avatar
xu rui committed
9

xu rui's avatar
xu rui committed
10
    **安装前必看——软硬件环境支持说明**
xu rui's avatar
xu rui committed
11

xu rui's avatar
xu rui committed
12
    为了确保项目的稳定性和可靠性,我们在开发过程中仅对特定的软硬件环境进行优化和测试。这样当用户在推荐的系统配置上部署和运行项目时,能够获得最佳的性能表现和最少的兼容性问题。
xu rui's avatar
xu rui committed
13

xu rui's avatar
xu rui committed
14
    通过集中资源和精力于主线环境,我们团队能够更高效地解决潜在的BUG,及时开发新功能。
xu rui's avatar
xu rui committed
15

xu rui's avatar
xu rui committed
16
    在非主线环境中,由于硬件、软件配置的多样性,以及第三方依赖项的兼容性问题,我们无法100%保证项目的完全可用性。因此,对于希望在非推荐环境中使用本项目的用户,我们建议先仔细阅读文档以及 :doc:`../../additional_notes/faq` ,大多数问题已经在 :doc:`../../additional_notes/faq` 中有对应的解决方案,除此之外我们鼓励社区反馈问题,以便我们能够逐步扩大支持范围。
xu rui's avatar
xu rui committed
17
18
19
20
21
22
23
24
25
26

.. raw:: html

    <style>
        table, th, td {
        border: 1px solid black;
        border-collapse: collapse;
        }
    </style>
    <table>
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
    <tr>
        <td colspan="3" rowspan="2">操作系统</td>
    </tr>
    <tr>
        <td>Linux after 2019</td>
        <td>Windows 10 / 11</td>
        <td>macOS 11+</td>
    </tr>
    <tr>
        <td colspan="3">CPU</td>
        <td>x86_64 / arm64</td>
        <td>x86_64(暂不支持ARM Windows)</td>
        <td>x86_64 / arm64</td>
    </tr>
    <tr>
        <td colspan="3">内存</td>
        <td colspan="3">大于等于16GB,推荐32G以上</td>
    </tr>
    <tr>
        <td colspan="3">存储空间</td>
        <td colspan="3">大于等于20GB,推荐使用SSD以获得最佳性能</td>
    </tr>
    <tr>
        <td colspan="3">python版本</td>
        <td colspan="3">>=3.9,<=3.12</td>
    </tr>
    <tr>
        <td colspan="3">Nvidia Driver 版本</td>
        <td>latest(专有驱动)</td>
        <td>latest</td>
        <td>None</td>
    </tr>
    <tr>
        <td colspan="3">CUDA环境</td>
        <td>11.8/12.4/12.6</td>
        <td>11.8/12.4/12.6</td>
        <td>None</td>
    </tr>
    <tr>
        <td colspan="3">CANN环境(NPU支持)</td>
        <td>8.0+(Ascend 910b)</td>
        <td>None</td>
        <td>None</td>
    </tr>
    <tr>
        <td rowspan="2">GPU/MPS 硬件支持列表</td>
        <td colspan="2">显存6G以上</td>
        <td colspan="2">
        Volta(2017)及之后生产的全部带Tensor Core的GPU <br>
        6G显存及以上</td>
        <td rowspan="2">apple slicon</td>
    </tr>
xu rui's avatar
xu rui committed
79
80
81
82
83
84
85
86
    </table>


创建环境
~~~~~~~~~~

.. code-block:: shell

87
88
89
    conda create -n mineru 'python<3.13' -y
    conda activate mineru
    pip install -U "magic-pdf[full]" -i https://mirrors.aliyun.com/pypi/simple
xu rui's avatar
xu rui committed
90
91
92
93
94
95
96
97


下载模型权重文件
~~~~~~~~~~~~~~~

.. code-block:: shell

    pip install huggingface_hub
98
    wget https://gcore.jsdelivr.net/gh/opendatalab/MinerU@master/scripts/download_models_hf.py -O download_models_hf.py
99
100
    python download_models_hf.py

xu rui's avatar
xu rui committed
101
102
103

MinerU 已安装,查看 :doc:`../quick_start` 或阅读 :doc:`boost_with_cuda` 以加速推理。