Snider Virgil commited on
Commit ·
7e9482c
1
Parent(s): 0600876
cron: hourly cadence at :07 and :37 past the hour
Browse filesAlign with the legacy LEM-benchmarks cron cadence already running on
charon (the old Ollama pipeline pushes at '7 * * * *'). Also bumping
the clone path assumption from $HOME/LEM-Eval to
$HOME/PycharmProjects/LEM-Eval to match the actual install location
lemmy uses on charon.
submit.cron 7 * * * * once per hour, flock-guarded against overlap
maintain.cron 37 * * * * git pull LEM-Eval + lem-benchmarks (~30 min
offset from submit so it doesn't race)
Co-Authored-By: Virgil <virgil@lethean.io>
- cron/maintain.cron +4 -3
- cron/submit.cron +9 -6
cron/maintain.cron
CHANGED
|
@@ -1,7 +1,8 @@
|
|
| 1 |
# LEM-Eval maintain cron — git-pulls LEM-Eval + lem-benchmarks hourly so
|
| 2 |
# config edits and tool updates propagate to workers automatically.
|
| 3 |
#
|
| 4 |
-
# Pairs with submit.cron. Runs
|
| 5 |
-
#
|
|
|
|
| 6 |
|
| 7 |
-
|
|
|
|
| 1 |
# LEM-Eval maintain cron — git-pulls LEM-Eval + lem-benchmarks hourly so
|
| 2 |
# config edits and tool updates propagate to workers automatically.
|
| 3 |
#
|
| 4 |
+
# Pairs with submit.cron. Runs at :37 past the hour, ~30 min offset
|
| 5 |
+
# from the :07 submit cron so it doesn't interfere with in-flight
|
| 6 |
+
# evals.
|
| 7 |
|
| 8 |
+
37 * * * * cd $HOME/PycharmProjects/LEM-Eval && ./lem-eval.sh maintain >> /tmp/lem-eval-maintain.log 2>&1
|
cron/submit.cron
CHANGED
|
@@ -1,11 +1,14 @@
|
|
| 1 |
-
# LEM-Eval submit cron —
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
#
|
| 3 |
# Install with:
|
| 4 |
# crontab -l | cat - cron/submit.cron | crontab -
|
| 5 |
#
|
| 6 |
-
#
|
| 7 |
-
#
|
| 8 |
-
#
|
| 9 |
-
# The flock guard prevents overlap if a previous run is still going.
|
| 10 |
|
| 11 |
-
|
|
|
|
| 1 |
+
# LEM-Eval submit cron — one pass per hour over all runnable targets.
|
| 2 |
+
#
|
| 3 |
+
# Runs at :07 past the hour to match the legacy LEM-benchmarks cadence
|
| 4 |
+
# Snider's homelab has been running since the Ollama pipeline days. The
|
| 5 |
+
# flock guard prevents overlap if a previous run is still going (the
|
| 6 |
+
# 26B/31B model targets can take longer than an hour to complete 8-PAC).
|
| 7 |
#
|
| 8 |
# Install with:
|
| 9 |
# crontab -l | cat - cron/submit.cron | crontab -
|
| 10 |
#
|
| 11 |
+
# Adjust the path to the LEM-Eval clone if you installed it elsewhere
|
| 12 |
+
# than $HOME/PycharmProjects/LEM-Eval.
|
|
|
|
|
|
|
| 13 |
|
| 14 |
+
7 * * * * cd $HOME/PycharmProjects/LEM-Eval && flock -n .lock ./lem-eval.sh once >> /tmp/lem-eval.log 2>&1
|