localai

localai/localai

localai

LocalAI是免费开源的OpenAI替代方案

89 次收藏下载次数: 0状态:社区镜像维护者:localai仓库类型:镜像最近更新:1 天前
让 AI 帮你使用轩辕镜像?

如果你使用 DeepSeek元宝 AI、Copilot、ChatGPT 等 AI 工具,协助配置轩辕镜像、编写 docker pull 命令、修改 Docker Compose 镜像地址、配置镜像加速、排查镜像拉取失败、分析报错日志等问题,请先让 AI 阅读并遵守轩辕镜像的规则文档。

只需在 AI 对话中先发送下面这句话即可:

请先完整阅读并严格遵守以下文档中的全部规则与要求:

https://xuanyuan.cloud/agents.md

在未充分阅读并理解该文档前,不要生成任何命令、配置、修改建议、故障排查方案或技术回答。后续所有输出都必须严格以该文档中的规范为最高优先级执行。

查看 agents.md 用法指南与完整示范。国内用户首推 元宝 AIDeepSeek 的深度思考模式,不推荐豆包 AI;Cursor 等编辑器可在对话 @ 该链接,或加入 User Rules。 若 AI 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。

下载命令
点击查看




https://github.com/go-skynet/LocalAI/fork https://github.com/go-skynet/LocalAI/stargazers https://github.com/go-skynet/LocalAI/pulls https://github.com/go-skynet/LocalAI/releases

https://hub.docker.com/r/localai/localai https://quay.io/repository/go-skynet/local-ai?tab=tags&tag=latest

:bulb: Get help - ❓FAQ https://github.com/go-skynet/LocalAI/discussions :speech_balloon: *** :book: Documentation website

💻 Quickstart 🖼️ Models https://github.com/mudler/LocalAI/issues?q=is%3Aissue+is%3Aopen+label%3Aroadmap 🥽 Demo 🌍 Explorer https://github.com/mudler/LocalAI-examples

LocalAI is the free, Open Source OpenAI alternative. LocalAI act as a drop-in replacement REST API that's compatible with OpenAI (Elevenlabs, Anthropic... ) API specifications for local AI inferencing. It allows you to run LLMs, generate images, audio (and not only) locally or on-prem with consumer grade hardware, supporting multiple model families. Does not require GPU. It is created and maintained by https://github.com/mudler.

📚🆕 Local Stack Family

🆕 LocalAI is now part of a comprehensive suite of AI tools designed to work together:

https://github.com/mudler/LocalAGI
https://github.com/mudler/LocalRecall

Screenshots

Talk InterfaceGenerate Audio
Models OverviewGenerate Images
Chat InterfaceHome
LoginSwarm

💻 Quickstart

Run the installer script:

bash
curl https://localai.io/install.sh | sh

Or run with docker:

CPU only image:

bash
docker run -ti --name local-ai -p 8080:8080 localai/localai:latest-cpu

Nvidia GPU:

bash
docker run -ti --name local-ai -p 8080:8080 --gpus all localai/localai:latest-gpu-nvidia-cuda-12

CPU and GPU image (bigger size):

bash
docker run -ti --name local-ai -p 8080:8080 localai/localai:latest

AIO images (it will pre-download a set of models ready for use, see [***]

bash
docker run -ti --name local-ai -p 8080:8080 localai/localai:latest-aio-cpu

To load models:

bash
# From the model gallery (see available models with `local-ai models list`, in the WebUI from the model tab, or visiting https://models.localai.io)
local-ai run llama-3.2-1b-instruct:q4_k_m
# Start LocalAI with the phi-2 model directly from huggingface
local-ai run huggingface://TheBloke/phi-2-GGUF/phi-2.Q8_0.gguf
# Install and run a model from the Ollama OCI registry
local-ai run ollama://gemma:2b
# Run a model from a configuration file
local-ai run https://gist.githubusercontent.com/.../phi-2.yaml
# Install and run a model from a standard OCI registry (e.g., Docker Hub)
local-ai run oci://localai/phi-2:latest

For more information, see 💻 Getting started

镜像拉取方式

您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面

轩辕镜像加速拉取命令点我查看更多 localai 镜像标签

docker pull docker.xuanyuan.run/localai/localai:<标签>

DockerHub 原生拉取命令

docker pull localai/localai:<标签>

用户好评

来自真实用户的反馈,见证轩辕镜像的优质服务

用户头像

oldzhang

运维工程师

Linux服务器

5

"Docker访问体验非常流畅,大镜像也能快速完成下载。"

专业版 · 高速稳定拉取镜像
50GB 仅 ¥8/年
高速镜像下载在线技术支持99.95% SLA 保障付费会员免广告