Any chance someone has recently run the swe bench ...
# questions
f
Any chance someone has recently run the swe bench evalution in macbook? Docker Desktop enabled Command:
Copy code
make build
./evaluation/benchmarks/swe_bench/scripts/run_infer.sh llm.eval_sonnet-4-20250514 HEAD CodeActAgent 1 100 1 princeton-nlp/SWE-bench_Verified test
Errors:
Copy code
12:55:30 - openhands:INFO: run_infer.py:606 - Starting evaluation for instance scikit-learn__scikit-learn-13439.
12:55:32 - openhands:INFO: runtime_build.py:189 - Building image: ghcr.io/all-hands-ai/runtime:oh_v0.51.1_moy5p7w582kaxie8_qlzs19yelaiapdau
================ DOCKER BUILD STARTED ================
12:55:53 - openhands:ERROR: docker.py:196 - Image build failed:
Command '['docker', 'buildx', 'build', '--progress=plain', '--build-arg=OPENHANDS_RUNTIME_VERSION=0.51.1', '--build-arg=OPENHANDS_RUNTIME_BUILD_TIME=2025-08-07T12:55:40.176944', '--tag=ghcr.io/all-hands-ai/runtime:oh_v0.51.1_moy5p7w582kaxie8_qlzs19yelaiapdau', '--load', '/var/folders/7c/v6scm_jj7gs5xj6s_4llk7y00000gn/T/tmpvhdvi0hi']' returned non-zero exit status 1.
...
...
docker.errors.NotFound: 404 Client Error for http+docker://localhost/v1.51/containers/openhands-runtime-0226c132-41fe-46-317525028c1d957/json: Not Found ("No such container: openhands-runtime-0226c132-41fe-46-317525028c1d957")
...
...
subprocess.CalledProcessError: Command '['docker', 'buildx', 'build', '--progress=plain', '--build-arg=OPENHANDS_RUNTIME_VERSION=0.51.1', '--build-arg=OPENHANDS_RUNTIME_BUILD_TIME=2025-08-07T12:50:22.509762', '--tag=ghcr.io/all-hands-ai/runtime:oh_v0.51.1_moy5p7w582kaxie8_prxzoovsumhi3omq', '--load', '/var/folders/7c/v6scm_jj7gs5xj6s_4llk7y00000gn/T/tmpmh04bls7']' returned non-zero exit status 1.
Struggled for a while but had no ideas. Any hints for this? Thanks!
➕ 1
w
When I've seen similar errors it's been because I didn't have enough room on that machine to build the image. Pruning old images and containers can sometimes help.
f
Thanks for your reply! I still have >400GB so this might be not the cause.
w
Ooh yeah, maybe not. It's probably worth looking more closely at the output of the
docker buildx build
commands to see what the actual failure is. Though I think you'll have to mess with the process object here to actually see the details.