qwen2-vl infer report 'RuntimeError: Key and Value must have the same sequence length' #6348
Closed
1 task done
Labels
solved
This problem has been already solved
Reminder
System Info
llamafactory
version: 0.9.2.dev0Reproduction
FORCE_TORCHRUN=1 llamafactory-cli train examples/predict.yaml
训练qwen2-vl-7b模型一切正常,推断时报错:
'RuntimeError: Key and Value must have the same sequence length'
回退到commit:bcb4fb353ed810477b7813c6904b33c51efb7f81后推断qwen2-vl-7b正常,即fix mrope修改前
Expected behavior
No response
Others
No response
The text was updated successfully, but these errors were encountered: