Skip to content

Mac Mini M4 #3313

@SonicSaurav

Description

@SonicSaurav

python3 scripts/run.py scripts/config_swebench.yaml
None of PyTorch, TensorFlow >= 2.0, or Flax have been found. Models won't be available and only tokenizers, configuration and file/data utilities can be used.
🐸 [debug-gym ]: WARNING Experiment log path: exps/swebench-lite/193cb57d-bb76-45ab-a9d3-d2874e5929aa
Base image sweb.base.arm64:latest already exists, skipping build.
Building base image (sweb.base.x86_64:latest)
Traceback (most recent call last):
File "/Users/saurav/Downloads/debug-gym/debug-gym/env/lib/python3.13/site-packages/swebench/harness/docker_build.py", line 147, in build_image
raise docker.errors.BuildError(
chunk["errorDetail"]["message"], buildlog
)
docker.errors.BuildError: The command '/bin/sh -c wget 'https://repo.anaconda.com/miniconda/Miniconda3-py311_23.11.0-2-Linux-x86_64.sh' -O miniconda.sh && bash miniconda.sh -b -p /opt/miniconda3' returned a non-zero code: 133

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/Users/saurav/Downloads/debug-gym/debug-gym/scripts/run.py", line 188, in
main()
~~~~^^
File "/Users/saurav/Downloads/debug-gym/debug-gym/scripts/run.py", line 112, in main
env = create_env(config, logger=logger)
File "/Users/saurav/Downloads/debug-gym/debug-gym/scripts/run.py", line 85, in create_env
env = env_class(**config["env_kwargs"], terminal=terminal, logger=logger)
File "/Users/saurav/Downloads/debug-gym/debug-gym/debug_gym/gym/envs/swe_bench.py", line 54, in init
self.load_dataset()
~~~~~~~~~~~~~~~~~^^
File "/Users/saurav/Downloads/debug-gym/debug-gym/debug_gym/gym/envs/swe_bench.py", line 95, in load_dataset
build_env_images(
~~~~~~~~~~~~~~~~^
docker_client,
^^^^^^^^^^^^^^
...<2 lines>...
max_workers=24,
^^^^^^^^^^^^^^^
)
^
File "/Users/saurav/Downloads/debug-gym/debug-gym/env/lib/python3.13/site-packages/swebench/harness/docker_build.py", line 276, in build_env_images
build_base_images(client, dataset, force_rebuild)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/saurav/Downloads/debug-gym/debug-gym/env/lib/python3.13/site-packages/swebench/harness/docker_build.py", line 198, in build_base_images
build_image(
~~~~~~~~~~~^
image_name=image_name,
^^^^^^^^^^^^^^^^^^^^^^
...<4 lines>...
build_dir=BASE_IMAGE_BUILD_DIR / image_name.replace(":", "__"),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/Users/saurav/Downloads/debug-gym/debug-gym/env/lib/python3.13/site-packages/swebench/harness/docker_build.py", line 153, in build_image
raise BuildImageError(image_name, str(e), logger) from e
swebench.harness.docker_build.BuildImageError: Error building image sweb.base.x86_64:latest: The command '/bin/sh -c wget 'https://repo.anaconda.com/miniconda/Miniconda3-py311_23.11.0-2-Linux-x86_64.sh' -O miniconda.sh && bash miniconda.sh -b -p /opt/miniconda3' returned a non-zero code: 133
Check (logs/build_images/base/sweb.base.x86_64__latest/build_image.log) for more information.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions