mirror of
https://github.com/OpenHands/OpenHands.git
synced 2025-12-26 05:48:36 +08:00
* a starting point for SWE-Bench evaluation with docker * fix the swe-bench uid issue * typo fixed * fix conda missing issue * move files based on new PR * Update doc and gitignore using devin prediction file from #81 * fix typo * add a sentence * fix typo in path * fix path --------- Co-authored-by: Binyuan Hui <binyuan.hby@alibaba-inc.com>
15 lines
320 B
Bash
Executable File
15 lines
320 B
Bash
Executable File
#!/bin/bash
|
|
|
|
DOCKER_IMAGE=opendevin/eval-swe-bench:v0.1
|
|
WORK_DIR=`pwd`
|
|
|
|
docker run \
|
|
-it \
|
|
--rm \
|
|
--user root \
|
|
--ipc=host --ulimit memlock=-1 --ulimit stack=67108864 \
|
|
-v $WORK_DIR:/swe-bench \
|
|
-w /swe-bench \
|
|
$DOCKER_IMAGE \
|
|
/bin/bash -c "usermod -u $(id -u) swe-bench && su swe-bench"
|