Closed Chenghao-Jia closed 7 months ago
可能是之前是没卸载干净,连续运行几次 pip uninstall peft 试试
可能是之前是没卸载干净,连续运行几次 pip uninstall peft 试试
尝试了一下没有效果,因为我今天git pull更新了仓库,刚才又尝试了pip install -r requirements.txt,依然是同样的错误。我还用了pip uninstall peft之后再微调,此时应该没有peft了,但是还是提示我有peft==0.8.2。就很奇怪
你连续运行几次卸载指令了吗?conda 环境确定一致吗?另外看一下你的 site-packages 文件夹有没有残留的文件夹
请问这个问题被解决了吗?我有这一摸一样的问题。我也是peft==0.8.2但是我的环境显示的明明就显示的是0.9.0
你连续运行几次卸载指令了吗?conda 环境确定一致吗?另外看一下你的 site-packages 文件夹有没有残留的文件夹
我和他一样的毛病。你之前建议我更新llama-factory,然后我就从新下载了llama-factory。从新下载后各种方法都试过了 都是和他一样的毛病
去 site-packages 文件夹下面看看有没有残留包文件?
或者使用环境变量 DISABLE_VERSION_CHECK=1 强行关闭版本检查
我解决了这个问题 解决方法就是重新conda create一个environment
Reminder
Reproduction
微调参数
报错信息
peft版本
Expected behavior
No response
System Info
No response
Others
No response