在阿里函数计算中,为什么部署失败了?
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。
在阿里云函数计算中,部署失败可能由多种原因引起。以下是根据知识库资料总结的常见问题及其解决方案:
Can't run without a checkpoint. Find and place a .ckpt or .safetensors file into any of those locations. The program will exit.
或 Function instance health check failed on port 7860 in 120 seconds.
.ckpt
(例如从HuggingFace下载的模型后缀可能是.txt
)。.ckpt
。.ckpt
。{"ErrorCode":"InvalidArgument","ErrorMessage":"Mount NFS:xxxxx-jlb79.cn-hangzhou.nas.aliyuncs.com:/fc-stable-diffusion-plus command failed with output = mount.nfs: Connection reset by peer\n, please make sure that the nas mount point address is correct and is accessible from the service VPC"}
.kodbox-1.35.031
),干扰了应用的正常启动。/mnt/auto/sd
)。ls -a
查看是否存在隐藏目录。rm -rf <隐藏目录名>
删除隐藏目录。Stable diffusion model failed to load, exiting
。code.zip
包。pip.conf
文件,设置镜像源为阿里云:[global]
index-url = http://mirrors.aliyun.com/pypi/simple/
[install]
trusted-host = https://mirrors.aliyun.com
通过以上分析,您可以根据具体的报错信息定位问题并采取相应的解决措施。如果问题仍未解决,请参考相关文档或联系技术支持获取进一步帮助。您可以复制页面截图提供更多信息,我可以进一步帮您分析问题原因。