Spaces:
Sleeping
Sleeping
Commit History
-
chore: switch ENDPOINT to dedicated pod (zopt7f90d1ydgy)
The shared pod (qry6crb96ko8ep) was being saturated by ~2-5 req/sec of external traffic, leading to ~50% HTTP 500 rate even with cache_prompt:false. Build update from b9038 → b9049 didn't fix this; the failure mode is GPU saturation across 4 shared slots, not a slot-bookkeeping bug. New pod zopt7f90d1ydgy is dedicated to mini-world: - LLAMA_ARG_N_PARALLEL=1 (single slot, no multi-tenant slot pollution) - Same image (ghcr.io/ggml-org/llama.cpp:server-cuda) - Same model (unsloth/Qwen3.6-27B-GGUF / Qwen3.6-27B-UD-Q4_K_XL.gguf) - Same RTX 3090, ctx_size 8192 - Costs $0.46/hr — same as old pod Verified: 20/20 successful chat completions on the fresh pod (vs 10/20 on the shared pod immediately after restart). Updated default ENDPOINT in: - server.ts (Space inference loop) - eval.ts (long-horizon eval harness) - eval-scenarios.ts (controlled-scenario eval) - README.md (doc reference) Old pod can be deleted once Space rebuild confirms the new endpoint works.a0a680b -
chore: boot Space paused during experiment phase
Add START_PAUSED env var support in server.ts. When START_PAUSED=1, agent loop comes up idle and waits for /api/resume. Set it in the Dockerfile so the deployed Space stops hammering the shared runpod endpoint while we run controlled experiments locally. Resume via the browser when the Space should run again. Local dev unaffected (env unset → unpaused as before). Also: - engine.js: SinglePlayerGame now accepts a {seed} option using a mulberry32 PRNG so eval runs are reproducible across variants. - agent-brain.js: buildPickFirstPrompt and analyzeViewport now take an optional radius (default 4 = 9×9). Allows variant sweeps. - eval.ts (new): headless agent benchmark. Takes --variant --seed --turns and emits one JSON metrics object per run. Variants in VARIANTS map (baseline, viewport_5, viewport_13, temp_0/high, thinking_on, cache_on). Captures: diamonds/N, realActionRate, illegalMoveRate, pickPrecision, directionEntropy, medianLatency, cacheHitRate, full per-turn token s…327ab12