mirror of
https://github.com/nextcloud/all-in-one.git
synced 2024-11-15 11:35:56 +08:00
c603b17625
Breaking because they no longer ship Arm64 images and thus it can no longer run on arm64 and would fail to start in that case. Signed-off-by: Simon L <szaimen@e.mail.de> |
||
---|---|---|
.. | ||
local-ai.json | ||
readme.md |
Local AI
This container bundles Local AI and auto-configures it for you.
Notes
- This container does not work on arm64! If you add the container on arm64, it will fail to start because no image for arm64 is available!
- Make sure to have enough storage space available. This container alone needs ~14GB storage. Every model that you add to
models.yaml
will of course use additional space which adds up quite fast. - After the container was started the first time, you should see a new
nextcloud-aio-local-ai
folder when you open the files app with the defaultadmin
user. In there you should see amodels.yaml
config file. You can now add models in there. Please refer here where you can get further urls that you can put in there. Afterwards restart all containers from the AIO interface and the models should automatically get downloaded by the local-ai container and activated. - Example for content of
models.yaml
(if you add all of them, it takes around 10GB additional space):
# Stable Diffusion in NCNN with c++, supported txt2img and img2img
- url: github:go-skynet/model-gallery/stablediffusion.yaml
# Port of OpenAI's Whisper model in C/C++
- url: github:go-skynet/model-gallery/whisper-base.yaml
name: whisper-1
# A commercially licensable model based on GPT-J and trained by Nomic AI on the v0 GPT4All dataset.
- url: github:go-skynet/model-gallery/gpt4all-j.yaml
name: gpt4all-j
- Additionally after doing so, you might want to enable or disable specific features for your models in the integration_openai settings:
https://your-nc-domain.com/settings/admin/connected-accounts
- See https://github.com/nextcloud/all-in-one/tree/main/community-containers#community-containers how to add it to the AIO stack
Repository
https://github.com/szaimen/aio-local-ai