Skip to content
New issue

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

[Fix] limiting the maximum version of transformers avoids null pointer #747

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Kit-Hung
Copy link

@Kit-Hung Kit-Hung commented Jun 5, 2024

After transformers version 4.41.0, the method of obtaining the sample model cache_position was changed to cause a null pointer during finetune, limiting the maximum version of transformers avoids this problem.

…netune 时引起空指针,限定 transformers 的最大版本
@pppppM pppppM requested a review from HIT-cwh June 11, 2024 05:09
@pppppM
Copy link
Collaborator

pppppM commented Jun 11, 2024

@Kit-Hung How can this issue be reproduced? Perhaps there are other ways that could be compatible with 4.41.0?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants