【求助帖】多模态课程video-llava安装flash-attn出错 #329
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: HswOAuth/llm_course#329
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
一直停在这里,不能继续下去
尝试运行下面命令:

git clone --filter=blob:none https://github.com/facebookresearch/pytorchvideo.git /tmp/pip-req-build-297kkx9r
如果发现一直停,说明服务器访问github受限
如果访问不了gitub,可以过一会重试,或者参考下面的解决方法:
告别无法访问的github(附解决方案)-阿里云开发者社区
不行再尝试:
不是clone github,是pip install flash-attn --no-build-isolation
下载成功了,在build中出错。
我看build过程中有执行git clone
我之前也是卡在这里了,发现是连不上github
不是这个原因,可以下github
出现这个报错
这就是访问不了github的错误,我也是遇到的这个,按照上面发的试试吧,这个比较玄学,如果还是不行,建议新换一个容器,先测试一下git clone能不能访问Github
好的,谢谢,我去试试,需要重启容器吗,我加了
,还是这样

板凳,解决了踢我一脚
试着运行下面命令,wget加上那串网址,wget https://github.com//xxx, 如果一直卡着就是访问不了github,建议换个镜像,运行一下wget是否能够下载再进行环境安装吧~,有的分区服务器就是访问不了github,就很离谱

好的,已经成功安装了
部署的时候一直在这里
可能问题:gradio是huggingface支持的,在运行前,替换下huggingface的国内镜像:
export HF_HOME=/root/autodl-tmp/huggingface-cache/
export HF_ENDPOINT=https://hf-mirror.com
我的要等5分钟才加载上模型
这个还是不行
用wheel安装的部署会出错。
不知道怎么办了
@rebibabo 你是怎么解决的
尝试运行下面命令,看是否能够连接上github,因为搭建轮子过程中有这一步:
如果一直卡着,显示resolve..,就尝试下面一些方法(不一定管用)
我的报错信息:

尝试将github的解析地址写道/etc/hosts中
编辑/etc/hosts,将下面内容添加进去
然后重启服务
还是不行,尝试先运行下面的命令,把--quiet参数去掉
发现一直卡在Resolving deltas: 100% (630/630), done,解决方案如下
运行下面命令
参考解决git clone 卡在Resolving deltas: 100%_git resolving deltas-CSDN博客

编辑/etc/hosts,新增一条IP,名称为root@xxx中的xxx
有一次我本来安装不了flash_attn,什么也没做,过一会再运行就好了
实在不行就再开一个容器,先尝试运行下面命令看可不可以,如果不行,果断放弃这个容器