Jafner.net/projects/local-ai/up
Joey Hafner 6086222503
Reorganize root level of repo.
- Move homelab, Jafner.dev (now called blog) to root.
- Rename "archived projects" -> "archive"
- Rename "active projects" -> "projects"
- Rename "jafner-homebrew" -> "5ehomebrew"
- Rename "docker-llm-amd" -> "local-ai"
2024-07-16 12:17:55 -07:00

30 lines
820 B
Bash
Executable File

#!/bin/bash
initialdir=${PWD}
cd /home/joey/Projects/LLMs/
wget -q --spider https://ollama-api.jafner.net
if [ $? -eq 0 ]; then
cd ollama
HSA_OVERRIDE_GFX_VERSION=11.0.0
OLLAMA_HOST=192.168.1.135:11434
OLLAMA_ORIGINS="app://obsidian.md*"
OLLAMA_MAX_LOADED_MODELS=0
ollama serve &
cd ..
fi
# Access ollama (API, not a web UI) at http://192.168.1.135:11434 *or* https://ollama-api.jafner.net
cd open-webui
docker compose up -d
cd ..
# Access open-webui at http://localhost:8080 *or* https://openwebui.jafner.net
cd SillyTavern
./start.sh &
cd ..
# Access SillyTavern at http://localhost:5000 *or* https://sillytavern.jafner.net
cd text-generation-webui
./start_linux.sh --api --flash-attn &
cd ..
# Access text-generation-webui at http://localhost:7860 *or* https://oobabooga.jafner.net