# Environment, dependencies and reproduction Machine-readable pins: [environment.json](environment.json). The external dependencies below are **documented, not contained** in this repository: the container images, the model checkpoint, the VibeSys and ServingStudio source repositories, the Neuron driver and runtime, and the Neuron compile cache. | Dependency | Pin | |---|---| | Hardware | One trn2.48xlarge: 16 Trainium2 devices, 64 LNC2 logical cores. Profile A: 2 replicas × DP8/TP4. Profile B: 2 replicas × DP4/TP8. Each replica is 32 ranks, EP32. | | Host | Amazon Linux 2023, kernel 6.18.56. Neuron driver `aws-neuronx-dkms` 2.31.7.0; runtime-lib 2.35.30.0; collectives 2.35.43.0; tools 2.33.38.0; Docker 25.0.18 ([host-versions.txt](host-versions.txt)) | | Base image | `public.ecr.aws/neuron/pytorch-inference-vllm-neuronx:0.29.0.1.2.0-neuronx-py314-sdk2.33.0-ubuntu26.04@sha256:b9a9015b75a0fe6a2e46cce4c355f032979f507054ba33716e10b945d971e49b` (Neuron SDK 2.33, Python 3.14) | | Task image | Built by VibeSys from the task's `Dockerfile` (`.vibesys/tasks/qwen-flashnext-opt/Dockerfile` in [claude-final](../source/claude-final/.vibesys/tasks/qwen-flashnext-opt/)). Local id `sha256:4f73690e…a8` (`opus55-task:pinned`). Its full package list is [opus55-task-pinned.pip-freeze.txt](opus55-task-pinned.pip-freeze.txt): neuronx-cc 2.28.7631.0, nki 0.7.0, torch 2.13.0, torch-xla 2.13.0, vllm 0.29.0, vllm-neuron (from `/opt/vllm-neuron`), transformers 5.17.0. | | Model | `Qwen/Qwen3.8-Flash-Next` revision `de4b8e4d43b917e7706784d8bb445c9af86a3540`, BF16, 48 layers; 143 files, 131 safetensors, hash-verified ([model-weights-verification.json](model-weights-verification.json)). Not in this repository. | | VibeSys | `https://github.com/uw-syfi/vibesys.git` @ `16cefb70b1cc3730594d99dc164a6ef59181e737` (clean, unchanged throughout; package 0.1.1) | | Agents | Claude Code with `claude-opus-5-5`. Every VibeSys role (orchestrator, profiler, implementer, judge) ran at effort `max` with no fallback; each run's `vibesys-run.json` records the role models and efforts. Host CLI 2.1.312 at handover; container CLI 2.1.304 recorded at the round-2 launch. | | ServingStudio / Sim | [../simulator/revisions.json](../simulator/revisions.json) | | Neuron compile cache | `/home/ec2-user/neuron-cache`, mounted at `/opt/neuron-compile-cache`, never purged, **not published**. It only shortens compilation. | ## Workloads (deterministic generator and seed) The protected evaluator generates the canonical hardware workloads deterministically with `workload(profile)` in `.vibesys/tasks/qwen-flashnext-opt/evaluator/evaluate.py` (Python `random.Random(0)`): - Profile **A** is a burst of 64 requests, 8192 input / 1024 output tokens. - Profile **B** is 128 requests arriving over 8 s. The engine and serving configuration of each profile (`COMMON`, `PROFILES`: DP/TP, buckets, MTP draft tokens) and the original ServingStudio reference numbers (`REFERENCES`) are in the same file. Warm-ups are the original full warm-ups. The simulator workloads are inside each simulator run's `preset.json` ([../simulator/](../simulator/README.md)). ## Reproduce 1. **Source.** - `git clone` this repository, then run `python3 handover/source/verify_source.py`. - Check out the revision you want from the bundle, or browse `handover/source/claude-final/`. 2. **Task and evaluator.** The protected evaluator, its adapter, frozen contracts and per-round handoffs live inside each revision: - `.vibesys/tasks/qwen-flashnext-opt/{evaluator,adapter.py,contracts…,rounds/roundN,seam}`; - round 1 used `.vibesys/tasks/qwen-flashnext-r1`. - CPU self-tests: `python3 -B .vibesys/tasks/qwen-flashnext-opt/evaluator/evaluate.py static` (round-specific test commands are listed in each round's README/DECISION). 3. **An actual VibeSys round.** Exactly as launched, from [../orchestrator-tools/bin/launch-round.sh](../orchestrator-tools/bin/launch-round.sh) (rounds 9–13) and the per-round `launch-roundN.sh` / `roundN-launch.json` files under `campaigns/opus55-restart/rounds/roundN/`: ```bash VIBESYS_STATE_HOME=$STATE /path/to/vibesys/.venv/bin/vibesys --outer-loop agent --task qwen-flashnext-opt --config agent.toml \ --cli-provider claude --model claude-opus-5-5 --local --run-id roundN-... --max-rounds 4 --max-in-flight 1 --max-backlog 0 \ --evaluation-slots 1 --dynamic-mode follow_plan --profiler none --constraint "$(cat roundN-constraint.txt)" ``` - `agent.toml` (the role/model/effort configuration with provider settings) is intentionally **not published**. - Each launch recorded its sha256 (`agent_toml_sha256` in `roundN-launch.json`). The role models and efforts it produced are in each `vibesys-run.json`. 4. **Hardware stages.** The evaluator runs the seam tests, the live guard, and the canonical A/B workloads with full warm-ups. - Expect the first compile of every graph on a fresh machine: warm-up times are recorded per round. - Mount the model at `/model` and a compile cache at `/opt/neuron-compile-cache`. 5. **Orchestrator Tick tools** (benches, device-profile attribution, routing statistics, seam controls, probes): [../orchestrator-tools/](../orchestrator-tools/README.md).