-
Notifications
You must be signed in to change notification settings - Fork 6.3k
[Core] Support aarch64 -- causing docker on M1 build and runtime errors #28103
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
Comments
Additional information: I changed the ray worker's target address from the "redis" port
|
Were you able to get any workaround? |
Facing the same problem, do we have a workaround yet? |
I'm facing the same issue. |
Could you all say a bit more about what exactly is the issue here? My understanding is that:
|
Correct. More specifically, I have my own docker image inside which I'm trying to install Ray, all on a M1 Mac.
Yes. On a M1 mac, installing ray inside a container (in both ubuntu and continuumio/miniconda3 images) fails:
A workaround to the installation issue is to use the
|
Thanks @richardliaw. I believe this is impacting @pounde as well. |
Correct. Currently developing on Mac M1. Happy to help where able. |
Re the new title: Afaik, both |
Kit, thanks for the feedback! Can you help me understand what’s the
difference between the two? I couldn’t find a good explanation online.
…On Thu, Dec 22, 2022 at 4:14 PM Kit Lee ***@***.***> wrote:
Re the new title: Afaik, both linux/amd64 and linux/aarch64 do not work
inside docker hosted on a M1, but they failed differently (see
romilbhardwaj <https://github.com/romilbhardwaj>'s post).
—
Reply to this email directly, view it on GitHub
<#28103 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABCRZZNLQPUDA5IVK7674JDWOTVFBANCNFSM57T4PAZA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
On
On
(hopefully this is consistent with what others are seeing, feel free to correct me) |
OK got it, so arm64 == aarch64, but they are different from amd64. Would it be OK for us only to support aarch64 first? |
This is exactly what I am experiencing as well |
Same here as well. |
We are now building aarch64 images (#31522), which suffices the workable solution. I'll track another issue though to add support for a platform-native docker image (i.e. use |
This comment was marked as resolved.
This comment was marked as resolved.
@lundybernard Did your build from source idea ever work? |
What happened + What you expected to happen
We are building a docker-compose config to wire-up ray as a single-node or cluster, and wire it up with additional services (logging, S3 storage, etc.), and provide an "easy button" for our users. Many of our users are now stuck on Apple M1(arm64) hardware, and we need to support them.
Best Case:
use the rayproject/ray (or ray-ml) container directly
docker-compose up
Results in a Timeout error:docker run --platform linux/x86_64 rayproject/ray ray start -v --head --port=6377 --redis-shard-ports=6380,6381 --object-manager-port=22345 --node-manager-port=22346 --dashboard-host=0.0.0.0 --block
results in a RayletSome Ray subprcesses exited unexpectedly
errorWorkable Solution:
Build a ray image locally by installing the package in a dockerfile
native build
This fails to build, when using pip:
and when using conda:
platform=linux/amd64 emulation build
setting the image to emulate amd64 with
platform=linux/amd64
, we can build successfully using pip or conda, however at runtime we get the Raylet subprocess error.worst case
Build ray from source in a local image. Undesireable due to build time, and extra work for users, but I am willing to test it on M1 hardware with some guidance.
raylet Logs:
Versions / Dependencies
Macintosh M1 hardware
Python: 3.9, 3.10
docker image arch: linux/amd64, linux/aarch64
Ray: 1.13, 2.0
Reproduction script
repro will require a working docker+compose installation on Apple M1 hardware
Issue Severity
High: It blocks me from completing my task.
The text was updated successfully, but these errors were encountered: