sahiljagtap's picture
Drums launch benchmarks reproduction + paired Drums/Prime/E2B re-run (scrubbed)
4ef198a
|
Raw History Blame Contribute Delete
5.46 kB

Rerun these numbers yourself

Release note (2026-11-22, after these runs). drumsd v0.2.1, the release measured here, has been withdrawn: its download was removed because the tarball shipped files that were not meant to be published, and its installer fails on the current Ubuntu 24.04 AMI. The exact tarball measured here was drums-release-80ff10e07568.tar.gz, sha256 f2c4e9782692c1701d236ec05dcfde7ebba89a9a34b71bae1aa957b1203c2e7f; the Drums team keeps a private copy. To rerun with what is public, install v0.2.2 (drums-release-6257cb4aecb6.tar.gz, sha256 80171581ef926b4a54f6c1e4d04576b10ebd454c878a9ac04d913f38f78a4c73), which installs on the current AMI. v0.2.2 is a newer runtime, so its numbers are not guaranteed to match the v0.2.1 rows below.

Everything below is what this run did, in order. Costs are AWS on-demand list prices in us-east-1 on 2026-11-22. Until the Drums repos are public (launch: 2026-11-24 12:00 PM ET), steps that download from GitHub need access to the private Drums-Labs org; after launch they work anonymously.

0. Pick the image (important)

Use the Ubuntu 24.04 AMI ami-0d6dd9e8265d48906 (us-east-1; ubuntu-noble-24.04-amd64-server-20261023). drumsd v0.2.1's installer FAILS on the current Canonical image (serial 20261120, ami-0a951420c495183dc): libc6-dev : Depends: libc6 (= 2.39-0ubuntu8.9) but 2.39-0ubuntu8.12 is to be installed (the release pins an apt snapshot of 2026-10-29; the newer image already has a newer libc6). See the dataset card, "Install-path findings".

1. Hosts

# reset + density + valid/USD (C1, C3, C5-Drums, C6): r8i.16xlarge, nested virtualization ON (the KVM and Docker arms need /dev/kvm)
aws ec2 run-instances --region us-east-1 --instance-type r8i.16xlarge --image-id ami-0d6dd9e8265d48906 \
  --cpu-options NestedVirtualization=enabled --key-name <key> --security-group-ids <sg: ssh from you> --subnet-id <public subnet> \
  --block-device-mappings 'DeviceName=/dev/sda1,Ebs={VolumeSize=600,VolumeType=gp3,Iops=16000,Throughput=1000}' \
  --instance-initiated-shutdown-behavior stop --user-data file://guard-userdata.sh
# warm fork (C2): m8i.16xlarge (spot is fine), 250 GiB gp3
aws ec2 run-instances --region us-east-1 --instance-type m8i.16xlarge --image-id ami-0d6dd9e8265d48906 \
  --key-name <key> --security-group-ids <sg> --subnet-id <public subnet> \
  --block-device-mappings 'DeviceName=/dev/sda1,Ebs={VolumeSize=250,VolumeType=gp3,Iops=6000,Throughput=500}' \
  --instance-market-options 'MarketType=spot,SpotOptions={SpotInstanceType=one-time,InstanceInterruptionBehavior=terminate}'

2. Install Drums like an outsider (every host)

gh release download v0.2.1 -R Drums-Labs/drumsd         # after launch: curl -LO the two assets from the releases page
scp drums-release-80ff10e07568.tar.gz* outsider-install.sh quickstart.py <host>:
ssh <host> bash outsider-install.sh                      # sha256 check, sudo ./install.sh, venv + pip install drums-sdk, quickstart

Expected: install.sh about 6.5 min; the quickstart prints 4 children valid=True and a cost dict.

3. Reset, density, valid/USD (T1 bench, about 3.5-4 h per host, about 17-20 USD per host)

git clone https://github.com/Drums-Labs/drums && cd drums && git checkout d0c27ae
git am 0001-pins-v0.2.1.patch    # only change: pins.json -> the v0.2.1 tarball (author email in the patch is a placeholder, so the commit hash differs from 07162a4; the tree is identical)
ARMS="drums-api qemu-tuned-shared osworld-docker" LABEL=mylabel \
  experiments/sota-t1/t1-reproduce.sh <host> drums-release-80ff10e07568.tar.gz ./out full
python3 rung_reset.py experiments/sota-t1/analyze.py out/raw/mylabel drums-api:32 osworld-docker:16   # claim C1
cat out/summary-mylabel/tables.md                                                                    # C3, C5, C6

4. Warm fork (T2b bench, about 40 min, about 1 USD spot)

mkdir -p rep/release && cp drums-release-80ff10e07568.tar.gz rep/release/ && cp -r <dataset>/scripts/t2b-bench rep/bench
scp -r rep <host>: && ssh <host> 'cd rep && bash bench/rep2.sh B w1'
cat rep/out/B/tables.md      # W1p fork p50 = claim C2

(t2b-bench/ is a byte-identical copy of the T2b-rep2 bench; rep2.sh B installs v0.2.1, runs W1p x30 then W1 x30.)

5. Rebuild the dataset tables from raw

python3 build_dataset.py --out data --t1 repro:H-t1a:<raw dir> --t1 repro:H-t1b:<raw dir> --fork repro:H-fork:<rep/out/B/raw>

6. Real-model arm (Q1, about 4.2 h, about 72 USD at spot)

# GPU: p4d.24xlarge (8x A100 40 GB) spot, Deep Learning Base OSS Nvidia Driver GPU AMI (Ubuntu 24.04) ami-06d20c922ee616e37,
#      SG: ssh from you, 8000/tcp only from the env host's SG. Env host: as in section 1, same AZ, then steps 2 and the T1 bootstrap:
sudo bash /opt/t1/src/experiments/sota-t1/bootstrap.sh /opt/t1/drums-release-80ff10e07568.tar.gz
# GPU host: bench-r2/model gpu-bootstrap.sh (monorepo e706735) with q1-gpu-pins.json as its pins.json (A1's dp8 flags)
sudo MODEL_FALLBACK=1 bash experiments/bench-r2/model/gpu-bootstrap.sh     # serves extreme1228/ScaleCUA-qwen3.5-osworld-sft@ff2508f6
# env host: copy the key from /opt/r2/api-key out of band, then
sudo POL=http://<gpu-private-ip>:8000 KEYFILE=/opt/q1/api-key OUT=/opt/q1/out/<label> bash q1bench.sh
sudo /opt/t1/venv/bin/python -I q1_matched.py /opt/t1/src/experiments /opt/q1/out/<label> 16.9631    # A1's GPU price