Skip to content

v1.5.3

Choose a tag to compare

@jerrydong1988 jerrydong1988 released this 21 May 08:43

v1.5.3 — 修复 mmproj 文件识别

🐛 修复 | Fix

  • 修复 mmproj 投影文件无法被正确识别的问题。之前只匹配以 mmproj 开头的文件名(如 mmproj-xxx.gguf),遗漏了 Qwen3.6-35B-A3B-mmproj-BF16.gguf 这类中间含 -mmproj- 的文件。
  • Fixed mmproj detection — previously only matched filenames starting with mmproj (e.g. mmproj-xxx.gguf), missing files like Qwen3.6-35B-A3B-mmproj-BF16.gguf.

🔧 方案 | Approach

  • 新增 _classify_gguf_file() 统一分类方法:
    • 本地文件 → 直接读取 GGUF 头部 general.type 字段(100% 准确)
    • ModelScope 在线文件(仅有文件名)→ 增强文件名启发式('mmproj' in name
    • 附缓存机制,重复扫描不重复读头部
  • All 4 detection points unified under _classify_gguf_file(): GGUF header for local files, enhanced filename heuristic for ModelScope remote.