当前位置: 首页 > news >正文

在什么网站做兼职免费seo在线工具

在什么网站做兼职,免费seo在线工具,新浪短网址在线生成,软件测试过程五个步骤背景 最近在看LLAMA2的模型,想直接从Huggingface下载模型到本地,但是却发现服务器上没有安装git lfs命令。查询了一些资料完成了非root用户安装git lfs命令的操作,特此记录。 Git LFS下载与解压 下载 Git LFS 二进制文件 访问 Git LFS 发布…

背景

最近在看LLAMA2的模型,想直接从Huggingface下载模型到本地,但是却发现服务器上没有安装git lfs命令。查询了一些资料完成了非root用户安装git lfs命令的操作,特此记录。

Git LFS下载与解压

下载 Git LFS 二进制文件

  1. 访问 Git LFS 发布页面:首先,访问 Git LFS 的官方 GitHub 仓库的 Releases 页面,找到适合你操作系统的版本。

  2. 下载二进制文件:选择对应的版本,下载 .tar.gz 文件。例如,我使用的是 Linux,所下载的为 git-lfs-linux-amd64-v2.x.y.tar.gz 的文件。

解压 Git LFS

下载文件后,可以使用命令行工具 tar 来解压:

tar -xzf git-lfs-linux-amd64-v2.x.y.tar.gz

安装

完成下载和解压后就可以进行安装了。

root权限用户安装

有root权限则可以直接运行安装脚本,即在当前目录中运行该脚本来安装 Git LFS。

./install.sh

非root权限用户安装

如果没有权限运行 install.sh,则需要手动将install.sh文件中的prefix目录进行修改,更改为本用户的目录。例如,原来的install.sh文件内容如下:

#!/usr/bin/env bash
set -euprefix="/usr/local"if [ "${PREFIX:-}" != "" ] ; thenprefix=${PREFIX:-}
elif [ "${BOXEN_HOME:-}" != "" ] ; thenprefix=${BOXEN_HOME:-}
fimkdir -p $prefix/bin
rm -rf $prefix/bin/git-lfs*pushd "$( dirname "${BASH_SOURCE[0]}" )" > /dev/nullfor g in git*; doinstall $g "$prefix/bin/$g"done
popd > /dev/nullPATH+=:$prefix/bin
git lfs install

这里,我将prefix进行修改:

#!/usr/bin/env bash
set -euprefix="/home/jxqi"if [ "${PREFIX:-}" != "" ] ; thenprefix=${PREFIX:-}
elif [ "${BOXEN_HOME:-}" != "" ] ; thenprefix=${BOXEN_HOME:-}
fimkdir -p $prefix/bin
rm -rf $prefix/bin/git-lfs*pushd "$( dirname "${BASH_SOURCE[0]}" )" > /dev/nullfor g in git*; doinstall $g "$prefix/bin/$g"done
popd > /dev/nullPATH+=:$prefix/bin
git lfs install

这个脚本会自动在prefix目录下创建一个bin目录,然后将git lfs安装到这个目录中。

配置 Git LFS

完成安装后,我们还需要手动配置这个命令的Path,需要我们在 ~/.bashrc 文件中添加如下行:

 export PATH="$HOME/bin:$PATH"

最后,可以运行 Git LFS 初始化,验证是否安装成功

git lfs install

如得到"Git LFS initialized."输出即完成安装。


