removed models.yaml setup as the container runs with root privileges and the user does not
This commit is contained in:
parent
70886e0ce4
commit
4358f0f632
@ -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 \
|
||||
|
Loading…
x
Reference in New Issue
Block a user