Skip to content

Comments

docs: 添加 llama.cpp 关于 tokenize 错误的解决方案说明#17729

Open
megemini wants to merge 1 commit intoPaddlePaddle:mainfrom
megemini:patch_llama_doc
Open

docs: 添加 llama.cpp 关于 tokenize 错误的解决方案说明#17729
megemini wants to merge 1 commit intoPaddlePaddle:mainfrom
megemini:patch_llama_doc

Conversation

@megemini
Copy link

ggml-org/llama.cpp#18825 添加了 llama.cpp 对于 PaddleOCR-VL 的支持,但是,llama.cpp 最近修改了 template 的解析逻辑,导致 llama-server 命令直接使用会报错 tokenize: error: number of bitmaps (1) does not match number of markers (0).

ggml-org/llama.cpp#19799 尝试提交 hotfix 解决这个问题,但是 llama.cpp 那边希望 PaddleOCR 这里修复 template 来解决这个问题。

为了用户在此问题被解决前能够正常使用,我在

https://modelscope.cn/models/megemini/PaddleOCR-VL-1.5-GGUF/files
https://modelscope.cn/models/megemini/PaddleOCR-VL-GGUF/files

添加了修复后的 template 文件(没有进行格式化,以方便区分原模板),并提交此 PR 以说明情况。

@paddle-bot
Copy link

paddle-bot bot commented Feb 23, 2026

Thanks for your contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant