-
Notifications
You must be signed in to change notification settings - Fork 579
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
inference with lora 时报错expected scalar type Half but found Float #110
Comments
是peft 本身的问题, 新版我看 peft里lora的 forward已经加了result.to(previous_dtype), 升级可破。 但这样的话inference和训练就需要两个不同的环境了。有空可否针对peft0.4 升级一下训练代码。 |
新版的peft对显存的占用会比较大,所以我们一直使用旧版的peft。 |
希望能动态加载lora |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your consideration. |
Closing the issue, since no updates observed. Feel free to re-open if you need any further assistance. |
提交前必须检查以下项目
问题类型
模型推理
基础模型
Alpaca-2-7B
操作系统
Linux
详细描述问题
依赖情况(代码类问题务必提供)
运行日志或截图
The text was updated successfully, but these errors were encountered: