Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image build error running gold_patch #250

Open
jintheman opened this issue Nov 13, 2024 · 0 comments
Open

Image build error running gold_patch #250

jintheman opened this issue Nov 13, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@jintheman
Copy link

Describe the bug

Running

python3 -m swebench.harness.run_evaluation \
    --dataset_name princeton-nlp/SWE-bench \
    --predictions_path gold \
    --max_workers 1 \
    --instance_ids pylint-dev__pylint-8898  \
    --run_id validate-gold \
;

Gives

Error building image pylint-dev__pylint-8898: 400 Client Error for http+docker://localhost/v1.46/containers/create?name=sweb.eval.pylint-dev__pylint-8898.validate-gold&platform=linux%2Fx86_64: Bad Request ("NanoCPUs can not be set, as your kernel does not support CPU CFS scheduler or the cgroup is not mounted")

This also happens to the following task instances

pylint-dev__pylint-6196 pylint-dev__pylint-6386 pylint-dev__pylint-6517 pylint-dev__pylint-6556 pylint-dev__pylint-6937 pylint-dev__pylint-7114 pylint-dev__pylint-7993 pylint-dev__pylint-8281 pylint-dev__pylint-8757 pylint-dev__pylint-8898

Steps/Code to Reproduce

git clone [email protected]:princeton-nlp/SWE-bench.git
cd SWE-bench
pip install -e .

python3 -m swebench.harness.run_evaluation \
    --dataset_name princeton-nlp/SWE-bench \
    --predictions_path gold \
    --max_workers 1 \
    --instance_ids pylint-dev__pylint-6196 pylint-dev__pylint-6386 pylint-dev__pylint-6517 pylint-dev__pylint-6556 pylint-dev__pylint-6937 pylint-dev__pylint-7114 pylint-dev__pylint-7993 pylint-dev__pylint-8281 pylint-dev__pylint-8757 pylint-dev__pylint-8898  \
    --run_id validate-gold \
;

Expected Results

Gold patches pass without error.

Actual Results

Error building image pylint-dev__pylint-8898: 400 Client Error for http+docker://localhost/v1.46/containers/create?name=sweb.eval.pylint-dev__pylint-8898.validate-gold&platform=linux%2Fx86_64: Bad Request ("NanoCPUs can not be set, as your kernel does not support CPU CFS scheduler or the cgroup is not mounted")

System Information

Ubuntu 22.04.4, Python 3.10, swebench 2.1.2.

@jintheman jintheman added the bug Something isn't working label Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant