-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Unable to run SWE-agent on x86_64 WSL2 due to latest sweagent ARM64 image getting pulled instead of linux/amd64 #107
Labels
🐛 bug
Something isn't working
Comments
HuggingLocalAvailableModels
changed the title
Unable to run SWE-agent on x86_64 WSL2 due to ARM64 image pulled instead of linux/amd64
Unable to run SWE-agent on x86_64 WSL2 due to latest sweagent ARM64 image getting pulled instead of linux/amd64
Apr 6, 2024
@carlosejimenez is currently working this, thanks for your report! |
Can you try using |
I.e., docker pull klieret/swe-agent:latest --platform=linux/amd64 then
|
It works! Thank you for help) |
Great! Then I'll make those images the official ones :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description:
I am trying to run the SWE-agent Docker container on a Windows Subsystem for Linux (WSL2) environment with x86_64 architecture. However, I am encountering an issue where the pulled Docker image is always the ARM64 version, even when specifying the linux/amd64 platform.
Steps to Reproduce:
Expected Behavior:
The SWE-agent Docker container should run successfully using the x86_64 (amd64) image on the WSL2 environment.
Actual Behavior:
Despite specifying the linux/amd64 platform using the --platform flag during the docker pull command and setting the DOCKER_DEFAULT_PLATFORM environment variable to linux/amd64, the pulled Docker image is always the ARM64 version. The container fails to run due to the architecture mismatch, with the following error message:
Environment:
Additional Information:
uname -m
in the WSL2 environment is x86_64, confirming that the Linux distribution is running on x86_64 architecture.Please let me know if you need any further information or if there are any additional steps I can take to resolve this issue.
The text was updated successfully, but these errors were encountered: