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
https://github.com/FlagAI-Open/FlagAI/blob/master/flagai/model/aquila2/modeling_aquila.py#L421 想问下函数参数这里写的是float的原因是啥,为什么不能是half的? 如果想用half的attention该怎么修改,尝试在这里改输入的数据类型,后面会有数据类型不匹配的报错。
No response
The text was updated successfully, but these errors were encountered:
后面会在哪里报错呢
Sorry, something went wrong.
后面做matmul会报数据类型不一致的错
后来我改了脚本传入的deepspeed配置文件,里面配了fp16 enable,走了fp16的训练了。
还想问下脚本里 --fp16,这个是代表啥意思?
No branches or pull requests
Description
https://github.com/FlagAI-Open/FlagAI/blob/master/flagai/model/aquila2/modeling_aquila.py#L421
想问下函数参数这里写的是float的原因是啥,为什么不能是half的?
如果想用half的attention该怎么修改,尝试在这里改输入的数据类型,后面会有数据类型不匹配的报错。
Alternatives
No response
The text was updated successfully, but these errors were encountered: