Commit 9f0d45bb authored by myhloli's avatar myhloli
Browse files

docs(installation): update Python version and CUDA installation instructions

parent 96fb646a
...@@ -355,7 +355,7 @@ There are three different ways to experience MinerU: ...@@ -355,7 +355,7 @@ There are three different ways to experience MinerU:
</tr> </tr>
<tr> <tr>
<td colspan="3">Python Version</td> <td colspan="3">Python Version</td>
<td colspan="3">>=3.10</td> <td colspan="3">3.10~3.13</td>
</tr> </tr>
<tr> <tr>
<td colspan="3">Nvidia Driver Version</td> <td colspan="3">Nvidia Driver Version</td>
...@@ -365,8 +365,7 @@ There are three different ways to experience MinerU: ...@@ -365,8 +365,7 @@ There are three different ways to experience MinerU:
</tr> </tr>
<tr> <tr>
<td colspan="3">CUDA Environment</td> <td colspan="3">CUDA Environment</td>
<td>11.8/12.4/12.6/12.8</td> <td colspan="2"><a href="https://pytorch.org/get-started/locally/">Refer to the PyTorch official website</a></td>
<td>11.8/12.4/12.6/12.8</td>
<td>None</td> <td>None</td>
</tr> </tr>
<tr> <tr>
...@@ -397,7 +396,7 @@ Synced with dev branch updates: ...@@ -397,7 +396,7 @@ Synced with dev branch updates:
#### 1. Install magic-pdf #### 1. Install magic-pdf
```bash ```bash
conda create -n mineru 'python>=3.10' -y conda create -n mineru 'python=3.12' -y
conda activate mineru conda activate mineru
pip install -U "magic-pdf[full]" pip install -U "magic-pdf[full]"
``` ```
......
...@@ -344,7 +344,7 @@ https://github.com/user-attachments/assets/4bea02c9-6d54-4cd6-97ed-dff14340982c ...@@ -344,7 +344,7 @@ https://github.com/user-attachments/assets/4bea02c9-6d54-4cd6-97ed-dff14340982c
</tr> </tr>
<tr> <tr>
<td colspan="3">python版本</td> <td colspan="3">python版本</td>
<td colspan="3">>=3.10</td> <td colspan="3">3.10~3.13</td>
</tr> </tr>
<tr> <tr>
<td colspan="3">Nvidia Driver 版本</td> <td colspan="3">Nvidia Driver 版本</td>
...@@ -354,8 +354,7 @@ https://github.com/user-attachments/assets/4bea02c9-6d54-4cd6-97ed-dff14340982c ...@@ -354,8 +354,7 @@ https://github.com/user-attachments/assets/4bea02c9-6d54-4cd6-97ed-dff14340982c
</tr> </tr>
<tr> <tr>
<td colspan="3">CUDA环境</td> <td colspan="3">CUDA环境</td>
<td>11.8/12.4/12.6/12.8</td> <td colspan="2"><a href="https://pytorch.org/get-started/locally/">Refer to the PyTorch official website</a></td>
<td>11.8/12.4/12.6/12.8</td>
<td>None</td> <td>None</td>
</tr> </tr>
<tr> <tr>
...@@ -390,7 +389,7 @@ https://github.com/user-attachments/assets/4bea02c9-6d54-4cd6-97ed-dff14340982c ...@@ -390,7 +389,7 @@ https://github.com/user-attachments/assets/4bea02c9-6d54-4cd6-97ed-dff14340982c
> 最新版本国内镜像源同步可能会有延迟,请耐心等待 > 最新版本国内镜像源同步可能会有延迟,请耐心等待
```bash ```bash
conda create -n mineru 'python>=3.10' -y conda create -n mineru 'python=3.12' -y
conda activate mineru conda activate mineru
pip install -U "magic-pdf[full]" -i https://mirrors.aliyun.com/pypi/simple pip install -U "magic-pdf[full]" -i https://mirrors.aliyun.com/pypi/simple
``` ```
......
...@@ -54,7 +54,7 @@ In the final step, enter `yes`, close the terminal, and reopen it. ...@@ -54,7 +54,7 @@ In the final step, enter `yes`, close the terminal, and reopen it.
### 4. Create an Environment Using Conda ### 4. Create an Environment Using Conda
```bash ```bash
conda create -n mineru 'python>=3.10' -y conda create -n mineru 'python=3.12' -y
conda activate mineru conda activate mineru
``` ```
......
...@@ -54,7 +54,7 @@ bash Anaconda3-2024.06-1-Linux-x86_64.sh ...@@ -54,7 +54,7 @@ bash Anaconda3-2024.06-1-Linux-x86_64.sh
## 4. 使用conda 创建环境 ## 4. 使用conda 创建环境
```bash ```bash
conda create -n mineru 'python>=3.10' -y conda create -n mineru 'python=3.12' -y
conda activate mineru conda activate mineru
``` ```
......
...@@ -2,11 +2,12 @@ ...@@ -2,11 +2,12 @@
### 1. Install CUDA and cuDNN ### 1. Install CUDA and cuDNN
You need to install a CUDA version that is compatible with torch's requirements. Currently, torch supports CUDA 11.8/12.4/12.6. You need to install a CUDA version that is compatible with torch's requirements. For details, please refer to the [official PyTorch website](https://pytorch.org/get-started/locally/).
- CUDA 11.8 https://developer.nvidia.com/cuda-11-8-0-download-archive - CUDA 11.8 https://developer.nvidia.com/cuda-11-8-0-download-archive
- CUDA 12.4 https://developer.nvidia.com/cuda-12-4-0-download-archive - CUDA 12.4 https://developer.nvidia.com/cuda-12-4-0-download-archive
- CUDA 12.6 https://developer.nvidia.com/cuda-12-6-0-download-archive - CUDA 12.6 https://developer.nvidia.com/cuda-12-6-0-download-archive
- CUDA 12.8 https://developer.nvidia.com/cuda-12-8-0-download-archive
### 2. Install Anaconda ### 2. Install Anaconda
...@@ -17,7 +18,7 @@ Download link: https://repo.anaconda.com/archive/Anaconda3-2024.06-1-Windows-x86 ...@@ -17,7 +18,7 @@ Download link: https://repo.anaconda.com/archive/Anaconda3-2024.06-1-Windows-x86
### 3. Create an Environment Using Conda ### 3. Create an Environment Using Conda
```bash ```bash
conda create -n mineru 'python>=3.10' -y conda create -n mineru 'python=3.12' -y
conda activate mineru conda activate mineru
``` ```
......
# Windows10/11 # Windows10/11
## 1. 安装cuda和cuDNN ## 1. 安装cuda环境
需要安装符合torch要求的cuda版本,torch目前支持11.8/12.4/12.6 需要安装符合torch要求的cuda版本,具体可参考[torch官网](https://pytorch.org/get-started/locally/)
- CUDA 11.8 https://developer.nvidia.com/cuda-11-8-0-download-archive - CUDA 11.8 https://developer.nvidia.com/cuda-11-8-0-download-archive
- CUDA 12.4 https://developer.nvidia.com/cuda-12-4-0-download-archive - CUDA 12.4 https://developer.nvidia.com/cuda-12-4-0-download-archive
- CUDA 12.6 https://developer.nvidia.com/cuda-12-6-0-download-archive - CUDA 12.6 https://developer.nvidia.com/cuda-12-6-0-download-archive
- CUDA 12.8 https://developer.nvidia.com/cuda-12-8-0-download-archive
## 2. 安装anaconda ## 2. 安装anaconda
...@@ -18,7 +19,7 @@ https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/Anaconda3-2024.06-1-Window ...@@ -18,7 +19,7 @@ https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/Anaconda3-2024.06-1-Window
## 3. 使用conda 创建环境 ## 3. 使用conda 创建环境
```bash ```bash
conda create -n mineru 'python>=3.10' -y conda create -n mineru 'python=3.12' -y
conda activate mineru conda activate mineru
``` ```
......
...@@ -76,11 +76,11 @@ In the final step, enter ``yes``, close the terminal, and reopen it. ...@@ -76,11 +76,11 @@ In the final step, enter ``yes``, close the terminal, and reopen it.
4. Create an Environment Using Conda 4. Create an Environment Using Conda
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Specify Python version 3.10. Specify Python version 3.10~3.13.
.. code:: sh .. code:: sh
conda create -n mineru 'python>=3.10' -y conda create -n mineru 'python=3.12' -y
conda activate mineru conda activate mineru
5. Install Applications 5. Install Applications
...@@ -155,14 +155,15 @@ to test CUDA acceleration: ...@@ -155,14 +155,15 @@ to test CUDA acceleration:
Windows 10/11 Windows 10/11
-------------- --------------
1. Install CUDA and cuDNN 1. Install CUDA
~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~
You need to install a CUDA version that is compatible with torch's requirements. Currently, torch supports CUDA 11.8/12.4/12.6. You need to install a CUDA version that is compatible with torch's requirements. For details, please refer to the [official PyTorch website](https://pytorch.org/get-started/locally/).
- CUDA 11.8 https://developer.nvidia.com/cuda-11-8-0-download-archive - CUDA 11.8 https://developer.nvidia.com/cuda-11-8-0-download-archive
- CUDA 12.4 https://developer.nvidia.com/cuda-12-4-0-download-archive - CUDA 12.4 https://developer.nvidia.com/cuda-12-4-0-download-archive
- CUDA 12.6 https://developer.nvidia.com/cuda-12-6-0-download-archive - CUDA 12.6 https://developer.nvidia.com/cuda-12-6-0-download-archive
- CUDA 12.8 https://developer.nvidia.com/cuda-12-8-0-download-archive
2. Install Anaconda 2. Install Anaconda
...@@ -177,7 +178,7 @@ Download link: https://repo.anaconda.com/archive/Anaconda3-2024.06-1-Windows-x86 ...@@ -177,7 +178,7 @@ Download link: https://repo.anaconda.com/archive/Anaconda3-2024.06-1-Windows-x86
:: ::
conda create -n mineru 'python>=3.10' -y conda create -n mineru 'python=3.12' -y
conda activate mineru conda activate mineru
4. Install Applications 4. Install Applications
......
...@@ -61,7 +61,7 @@ Also you can try `online demo <https://www.modelscope.cn/studios/OpenDataLab/Min ...@@ -61,7 +61,7 @@ Also you can try `online demo <https://www.modelscope.cn/studios/OpenDataLab/Min
</tr> </tr>
<tr> <tr>
<td colspan="3">Python Version</td> <td colspan="3">Python Version</td>
<td colspan="3">3.10~3.12</td> <td colspan="3">3.10~3.13</td>
</tr> </tr>
<tr> <tr>
<td colspan="3">Nvidia Driver Version</td> <td colspan="3">Nvidia Driver Version</td>
...@@ -71,8 +71,7 @@ Also you can try `online demo <https://www.modelscope.cn/studios/OpenDataLab/Min ...@@ -71,8 +71,7 @@ Also you can try `online demo <https://www.modelscope.cn/studios/OpenDataLab/Min
</tr> </tr>
<tr> <tr>
<td colspan="3">CUDA Environment</td> <td colspan="3">CUDA Environment</td>
<td>11.8/12.4/12.6/12.8</td> <td colspan="2"><a href="https://pytorch.org/get-started/locally/">Refer to the PyTorch official website</a></td>
<td>11.8/12.4/12.6/12.8</td>
<td>None</td> <td>None</td>
</tr> </tr>
<tr> <tr>
...@@ -97,7 +96,7 @@ Create an environment ...@@ -97,7 +96,7 @@ Create an environment
.. code-block:: shell .. code-block:: shell
conda create -n mineru 'python>=3.10' -y conda create -n mineru 'python=3.12' -y
conda activate mineru conda activate mineru
pip install -U "magic-pdf[full]" pip install -U "magic-pdf[full]"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment