-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
Installing Ray Core on Rasbperry Pi 4B #12835
Comments
We are working on ARM builds. If Ray team could give us some pointers of where to put our code (using qemu/docker for emulation ARM environment) we could put it in the ray repository. |
@rodorio This zip should contain a wheel for ray 1.0.1 on ARM. Would you mind testing it? |
Thanks @PidgeyBE! I dont know if I did it right but I got this error: $pip install /home/pi/Downloads/ray-1.0.1-cp36-cp36m-linux_aarch64.whl |
Ok, I think I figured it out, my RPI has armv71 instead of aarch64. |
Ok, apparently there is a 64 bit version of Raspbian thats in beta. I'm gonna try to update to it tomorrow. |
@rodorio Yes indeed there is. I'm also trying to build a release for ARMv7. |
@rodorio I've build ray and py-spy (ray dependency) for ARMv7l. Would be interesting if you could try it out! |
Hm, looks like the same error. Any ideas? $pip install /home/pi/Downloads/py_spy-0.3.3-cp36-cp36m-linux_armv7l.whl |
Got a little further:
|
I think its because I have both python 3.6 and 3.7 installed but I cant seem to be able to fix it. I may try looking into virtual environments but I've never worked with them before. |
I got myself a RasPi4 and the following worked for me, using conda environments:
... this last step takes a while... will update when finished...
:( |
This version works for me on Raspberry Pi 4, 32bit OS: ray_armv7l_32bit.zip |
Nice! I've been swamped today but I'll give it a try tomorrow. Was it still using the conda env? |
Yes, indeed! Instructions above, with conda, but with that last zip file! |
Ah darn, I think I broke my bash installation messing around with pyenv a few days ago. Imma try to see if I can undo what I did: bash: export: |
Hm so I got it to install but it wont run: `Traceback (most recent call last): |
Oh never mind, I got it working (used the wrong file haha). Thanks @PidgeyBE! Would you happen to have the py_spy installer for aarch64? I want to try to get that working as well. |
@rodorio Py spy and ray for python 3.6, aarch64: //edit, this version should work: |
Really appreciate it @PidgeyBE, worked like a charm! I'll play around with it and let you know how it goes. edit: for anyone that might need it, regular "pip install" didnt work for me so I had to do "python -m pip install" |
py-spy has wheels for armv7/aarch64 on pypi now - you should be able to pip install it on a raspberry pi now: benfred/py-spy#328 |
Hello,
I dont know if this is the correct place to post this but I'm wanting to install Ray on my rasberry-pi but I keep getting the following message:
Could not find a version that satisfies the requirement ray (from versions: )
No matching distribution found for ray
From what I understand this is due to the fact that Ray does not currently build a wheel for ARM.
I was wondering if someone had instructions on how to install it/build it for the pi. If it makes it easier I'm only looking to install the Ray core for now.
Thanks!
The text was updated successfully, but these errors were encountered: