modelscope / modelscope/ms-swift
是否支持在华为昇腾910B卡上进行GKD on-policy蒸馏Qwen3-VL模型
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 15.7k
- Forks
- 1.7k
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 136
Description
Describe the bug
What the bug is, and how to reproduce, better with screenshots(描述bug以及复现过程,最好有截图)
报错:"/***/python3.11/site-packages/transformers/generation/utils.py", in line 1599, in _validate_model_args
raise ValueError(
ValueError: The fllowing model_kwargs are not used by the model: ['text_position_ids'] (note: types in the generate arguments will also show up in this list)
Your hardware and system info
Write your system info like CUDA version/system/GPU/torch version here(在这里给出硬件信息和系统信息,如CUDA版本,系统,GPU型号和torch版本等)
昇腾910B
Additional context
Add any other context about the problem here(在这里补充其他信息)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the reported GKD on-policy distillation failure on Huawei Ascend 910B, using the stack trace at transformers/generation/utils.py line 1599 as the first entry point. Check how text_position_ids is passed to generation and define done as successful Qwen3-VL distillation on this hardware without the unused-model-kwargs error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- machine-learning
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100