Prechádzať zdrojové kódy

fix: update Dockerfile base image to v0.4.8.post1-cu126 and clean up README tables

myhloli 4 mesiacov pred
rodič
commit
d3f2ef81a0
4 zmenil súbory, kde vykonal 26 pridanie a 30 odobranie
  1. 12 14
      README.md
  2. 12 14
      README_zh-CN.md
  3. 1 1
      docker/china/Dockerfile
  4. 1 1
      docker/global/Dockerfile

+ 12 - 14
README.md

@@ -433,7 +433,7 @@ There are three different ways to experience MinerU:
 >
 > In non-mainline environments, due to the diversity of hardware and software configurations, as well as third-party dependency compatibility issues, we cannot guarantee 100% project availability. Therefore, for users who wish to use this project in non-recommended environments, we suggest carefully reading the documentation and FAQ first. Most issues already have corresponding solutions in the FAQ. We also encourage community feedback to help us gradually expand support.
 
-<table border="1">
+<table>
     <tr>
         <td>Parsing Backend</td>
         <td>pipeline</td>
@@ -447,6 +447,16 @@ There are three different ways to experience MinerU:
         <td>windows(wsl2)/linux</td>
     </tr>
     <tr>
+        <td>CPU Inference Support</td>
+        <td>✅</td>
+        <td colspan="2">❌</td>
+    </tr>
+    <tr>
+        <td>GPU Requirements</td>
+        <td>Turing architecture or later, 6GB+ VRAM or Apple Silicon</td>
+        <td colspan="2">Ampere architecture or later, 8GB+ VRAM</td>
+    </tr>
+    <tr>
         <td>Memory Requirements</td>
         <td colspan="3">Minimum 16GB+, 32GB+ recommended</td>
     </tr>
@@ -458,18 +468,6 @@ There are three different ways to experience MinerU:
         <td>Python Version</td>
         <td colspan="3">3.10-3.13</td>
     </tr>
-    <tr>
-        <td>CPU Inference Support</td>
-        <td>✅</td>
-        <td>❌</td>
-        <td>❌</td>
-    </tr>
-    <tr>
-        <td>GPU Requirements</td>
-        <td>Turing architecture or later, 6GB+ VRAM or Apple Silicon</td>
-        <td>Ampere architecture or later, 8GB+ VRAM</td>
-        <td>Ampere architecture or later, 24GB+ VRAM</td>
-    </tr>
 </table>
 
 ## Online Demo
@@ -535,7 +533,7 @@ If you need to use **sglang to accelerate VLM model inference**, you can choose
   ```
   
 > [!TIP]
-> The Dockerfile uses `lmsysorg/sglang:v0.4.7-cu124` as the default base image. If necessary, you can modify it to another platform version.
+> The Dockerfile uses `lmsysorg/sglang:v0.4.8.post1-cu126` as the default base image. If necessary, you can modify it to another platform version.
 
 
 #### 1.4 Install client  (for connecting to sglang-server on edge devices that require only CPU and network connectivity)

+ 12 - 14
README_zh-CN.md

@@ -423,7 +423,7 @@ https://github.com/user-attachments/assets/4bea02c9-6d54-4cd6-97ed-dff14340982c
 >
 > 在非主线环境中,由于硬件、软件配置的多样性,以及第三方依赖项的兼容性问题,我们无法100%保证项目的完全可用性。因此,对于希望在非推荐环境中使用本项目的用户,我们建议先仔细阅读文档以及FAQ,大多数问题已经在FAQ中有对应的解决方案,除此之外我们鼓励社区反馈问题,以便我们能够逐步扩大支持范围。
 
-<table border="1">
+<table>
     <tr>
         <td>解析后端</td>
         <td>pipeline</td>
@@ -437,6 +437,16 @@ https://github.com/user-attachments/assets/4bea02c9-6d54-4cd6-97ed-dff14340982c
         <td>windows(wsl2)/linux</td>
     </tr>
     <tr>
+        <td>CPU推理支持</td>
+        <td>✅</td>
+        <td colspan="2">❌</td>
+    </tr>
+    <tr>
+        <td>GPU要求</td>
+        <td>Turing及以后架构,6G显存以上或Apple Silicon</td>
+        <td colspan="2">Ampere及以后架构,8G显存以上</td>
+    </tr>
+    <tr>
         <td>内存要求</td>
         <td colspan="3">最低16G以上,推荐32G以上</td>
     </tr>
@@ -448,18 +458,6 @@ https://github.com/user-attachments/assets/4bea02c9-6d54-4cd6-97ed-dff14340982c
         <td>python版本</td>
         <td colspan="3">3.10-3.13</td>
     </tr>
-    <tr>
-        <td>CPU推理支持</td>
-        <td>✅</td>
-        <td>❌</td>
-        <td>❌</td>
-    </tr>
-    <tr>
-        <td>GPU要求</td>
-        <td>Turing及以后架构,6G显存以上或Apple Silicon</td>
-        <td>Ampere及以后架构,8G显存以上</td>
-        <td>Ampere及以后架构,24G显存及以上</td>
-    </tr>
 </table>
 
 ## 在线体验
@@ -525,7 +523,7 @@ uv pip install -e .[core] -i https://mirrors.aliyun.com/pypi/simple
   ```
   
 > [!TIP]
-> Dockerfile默认使用`lmsysorg/sglang:v0.4.7-cu124`作为基础镜像,如有需要,您可以自行修改为其他平台版本。
+> Dockerfile默认使用`lmsysorg/sglang:v0.4.8.post1-cu126`作为基础镜像,如有需要,您可以自行修改为其他平台版本。
   
 #### 1.4 安装client(用于在仅需 CPU 和网络连接的边缘设备上连接 sglang-server)
 

+ 1 - 1
docker/china/Dockerfile

@@ -1,5 +1,5 @@
 # Use the official sglang image
-FROM lmsysorg/sglang:v0.4.8-cu124
+FROM lmsysorg/sglang:v0.4.8.post1-cu126
 
 # install mineru latest
 RUN python3 -m pip install -U 'mineru[core]' -i https://mirrors.aliyun.com/pypi/simple --break-system-packages

+ 1 - 1
docker/global/Dockerfile

@@ -1,5 +1,5 @@
 # Use the official sglang image
-FROM lmsysorg/sglang:v0.4.8-cu124
+FROM lmsysorg/sglang:v0.4.8.post1-cu126
 
 # install mineru latest
 RUN python3 -m pip install -U 'mineru[core]' --break-system-packages