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

ValueError: Attempting to unscale FP16 gradients. #91

Open
Shubo-Ji opened this issue Mar 5, 2024 · 2 comments
Open

ValueError: Attempting to unscale FP16 gradients. #91

Shubo-Ji opened this issue Mar 5, 2024 · 2 comments

Comments

@Shubo-Ji
Copy link

Shubo-Ji commented Mar 5, 2024

image
请问这个是什么原因?

@Shubo-Ji
Copy link
Author

Shubo-Ji commented Mar 5, 2024

我在第一次运行的时候,可以完整的微调出模型,但是最近重新运行代码的时候出现这个错误,一直找不到原因是什么

@13988wzz
Copy link

我在第一次运行的时候,可以完整的微调出模型,但是最近重新运行代码的时候出现这个错误,一直找不到原因是什么

peft版本问题,改为0.4.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

No branches or pull requests

2 participants