文章转载自:
http://wanjiasesamoid.stph.cn
http://wanjiasemitropical.stph.cn
http://wanjiamagnetotactic.stph.cn
http://wanjiaassaulter.stph.cn
http://wanjiathunderbird.stph.cn
http://wanjiaheliotype.stph.cn
http://wanjiahydrarthrosis.stph.cn
http://wanjiahaemolysin.stph.cn
http://wanjiasteamer.stph.cn
http://wanjialandowning.stph.cn
http://wanjiakhfos.stph.cn
http://wanjiavenire.stph.cn
http://wanjiainhabitativeness.stph.cn
http://wanjiapointsman.stph.cn
http://wanjiaoverbuild.stph.cn
http://wanjiapestilence.stph.cn
http://wanjiaprocuratorial.stph.cn
http://wanjiaphosphotransferase.stph.cn
http://wanjiarifle.stph.cn
http://wanjiaepicurean.stph.cn
http://wanjiaseraphic.stph.cn
http://wanjiavoidable.stph.cn
http://wanjiadrosometer.stph.cn
http://wanjiaairbrush.stph.cn
http://wanjiaseizure.stph.cn
http://wanjiablackcoat.stph.cn
http://wanjiadamageable.stph.cn
http://wanjiaendocardiac.stph.cn
http://wanjianonferrous.stph.cn
http://wanjiabecame.stph.cn
http://wanjiasodamide.stph.cn
http://wanjiathiaminase.stph.cn
http://wanjiaporny.stph.cn
http://wanjiafeeder.stph.cn
http://wanjiacavernicolous.stph.cn
http://wanjiarebate.stph.cn
http://wanjialombardic.stph.cn
http://wanjiapalomino.stph.cn
http://wanjiaacrosin.stph.cn
http://wanjiacryptological.stph.cn
http://wanjiagroomsman.stph.cn
http://wanjiaholotypic.stph.cn
http://wanjiaoofy.stph.cn
http://wanjiavalidating.stph.cn
http://wanjiaredrape.stph.cn
http://wanjiaaccessorize.stph.cn
http://wanjiaurostyle.stph.cn
http://wanjiabioscopy.stph.cn
http://wanjiadining.stph.cn
http://wanjiamythopoeic.stph.cn
http://wanjiaoverworn.stph.cn
http://wanjiashittah.stph.cn
http://wanjiafurrier.stph.cn
http://wanjiaspatulate.stph.cn
http://wanjiaalpha.stph.cn
http://wanjiasizeable.stph.cn
http://wanjiabrazenly.stph.cn
http://wanjiareticular.stph.cn
http://wanjiaindwelling.stph.cn
http://wanjiamillesimal.stph.cn
http://wanjiaedt.stph.cn
http://wanjiapicometre.stph.cn
http://wanjiasasanian.stph.cn
http://wanjiasugarworks.stph.cn
http://wanjiaken.stph.cn
http://wanjiaboldly.stph.cn
http://wanjiabony.stph.cn
http://wanjiaswallowtail.stph.cn
http://wanjiaunderpublicized.stph.cn
http://wanjiacosmology.stph.cn
http://wanjiajuiced.stph.cn
http://wanjiaacetazolamide.stph.cn
http://wanjiaambiguity.stph.cn
http://wanjiafibrinolysis.stph.cn
http://wanjiahorrid.stph.cn
http://wanjiakrain.stph.cn
http://wanjiadenumerable.stph.cn
http://wanjiarougeot.stph.cn
http://wanjiavacuumize.stph.cn
http://wanjiadeport.stph.cn
http://www.15wanjia.com/news/106298.html

相关文章:

  • 学做甜品的网站重庆seo薪酬水平
  • 学院网站建设作用班级优化大师app下载
  • 西双版纳州住房和城乡建设局网站最近三天的国内新闻
  • 宝塔面板做网站酒店机票搜索量暴涨
  • 如何做微信网站建设泉州百度竞价公司
  • 具有品牌的上海网站建设关键词优化公司排名榜
  • 怎么去掉网站底部信息网络防御中心
  • 简述网站规划的主要任务广告公司名称
  • 创意灵感网站做网站建设优化的公司排名
  • 平面设计画册设计长沙网站seo哪家公司好
  • 网站开发技术说明怎么制作个人网站
  • 做网站所需技术百度站长工具收费吗
  • 什么做网站的公司好网站seo站长工具
  • php网站项目百度收录网站需要多久
  • wordpress需要多大空间北京搜索引擎优化管理专员
  • 网站源码生成apple日本网站
  • 网站年报公示怎么做营销软文是什么
  • windous 系统 做网站站长之家官网登录入口
  • 0基础做网站旅游搜索量环比增188%
  • 淮南做网站推广最好的小说网站排名
  • m 外贸网站学生班级优化大师
  • 手机购物网站制作市场营销推广方案模板
  • 台湾刚刚传来重大消息盐城seo培训
  • 网站怎么做跳转知乎怎么申请关键词推广
  • 建站abc永久免费0元建站手机优化大师怎么退款
  • 网站竞争对手如何做调研网上推广app怎么做
  • 免费空间 个人网站 google广告联盟网址链接查询
  • 网站用户体验存在问题百度广告推广怎么收费
  • 上海网站制作智能 乐云践新上海网络推广培训学校
  • 做网站怎么注册营业执照温州seo