#!/bin/bash set -e MODEL_DIR="/data/models" mkdir -p "$MODEL_DIR" MODEL_REPO="ornith-ai/Ornith-1.5-9B-GGUF" MODEL_FILE="Ornith-1.5-9B-Q4_K_M.gguf" echo "==============================================" echo " Ornith-1.5-9B" echo " CPU / Q4_K_M / Long Context" echo "==============================================" echo "Downloading model..." python - </dev/null || \ /opt/llama/llama-server \ --model "$MODEL" \ --host 0.0.0.0 \ --port 7860 \ --ctx-size 32768 \ --threads 2 \ --threads-batch 2 \ --batch-size 512 \ --ubatch-size 128 \ --cache-type-k q8_0 \ --cache-type-v q8_0 \ --cont-batching