22 lines
1.7 KiB
Bash
22 lines
1.7 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) writes a Three.js tic-tac-toe game (rerun after the 32768 output cap) against the production stack
|
|
# (leleka-inference Original serve, default conversation cache, behind strata-next). Profiling on, engine log kept.
|
|
export E2E_BIN=$HOME/work/leleka-e2e/bin-sm120
|
|
export E2E_OUT=$HOME/work/leleka-e2e/runs/943c-codex-ttt
|
|
export CODEX_TIMEOUT_S=5400
|
|
export LELEKA_BRINGUP_TRACE=1 # PREFILL-PROFILE / round lines in the engine log
|
|
# 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="--spec-min-p 0.5"
|
|
export E2E_SAMPLE_S=10
|
|
export LELEKA_CAPTURE_DIR=$HOME/work/codex-e2e/capture/943c-codex-ttt # PRIVATE: prompt + generated token ids of every request, for offline replay (never in Git) # RSS / VRAM / MemAvailable every 10 s
|
|
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 ttt"
|
|
rm -rf $E2E_OUT $LELEKA_CAPTURE_DIR
|
|
date -u +%FT%TZ; sha256sum $E2E_BIN/* $HOME/work/codex-e2e/bin/codex $HOME/work/codex-e2e/vendor/three.module.min.js
|
|
bash $HOME/work/leleka-e2e/scripts/e2e/run-e2e.sh
|
|
echo "run-e2e rc=$?"
|
|
date -u +%FT%TZ
|