Solves context out of bound due to history

This commit is contained in:
Samuele Lorefice
2024-12-26 04:32:11 +01:00
parent 4167c75279
commit 65950e3642
4 changed files with 159 additions and 65 deletions

View File

@@ -1,6 +1,7 @@
services:
nemesisBot:
image: telegrambot
container_name: nemesisBot
build:
context: .
dockerfile: TelegramBot/Dockerfile
@@ -14,7 +15,7 @@
- ${MODEL_PATH}:/models
ports:
- "80:80"
command: -m /models/${MODEL_NAME} --port 80 --host 0.0.0.0 -n 128 -c 2048 --no-mmap -ngl 50 -fa -np 4 --keep 810
command: -m /models/${MODEL_NAME} --port 80 --host 0.0.0.0 -n 128 -c 4096 --no-mmap -ngl 50 -fa -np 4
deploy:
resources:
reservations: