Compare commits

...
Author SHA1 Message Date
hermes 1d59b3fe09 fix: limite de CPU 6.0 para ollama
803% de CPU durante el thinking (ya fixeado con think=false) podria
repetirse en cargas largas. Cap de 6 CPUs (de las 8+ del host):
- compose (openwebui/wordpress): deploy.resources.limits.cpus: 6.0
- docker run (hermes/openclaw): --cpus 6.0

Verificado: cap de 3.5 en host de 4 cores => 353% max (cap respetado).
2026-09-12 23:07:37 +02:00
hermes 5030770bc2 fix: think=false en Open WebUI (el SYSTEM /no_think no basta) (#24)
Co-authored-by: Hermes Agent <hermes@d0a1.es>
2026-09-12 23:06:35 +02:00
4 changed files with 6 additions and 4 deletions

No files matched your search

+1 -1
View File
@@ -117,7 +117,7 @@ $running = docker ps --format '{{.Names}}' | Select-String -Quiet 'd0a1-hermes-o
if (-not $running) {
$GpuArgs = @()
if ($HasGpu) { $GpuArgs = @('--gpus', 'all') }
docker run -d --name d0a1-hermes-ollama --memory 6g @GpuArgs `
docker run -d --name d0a1-hermes-ollama --memory 6g --cpus 6.0 @GpuArgs `
-p "${OllamaPort}:11434" `
-v d0a1_hermes_ollama:/root/.ollama `
-e OLLAMA_HOST=0.0.0.0 `
+1 -1
View File
@@ -117,7 +117,7 @@ $running = docker ps --format '{{.Names}}' | Select-String -Quiet 'd0a1-openclaw
if (-not $running) {
$GpuArgs = @()
if ($HasGpu) { $GpuArgs = @('--gpus', 'all') }
docker run -d --name d0a1-openclaw-ollama --memory 6g @GpuArgs `
docker run -d --name d0a1-openclaw-ollama --memory 6g --cpus 6.0 @GpuArgs `
-p "${OllamaPort}:11434" `
-v d0a1_openclaw_ollama:/root/.ollama `
-e OLLAMA_HOST=0.0.0.0 `
+2 -1
View File
@@ -30,6 +30,7 @@ services:
resources:
limits:
memory: 6G
cpus: "6.0"
openwebui:
container_name: d0a1-openwebui
@@ -48,7 +49,7 @@ services:
ENABLE_WEB_SEARCH: "false"
ENABLE_DIRECT_CONNECTIONS: "false"
CHAT_RESPONSE_MAX_TOOL_CALL_ITERATIONS: "1"
DEFAULT_MODEL_PARAMS: '{"function_calling": "legacy"}'
DEFAULT_MODEL_PARAMS: '{"function_calling": "legacy", "think": false}'
depends_on:
ollama:
condition: service_healthy
+2 -1
View File
@@ -63,6 +63,7 @@ services:
resources:
limits:
memory: 6G
cpus: "6.0"
openwebui:
container_name: d0a1-wp-openwebui
@@ -78,7 +79,7 @@ services:
WEBUI_AUTH: "false"
DEFAULT_LOCALE: "es"
CHAT_RESPONSE_MAX_TOOL_CALL_ITERATIONS: "1"
DEFAULT_MODEL_PARAMS: '{"function_calling": "legacy"}'
DEFAULT_MODEL_PARAMS: '{"function_calling": "legacy", "think": false}'
depends_on:
ollama:
condition: service_healthy