-
Notifications
You must be signed in to change notification settings - Fork 4
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
RuntimeError: expected scalar type Float but found Half #16
Comments
lora训练,预训练权重,使用半精度,不要使用量化权重! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
作者你好,运行代码时报错,请教一下:
我的训练参数设定如下:
config main.py:
模块配置, 默认启用lora
enable_deepspeed = True
enable_ptv2 = False
enable_lora = True
enable_int8 = True # qlora int8
enable_int4 = False # qlora int4
代码报错如下:
RuntimeError: expected scalar type Float but found Half
请教一下是什么原因?是不是我的设定出错了呀
The text was updated successfully, but these errors were encountered: