Skip to content

Error when fine-tune GRPO with Qwen3.5 #8237

@VietDunghacker

Description

@VietDunghacker

Checklist / 检查清单

  • I have searched existing issues, and this is a new bug report. / 我已经搜索过现有的 issues,确认这是一个新的 bug report。

Bug Description / Bug 描述

When I try to GRPO fine-tuned Qwen3.5, I encounter this error:

Image

When I check the code of ms-swift

Image and transformers: Image I noticed that the new Qwen3.5 has changed API of get_rope_index function, thus it is missing mm_token_type_ids parameter. Perhaps it need to be fixed.

How to Reproduce / 如何复现

Test on A40, latest transformers, vllm.

Additional Information / 补充信息

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions