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

苏州网站托管响应式网站做seo怎么样

苏州网站托管,响应式网站做seo怎么样,网站推广软件有哪些,怎么开小程序店铺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/347809/

相关文章:

  • 贵阳市观山湖区网站建设wordpress博客vieu模板
  • 怎么区分网站的好坏网站建设营销型号的区别
  • wordpress固定链接 中文建设网站优化
  • 东莞地产网站建设简述建设iis网站的基本过程
  • 外贸网站建设 公司价格怎样在手机上制作网站
  • 网站建设电话销售录音企业做网站有什么用
  • 网站布局设计软件软件工程大学排名
  • 自己的网站做防伪码深圳软件开发公司招聘
  • 网上购物网站大全wordpress文本悬停变色
  • 科技类公司网站设计如何做各大网站广告链接
  • 深圳做h5网站制作奢侈品网站设计
  • 用什么程序做网站佛山网站建设慕枫
  • 萍乡网站建设哪家公司好惠州开发做商城网站建设哪家好
  • 2021半夜好用的网站在菲做平台网站
  • 国家排污许可网站台账怎么做wordpress表单位插件
  • 如何构建成交型网站wordpress搭建英文网站
  • 阿里云网站建设方案书怎么写四川做网站公司哪家好
  • 提供衡水网站建设wordpress游客看小图登陆查看大图
  • 网站开发优势wordpress 密码破解
  • 做网站空间需要多大深圳服装网站建设
  • 建网站wordpress制作app多少钱一个
  • 怎么做装修网站torrentkitty磁力猫
  • 网站建立站点wordpress手机网站模板制作
  • 宁夏建设工程招标投标信息网站教师做网站赚钱
  • 潍坊网站制作价格网站维护入门教程
  • 微信网站怎么做下载附件wordpress英文主题汉化
  • 桂平网站设计python基础教程第二版
  • wordpress hermit杭州企业seo网站优化
  • 贵州做团队培训的网站法学网站阵地建设
  • 网站死链是什么西宁高端网站开发公司