LocalAI
官方Docker 应用程序 from grtgbln's Repository
概述
The free, Open Source OpenAI alternative. Self-hosted, community-driven and local-first.
Drop-in replacement for OpenAI running on consumer-grade hardware.
No GPU required.
Runs gguf, transformers, diffusers and many more models architectures.
It allows to generate Text, Audio, Video, Images. Also with voice cloning capabilities.
Additional image variants are also available: https://localai.io/basics/container/#standard-container-images
For Nvidia GPU support, add "--gpus all" to the Extra Parameters field under Advanced.
For AMD GPU support, add "/dev/kfd" and "/dev/dri" each as a Device and add the required Variables: https://localai.io/features/gpu-acceleration/#setup-example-dockercontainerd
For Intel iGPU support, add "/dev/dri" as a Device and add "--device=/dev/dri" to the Extra Parameters field under Advanced.
要求
The images for this container are several gigabytes (standard images upwards of ~17 GB, AIO images upwards of ~40 GB).
If you receive a "no space left on device" warning during installation, please increase the vDisk size in your Docker settings.
Additional image variants are also available: https://localai.io/basics/container/#standard-container-images
运行时参数
- 网络用户界面
http://[IP]:[PORT:8080]/- 网络
bridge- 外壳
bash- 特权
- false
- 额外参数
--gpus=all
模板配置
WebUIPorttcp
Container Port: 8080
- 目标
- 8080
- 默认值
- 8080
- 价值
- 8080
Debug modeVariable
Whether to enable debug mode
- 目标
- DEBUG
- 默认值
- true|false
Model Storage PathPathrw
Storage for models
- 目标
- /build/models
- 默认值
- /mnt/user/appdata/local_ai/models
- 价值
- /mnt/user/appdata/local_ai/models
下载统计数据
3,864,979
下载总数
669,557
本月
340,158
平均每月
长期下载总量
加载图表...
详细信息
在Unraid 上运行 LocalAI 。
LocalAI 已被列入Unraid OS 的社区应用程序。探索Unraid ,构建灵活的家庭服务器、NAS 或家庭实验室。