Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions docs/version3.x/pipeline_usage/PaddleOCR-VL.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -1634,6 +1634,18 @@ The parameters supported by this command are as follows:
--host 0.0.0.0 \
--temp 0
```
> TIP:
>
> If encountering the error `tokenize: error: number of bitmaps (1) does not match number of markers (0).`, you can use the `--chat-template-file` parameter to specify the template file. For example:
> ```shell
> ./build/bin/llama-server \
> -m /path/to/PaddleOCR-VL-1.5-GGUF.gguf \
> --mmproj /path/to/PaddleOCR-VL-1.5-GGUF-mmproj.gguf \
> --port 8111 \
> --host 0.0.0.0 \
> --temp 0 \
> --chat-template-file /path/to/chat_template_llama.jinja
> ```

### 3.2 Client Usage Methods

Expand Down
12 changes: 12 additions & 0 deletions docs/version3.x/pipeline_usage/PaddleOCR-VL.md
Original file line number Diff line number Diff line change
Expand Up @@ -1613,6 +1613,18 @@ paddleocr genai_server --model_name PaddleOCR-VL-1.5-0.9B --backend vllm --port
--host 0.0.0.0 \
--temp 0
```
> TIP:
>
> 如果出现错误 `tokenize: error: number of bitmaps (1) does not match number of markers (0).`,可以使用 `--chat-template-file` 参数指定模板文件。比如:
> ```shell
> ./build/bin/llama-server \
> -m /path/to/PaddleOCR-VL-1.5-GGUF.gguf \
> --mmproj /path/to/PaddleOCR-VL-1.5-GGUF-mmproj.gguf \
> --port 8111 \
> --host 0.0.0.0 \
> --temp 0 \
> --chat-template-file /path/to/chat_template_llama.jinja
> ```

</details>

Expand Down