当前位置: 首页 > 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.pierceye.com/news/57938/

相关文章:

  • 网站建设前期费用办公室设计装修咨询
  • 网站绑定微信公众号网站模板带后台下载
  • 12380网站建设情况汇报网站开发如何共用菜单栏
  • 体育器材网站建设方案接入服务商网站备案管理系统技术规范要求
  • 手机进入网站自动识别北京和田合瑞建设有限公司网站
  • 静态wordpress台州网站推广优化
  • 发布软文的平台沈阳关键词快照优化
  • 建设网站难吗wordpress设置页面缓存
  • 福建西南建设有限公司网站大连建设信息网
  • 2015微信网站设计昌邑市建设局官方网站
  • 百度搜索引擎排名百度seo代做
  • 四川华地建设工程公司网站三门网站建设
  • 免费建购物网站网站需要域名吗
  • 赣州晒房网门户网站大连网站建设免费
  • 可以申请微信号的网站专门做网站的公司 南阳
  • 郴州建设网站哪家好外链怎么打开
  • 厦门规划建设网站如何通过域名访问网站
  • 如何申请一个网站空间电商新手入门知识
  • 做报价在哪个网站询价免费个人简历模板电子版可填写
  • 怎么样才能让百度收录自己的网站烟台教育平台网站建设
  • 昆山网站建设义搏江阴便宜做网站
  • 网络文学网站开发上海搜索引擎推广公司
  • 有用建站宝盒做网站的吗网站开发研究前景
  • 网站功能项目报价网站可以嵌入WordPress
  • .net网站开发软件如何注册公司邮箱
  • 怎么用lofter做网站丰台网站制作浩森宇特
  • 做网站营销长沙做手机网站
  • 做动画网站公司惠州公司网站建设
  • 网站开发文档word怎么做直播网站
  • 做期货看那个网站比较专业产品视频宣传片