Koboldcpp-Tiefighter / entrypoint.sh
tengal-teemo's picture
Update entrypoint.sh
d8cf30c verified
raw
history blame
No virus
514 Bytes
echo "Printing Logs"
for file in "/data"/*; do echo "Logs for $file"; cat $file; echo; done
export LOGFILE="/data/log_$(date +'%Y%m%d_%H%M%S').txt"
touch $LOGFILE
./koboldcpp --model model-00001-of-00002.gguf --whispermodel whispermodel.ggml --sdmodel imgmodel.ggml --sdthreads 4 --sdquant --sdclamped --mmproj mmproj.ggml $ADDITIONAL --port 7860 --hordemodelname $MODEL_NAME --hordemaxctx 1 --hordegenlen 1 --preloadstory default.json --chatcompletionsadapter adapter.json --ignoremissing $SECRET | tee $LOGFILE