removed models.yaml setup as the container runs with root privileges and the user does not

This commit is contained in:
crowetic 2025-05-19 17:40:37 -07:00
parent 70886e0ce4
commit 4358f0f632

View File

@ -531,14 +531,6 @@ if [[ "$1" != "--update" ]]; then
mkdir -p ~/ai-stack/localai/models
mkdir -p ~/ai-stack/localai/config
echo "📄 Creating default models.yaml..."
cat > ~/ai-stack/localai/config/models.yaml <<EOF
- name: phi
backend: llama-cuda
parameters:
model: /models/phi-2.gguf
EOF
echo "📦 Using custom built LocalAI image (localai:custom)"
docker run -d \