当前位置:   article > 正文

解决OSError: You seem to have cloned a repository without having git-lfs installed. Please install git

oserror: you seem to have cloned a repository without having git-lfs install

一、问题描述

报错如题:OSError: You seem to have cloned a repository without having git-lfs installed. Please install git

二、解决方法

  • 比如下载huggingface上的某些较大的模型权重时,使用该模型可能会报这个错
  • git lfs可以管理大型的文件,到git lfs官网下载:https://git-lfs.com/,如果是有mac上可以直接使用brew下载:brew install git-lfs
  • 再git lfs clone XX就没问题了
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/菜鸟追梦旅行/article/detail/229989
推荐阅读
相关标签
  

闽ICP备14008679号