瀏覽代碼

fix: update sglang version to 0.4.7 and adjust changelog for compatibility issues

myhloli 5 月之前
父節點
當前提交
e1181ba814
共有 3 個文件被更改,包括 5 次插入3 次删除
  1. 2 1
      README.md
  2. 2 1
      README_zh-CN.md
  3. 1 1
      pyproject.toml

+ 2 - 1
README.md

@@ -51,9 +51,10 @@ Easier to use: Just grab MinerU Desktop. No coding, no login, just a simple inte
 </div>
 
 # Changelog
-- 2025/06/15 2.0.2 released
+- 2025/06/15 2.0.3 released
   - Fixed a configuration file key-value update error that occurred when downloading model type was set to `all`
   - Fixed an issue where formula and table feature toggle parameters in the command line interface could not be effectively disabled
+  - Fixed compatibility issues with sglang version 0.4.7 in the `sglang-engine` mode.
   - Updated Dockerfile and installation documentation for deploying the full version of MinerU in sglang environment
 - 2025/06/13 2.0.0 Released
   - MinerU 2.0 represents a comprehensive reconstruction and upgrade from architecture to functionality, delivering a more streamlined design, enhanced performance, and more flexible user experience.

+ 2 - 1
README_zh-CN.md

@@ -50,9 +50,10 @@
 </div>
 
 # 更新记录
-- 2025/06/15 2.0.2发布
+- 2025/06/15 2.0.3发布
   - 修复了当下载模型类型设置为`all`时,配置文件出现键值更新错误的问题
   - 修复了命令行接口中公式和表格功能的开关参数实际无法关闭的问题
+  - 修复了`sglang-engine`模式下,0.4.7版本sglang的兼容性问题
   - 更新了sglang环境下部署完整版MinerU的Dockerfile和相关安装文档
 - 2025/06/13 2.0.0发布
   - MinerU 2.0 是一次从架构到功能的全面重构与升级,带来了更简洁的设计、更强的性能以及更灵活的使用体验。

+ 1 - 1
pyproject.toml

@@ -43,7 +43,7 @@ vlm = [
     "pydantic",
 ]
 sglang = [
-    "sglang[all]>=0.4.7",
+    "sglang[all]==0.4.7",
 ]
 pipeline = [
     "matplotlib>=3.10,<4",