章节 01
导读 / 主楼:AIKit:开源大语言模型的本地部署与微调一站式平台
AIKit 是一个综合性的开源 LLM 平台,支持推理、微调和 OCI 打包三大核心能力。基于 LocalAI 提供 OpenAI 兼容 API,集成 Unsloth 实现高效微调,并支持将模型打包为 OCI 制品进行分发。
正文
AIKit 是一个综合性的开源 LLM 平台,支持推理、微调和 OCI 打包三大核心能力。基于 LocalAI 提供 OpenAI 兼容 API,集成 Unsloth 实现高效微调,并支持将模型打包为 OCI 制品进行分发。
章节 01
AIKit 是一个综合性的开源 LLM 平台,支持推理、微调和 OCI 打包三大核心能力。基于 LocalAI 提供 OpenAI 兼容 API,集成 Unsloth 实现高效微调,并支持将模型打包为 OCI 制品进行分发。
章节 02
AIKit 是一个旨在简化开源大语言模型(LLM)托管、部署、构建和微调的综合平台。它提供三大核心能力:
章节 03
AIKit 的设计哲学是简单性和可移植性:
章节 04
docker run -d --rm -p 8080:8080 ghcr.io/kaito-project/aikit/llama3.1:8b
运行后访问 http://localhost:8080/chat 即可使用 WebUI。
章节 05
curl http://localhost:8080/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{
"model": "llama-3.1-8b-instruct",
"messages": [{"role": "user", "content": "用一句话解释 Kubernetes"}]
}'
章节 06
AIKit 提供多种预置模型镜像,开箱即用:
章节 07
| 模型 | 优化类型 | 参数量 | 命令 | 模型名称 | 许可证 |
|---|---|---|---|---|---|
| Llama 3.2 | Instruct | 1B | ghcr.io/kaito-project/aikit/llama3.2:1b |
llama-3.2-1b-instruct | Llama |
| Llama 3.2 | Instruct | 3B | ghcr.io/kaito-project/aikit/llama3.2:3b |
llama-3.2-3b-instruct | Llama |
| Llama 3.1 | Instruct | 8B | ghcr.io/kaito-project/aikit/llama3.1:8b |
llama-3.1-8b-instruct | Llama |
| Llama 3.3 | Instruct | 70B | ghcr.io/kaito-project/aikit/llama3.3:70b |
llama-3.3-70b-instruct | Llama |
| Mixtral | Instruct | 8x7B | ghcr.io/kaito-project/aikit/mixtral:8x7b |
mixtral-8x7b-instruct | Apache |
| Phi 4 | Instruct | 14B | ghcr.io/kaito-project/aikit/phi4:14b |
phi-4-14b-instruct | MIT |
| Gemma 2 | Instruct | 2B | ghcr.io/kaito-project/aikit/gemma2:2b |
gemma-2-2b-instruct | Gemma |
| QwQ | - | 32B | ghcr.io/kaito-project/aikit/qwq:32b |
qwq-32b | Apache 2.0 |
| Codestral 0.1 | Code | 22B | ghcr.io/kaito-project/aikit/codestral:22b |
codestral-22b | MNLP |
| GPT-OSS | - | 20B | ghcr.io/kaito-project/aikit/gpt-oss:20b |
gpt-oss-20b | Apache 2.0 |
| GPT-OSS | - | 120B | ghcr.io/kaito-project/aikit/gpt-oss:120b |
gpt-oss-120b | Apache 2.0 |
章节 08
| 模型 | 优化类型 | 参数量 | 命令 | 模型名称 | 许可证 |
|---|---|---|---|---|---|
| Flux 1 Dev | Text to image | 12B | ghcr.io/kaito-project/aikit/flux1:dev |
flux-1-dev | FLUX.1 [dev] Non-Commercial |
启用 GPU 加速只需在命令中添加 --gpus all。