Skip to content

Open-source gym & body-weight tracker, now in the App Store (iPhone + Apple Watch) and as an Android APK. Plan routines, log workouts, see which muscles are trained, import from Strong/Hevy/FitNotes. Self-host it or use it on the phone alone.

Coach-Doku: ehrliche Warm-Zeiten (eine bis wenige Minuten, je nach CPU)

Duarte Santos1cb49099014a
diff --git a/.env.example b/.env.example
index bc16929cd..ed164518f 100644
--- a/.env.example
+++ b/.env.example
@@ -150,7 +150,8 @@ RP_NAME=openGym
# COACH_JOB_TIMEOUT_MS gives a job longer than the default five minutes. Only a
# local model on a CPU needs it — and normally only for the first request after
# the model server restarts (the api pre-warms the rules cache after that; a
-# warm review on a 3B model takes about a minute). A hosted API that needs
+# warm review on a 3B model takes one to a few minutes, depending on the CPU).
+# A hosted API that needs
# more has a problem. Never goes below one minute.
#
# COACH_JOB_TIMEOUT_MS=1500000
diff --git a/docs/AI_COACH.md b/docs/AI_COACH.md
index eb0c1065d..52f428b87 100644
--- a/docs/AI_COACH.md
+++ b/docs/AI_COACH.md
@@ -259,7 +259,9 @@ is a bad way to find that out.
A job is given five minutes by default, which is generous for any hosted API. A model running
on a CPU behind the compatible endpoint can need more — with a warm cache a 3B model answers
-in about a minute, but the first job after the model loads pays the full prompt once — so
+in one to a few minutes depending on the CPU (an old 4-core box manages ~12 prompt tokens/s;
+a modern one several times that), but the first job after the model loads pays the full
+prompt once — so
`COACH_JOB_TIMEOUT_MS` in `.env` raises the budget (never below one minute); the api's own
HTTP client waits as long as the job, and the chat says "this can take a while" rather than
promising minutes when the endpoint is a local one. The phone's BYOK mode does the same on
diff --git a/website/docs.html b/website/docs.html
index 2791c9295..524e11396 100644
--- a/website/docs.html
+++ b/website/docs.html
@@ -199,7 +199,8 @@ docker compose up -d</code></pre>
Honest sizing, from measuring exactly this on a small box:</p>
<ul>
<li>A <b>~3B model at Q4</b> (like <code>qwen2.5:3b</code>) fits a 4–6&nbsp;GB container and
- answers a review in <b>about a minute</b> on a 4-core CPU once its cache is warm.</li>
+ answers a review in <b>one to a few minutes</b> once its cache is warm — a modern 4-core
+ CPU sits at the fast end, an old low-power box at the slow one.</li>
<li>A <b>4B model needs ~6&nbsp;GB+</b> for its container. Squeezed into less, it doesn't
fail — it thrashes, generating at ~1 token/second. Smaller and comfortable beats bigger
and swapping.</li>