localai

LocalAI Docker Image

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

89 次收藏下载次数: 0状态:社区镜像维护者:localai仓库类型:镜像最近更新:9 小时前
下载命令
点击查看




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:<标签>
专业版 · 高速稳定拉取镜像
50GB 仅 ¥8/年
高速镜像下载在线技术支持99.95% SLA 保障付费会员免广告