Setting up all the SWE-Bench Verified images used to take over 200 GiB of storage and 100+ GiB of transfer.
⚠️ Podman cannot load docker-archives with manifests larger than 1 MiB.
We split the archive into two parts:
1curl -L -# https://huggingface.co/LogicStar/SWE-Bench-Verified-Compressed/resolve/main/saved.1.tar.zst?download=true | zstd -d --long=31 --stdout | podman load
2curl -L -# https://huggingface.co/LogicStar/SWE-Bench-Verified-Compressed/resolve/main/saved.2.tar.zst?download=true | zstd -d --long=31 --stdout | podman load
For faster downloads and parallelized loading, use the Hugging Face CLI to download the compressed OCI Layout and our load.py script to load the images in parallel:
1# Clone the repo and cd into it
2hf download LogicStar/SWE-Bench-Verified-Compressed layout.tar.zst --local-dir .
3zstd -d --long=31 --stdout layout.tar.zst | tar -x -f -
4python3 load.py
Just pass --namespace logicstar to the SWE-Bench harness. Example:
1python -m swebench.harness.run_evaluation \
2 --predictions_path gold \
3 --max_workers 1 \
4 --run_id validate-gold \
5 --namespace logicstar