Files
leleka/scripts/e2e/codex/jobs/945c-e2e-codex-crm.sh
T

22 lines
1.5 KiB
Bash

set -uo pipefail
# claude/e2e (rerun with the reference-equivalent config, auto expert cache + spec-min-p 0.5): the real Codex CLI (0.163.0) builds a CRM (Python stdlib + SQLite) with the PREFIX CACHE on (--prefix-cache-mib auto,
# replaces the conversation cache). Long-horizon session; profiling on, engine log kept.
export E2E_BIN=$HOME/work/leleka-e2e/bin-sm120
export E2E_OUT=$HOME/work/leleka-e2e/runs/945c-codex-crm
export CODEX_TIMEOUT_S=10200
export LELEKA_BRINGUP_TRACE=1 LELEKA_PREFIX_TRACE=1
# reference-equivalent engine configuration (the vanilla Strata Codex runs): automatic per-layer expert cache with the 98x/990 profile,
# --spec-min-p 0.5 (MTP depth 4 is the Original's default), INT8 K+V 32768 resident cells (default), adaptive tier, seed default; the gpu budget
# the way the 98x/99x auto-cache jobs did (30 GiB), so the auto-sized cache has the free VRAM the Original had
export LELEKA_ORIGINAL_SERVE_EXPERT_SLOTS=auto E2E_GPU_BUDGET=32212254720
export E2E_ENGINE_ARGS="--prefix-cache-mib auto --spec-min-p 0.5"
export E2E_SAMPLE_S=10
export LELEKA_CAPTURE_DIR=$HOME/work/codex-e2e/capture/945c-codex-crm # PRIVATE: prompt + generated token ids of every request, for offline replay (never in Git)
export E2E_STATUS_FILE=$HOME/work/codex-e2e/STATUS.txt
export E2E_RUN_CMD="bash $HOME/work/leleka-e2e/scripts/e2e/codex/run-codex.sh crm"
rm -rf $E2E_OUT $LELEKA_CAPTURE_DIR
date -u +%FT%TZ; sha256sum $E2E_BIN/* $HOME/work/codex-e2e/bin/codex
bash $HOME/work/leleka-e2e/scripts/e2e/run-e2e.sh
echo "run-e2e rc=$?"
date -u +%FT%TZ