We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
xtuner/xtuner/model/modules/dispatch/qwen2.py
Line 266 in 90192ff
The text was updated successfully, but these errors were encountered:
No branches or pull requests
xtuner/xtuner/model/modules/dispatch/qwen2.py
Line 266 in 90192ff
xtuner Qwen2的代码里面Qwen2RotaryEmbedding.forward接口接收seq_len参数
Qwen2RotaryEmbedding是从transformers里面import的,但是transformers从4.45版本以上该接口不接收seq_len参数
换成了position_ids,因此用xtuner训练模型会报错
The text was updated successfully, but these errors were encountered: