Skip to content

[Bug][rank0]: ValueError: Cannot use apply_chat_template because this processor does not have a chat template. #416

@liudehua99721

Description

@liudehua99721

Checklist

  • 1. I have searched related issues but cannot get the expected help.
  • 2. The bug has not been fixed in the latest version.
  • 3. Please note that if the bug-related issue you submitted lacks corresponding environment info and a minimal reproducible demo, it will be challenging for us to reproduce and resolve the issue, reducing the likelihood of receiving feedback.
  • 4. If the issue you raised is not a bug but a question, please raise a discussion at https://github.com/sgl-project/SpecForge/discussions/new/choose Otherwise, it will be closed.
  • 5. Please use English, otherwise it will be closed.

Describe the bug

[rank0]: ValueError: Cannot use apply_chat_template because this processor does not have a chat template.,我bash examples/run_qwen2.5_7b_vl_eagle3_online.sh这个的时候,出现了这个错误 请问怎么解决呢

Reproduction

bash examples/run_qwen2.5_7b_vl_eagle3_online.sh

Environment

pre-commit
torch==2.9.1
torchaudio==2.9.1
torchvision==0.24.1
transformers==4.57.1
qwen-vl-utils==0.0.11
datasets
setuptools
tqdm
wandb
psutil
numpy
accelerate
pydantic
sglang[all]==0.5.6
openai-harmony
yunchang

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions