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

购物网站如何建设龙岗网站建设公司效果

购物网站如何建设,龙岗网站建设公司效果,局域网如何做视频网站,wordpress美化滑动LocalAI 部署 介绍 LocalAI 是免费的开源 OpenAI 替代方案。 LocalAI 充当 REST API 的直接替代品#xff0c;与本地推理的 OpenAI API 规范兼容。 它无需 GPU#xff0c;还有多种用途集成#xff0c;允许您使用消费级硬件在本地或本地运行 LLM、生成图像、音频等等#…LocalAI 部署 介绍 LocalAI 是免费的开源 OpenAI 替代方案。 LocalAI 充当 REST API 的直接替代品与本地推理的 OpenAI API 规范兼容。 它无需 GPU还有多种用途集成允许您使用消费级硬件在本地或本地运行 LLM、生成图像、音频等等支持多个模型系列。 启动方式 1. Linux AMD64 docker 启动 helm repo add go-skynet https://go-skynet.github.io/helm-charts/ helm search repo go-skynet helm pull go-skynet/local-ai tar -xvf local-ai-3.1.0.tgz cd local-ai vim value.yaml # 取消下面截图的注释helm install --create-namespace local-ai . -n local-ai -f values.yaml2. Mac M2 手动启动 # install build dependencies brew install abseil cmake go grpc protobuf wget# clone the repo git clone https://github.com/go-skynet/LocalAI.gitcd LocalAI# build the binary make build # make BUILD_TYPEmetal build ## Set gpu_layers: 1 to your YAML model config file and f16: true ## Note: only models quantized with q4_0 are supported!# Download gpt4all-j to models/ wget https://gpt4all.io/models/ggml-gpt4all-j.bin -O models/ggml-gpt4all-j# Use a template from the examples cp -rf prompt-templates/ggml-gpt4all-j.tmpl models/# Run LocalAI ./local-ai --models-path./models/ --debugtrue使用 # Now API is accessible at localhost:8080 curl http://localhost:8080/v1/models curl http://localhost:8080/v1/chat/completions -H Content-Type: application/json -d {model: ggml-gpt4all-j,messages: [{role: user, content: How are you?}],temperature: 0.9}官方编译启动文档 FQA Q1: 编译报错日志 sources/go-llama/llama.go:372:13: undefined: min binding.cpp:333:67: warning: format specifies type size_t (aka unsigned long) but the argument has type int [-Wformat] binding.cpp:809:5: warning: deleting pointer to incomplete type llama_model may cause undefined behavior [-Wdelete-incomplete] sources/go-llama/llama.cpp/llama.h:60:12: note: forward declaration of llama_model # github.com/go-skynet/go-llama.cpp sources/go-llama/llama.go:372:13: undefined: min note: module requires Go 1.21 make: *** [backend-assets/grpc/llama] Error 1需要使用 go 1.21 版本 brew install mercurial # 安装 gvm bash (curl -s -S -L https://raw.githubusercontent.com/moovweb/gvm/master/binscripts/gvm-installer) # gvm直接生效 source ~/.gvm/scripts/gvm # 查看版本 gvm install go1.21.7 gvm use go1.21.7Q2: The link interface of target “protobuf::libprotobuf” contains: absl::absl_check, but the target was not found CMake Error at /opt/homebrew/lib/cmake/protobuf/protobuf-targets.cmake:71 (set_target_properties):The link interface of target protobuf::libprotobuf contains:absl::absl_checkbut the target was not found. Possible reasons include:* There is a typo in the target name.* A find_package call is missing for an IMPORTED target.* An ALIAS target is missing.Call Stack (most recent call first):/opt/homebrew/lib/cmake/protobuf/protobuf-config.cmake:16 (include)examples/grpc-server/CMakeLists.txt:34 (find_package)需要更新一下 protobuf 和 abseil 版本 brew uninstall protobuf abseil sudo port install re2 grpc abseil
http://www.zqtcl.cn/news/623460/

相关文章:

  • 申请网站建设经费的报告生态建设网站
  • 建网站要多少钱用自己的服务器河北工程大学网站开发成本
  • 宁波网站建站公司商务网站模块设计时前台基础设施建设不包括
  • 徐州免费网站制作怎么用阿里云服务器搭建wordpress
  • php猎奇源码 织梦新闻视频图片八卦娱乐趣事资讯门户网站模板html代码表格
  • 南通做网站优化哪家好网页策划书 网站建设定位
  • 防止访问网站文件夹绵阳 网站设计
  • 网页与网站的区别是什么东莞网站公司排名
  • 盐城市城乡和住房建设厅网站wordpress文章订阅
  • 济南网站优化wordpress文件上传到那个文件
  • 外贸网站租用外国服务器好还是自己装一个服务器好高质量外链网站
  • 珠海专门做网站成都到西安
  • 网站做1920px好吗长沙seo优化排名
  • 哈尔滨微信网站开发wordpress 视
  • wordpress 分享封面图片尺寸重庆官网优化乐育公司
  • dede手机网站更新受欢迎的昆明网站建设
  • 网站设计外包合同专做自驾游的网站
  • 网站建设服务预算游戏网站怎么赚钱
  • 怎么做网站关键词视频手机网页前端开发
  • 好网站具备条件网站建设外链
  • 青岛如何建立企业网站企业中国数据域名注册
  • 怎么看网站做的好不好南京h5 网站建设
  • 贵阳微信网站制作下列哪一项不属于电子商务网站建设
  • 有没有做电子名片的网站网络广告怎么投放
  • 网站开发要用cms教育网站制作价格
  • 深圳华鑫峰网站建设wordpress 关闭新闻
  • 韩国网站加速器南宁做网站seo
  • 义乌网站建设公司书生商友小程序自己制作流程
  • 株洲企业网站建设费用python mysql开发网站开发
  • 东航集团客户网站是哪家公司建设网站开发软件开发