Is it possible to use the Remote Runtime to run `e...
# questions
p
Is it possible to use the Remote Runtime to run
eval_infer.sh
(evaluating generated patches) for SWE Bench?
w
p
Ah nice, I actually already have access and
run_infer.sh
works with the remote runtime. Should the following command format work for
eval_infer.sh
?
Copy code
ALLHANDS_API_KEY="YOUR-API-KEY" RUNTIME=remote SANDBOX_REMOTE_RUNTIME_API_URL="https://runtime.eval.all-hands.dev" EVAL_DOCKER_IMAGE_PREFIX="us-central1-docker.pkg.dev/evaluation-092424/swe-bench-images" \
./evaluation/benchmarks/swe_bench/scripts/eval_infer.sh $YOUR_OUTPUT_JSONL
I'm running this on a system that doesn't have docker installed.
run_infer.sh
works but
eval_infer.sh
failed as it tried to run some docker-related command locally.
Is it because
eval_infer.sh
uses the
swebench
library directly, instead of a custom openhands script (like
run_infer.py
) that can use the remote runtime?
c
Actually, I'm not sure this still works. We used to have a different script for the eval side, an eval_infer_remote.sh that we have deprecated. With the remote eval set up on the openhands repo, we are using
modal
. It's a remote eval recommended by SWE-bench, I believe. https://github.com/All-Hands-AI/OpenHands/tree/main/evaluation/benchmarks/swe_bench#run-evaluation-with-official-s[…]nd-if-you-have-local-disk-space
Cc: @full-greece-2387
f
I think for
eval_infer.sh
you'll need Docker installed locally. As @calm-artist-7206 mentioned the
eval_infer_remote.sh
which uses Remote Runtime has been deprecated, if you don't have Docker I'd suggest you can create a Modal account and use the
modal
option
p
Thanks, I will try that!