ERROR: Could not build wheels for flash-attn, which is required to install pyproject.toml-based proj

背景:

微调Fastchat的vicuna1.5大模型时,安装一些依赖的库。谁能想到pip install flash_attn简简单单地一步卡了一下午,一直报错如下图

尝试了很多种办法,已经快心灰意冷了,同事建议把梯子关了试试,然后就出现了奇迹❗️❗️❗️

ERROR: Could not build wheels for flash-attn, which is required to install pyproject.toml-based proj_第1张图片

解决方法:

我用的梯子是狗子云,关了之后下载成功✌️

ERROR: Could not build wheels for flash-attn, which is required to install pyproject.toml-based proj_第2张图片

 

你可能感兴趣的:(大模型训练问题集合,算法,语言模型,自然语言处理,python)