Run an autonomous driving task
Download this revision, including its large files, on a Linux x86-64 host with QEMU/KVM and Docker. Run sha256sum --quiet -c SHA256SUMS from the repository root. Choose a task ID from the filenames in task_python/.
Boot the driving desktop
Start each episode with a fresh writable overlay. From the repository root, run these commands to boot the pinned Ubuntu image and expose its OSWorld controller on localhost.
qemu-img create -f qcow2 -F qcow2 -b "$(realpath environment/autonomous-driving-ubuntu-22.04.qcow2)" episode.qcow2
qemu-system-x86_64 -enable-kvm -cpu host -smp 2 -m 4096 -drive file=episode.qcow2,format=qcow2,if=virtio -vga std -display none -netdev user,id=control,restrict=on,hostfwd=tcp:127.0.0.1:55000-:5000 -device virtio-net-pci,netdev=control
Check the desktop from a second terminal with curl --fail http://127.0.0.1:55000/screenshot -o desktop.png. The guest image checksum and grader container ID are in image.json.
Run the task
- On the host, select
task_python/<id>.pyand its matchingassets/<id>/directory. Keep grading references on the host. Transferosworld.task.jsonandpublic/seed/to a root-owned folder in the guest, preserving their relative paths. - In the guest, run
ad-setup-task /path/to/task --launchas root to prepare the desktop. If the helper is absent, extractenvironment/ubuntu-22.04-amd64-offline.tarinside the guest, enteroffline-autonomous-driving/, runsha256sum --quiet -c SHA256SUMS && bash install.sh useras root and reboot before preparing the task. - End the privileged session. Run the agent as the unprivileged desktop user with sudo denied and external networking disabled. On the host, set
OSWORLD_AD_PREPAREDto the selected task ID for this episode, load its Python adapter with its asset directory, and use the recorded model settings and prompt.
Regrade a recorded submission
From the repository root, load the supplied grader and run it for a task ID.
docker load -i environment/grader-linux-amd64.tar.gz
docker run --rm --network none -v "$PWD:/data:ro" ad-grading:20261127 /data/tools/regrade.py av_bracketshift_5472
The grader restores evaluation/<id>/submission.zip, scores it, and compares the result with rollouts/<id>/rollout1/reward.txt. It exits with a nonzero status if the scores differ.
- Downloads last month
- 2,385