I would like to create regulator for measurement system based on Raspberry Pi controllers. I wonder if is possible to use Ubuntu PC as trainer and raspberry Pi 3 or 4 as workers.
I tested that its possible to install tensorflow 2 in raspberry Pi but is possible to install rllib (or some siplified version with workers only - no redis, no GPU for training) in raspberry arm systems?
Hey, we donât have official ARM wheels, but many users have reported being able to successfully build Ray from source on Raspberry Pi and other ARM devices. There are a few dependencies that donât have official ARM builds, but those can also be built from source (you can just pip install directly from their github pages).
I look for wheel package ray-2.0.0.dev0 for raspberry pi 4 armv7l python 3.8.
Maybe there is some tutorial how to build ray from source for raspberry because I donât know how to change code from: https://docs.ray.io/en/master/development.html#building-ray-full to raspberry pi.
Itâs not important for me if compilation is in raspberry or cross-compilation because waiting isnât a problem.
I will be grateful for any suggestions.
Hmm @barakmich this looks like related to the push manager? Looks like we should probably either cast to something platform independent or use unsigned long long?
FAILED: Build did NOT complete successfully
pi@raspberrypi:/tmp/ray $ bazel build --copt=â-latomicâ -c opt //:ray
INFO: Writing tracer profile to â/home/pi/.cache/bazel/_bazel_pi/c81ef09a5cf12e451dde4b8cf7740758/command.profile.gzâ
DEBUG: /tmp/ray/bazel/ray_deps_setup.bzl:63:9: No implicit mirrors used because urls were explicitly provided
ERROR: Skipping â//:rayâ: no such target â//:rayâ: target ârayâ not declared in package ââ defined by /tmp/ray/BUILD.bazel
WARNING: Target pattern parsing failed.
ERROR: no such target â//:rayâ: target ârayâ not declared in package ââ defined by /tmp/ray/BUILD.bazel
@Alex There is no special reason for that, I tested many combinations of options from https://docs.ray.io/en/master/development.html to check if some of its will finish without error.
The option fastbuild:
try tu use âbazel build -c fastbuild //:ray_pkgâ
try somehow ./configure and make
The goal is still the same build wheel ray file for python 3.8 armv7
when I try option1 âpython3 setup.py bdist_wheelâ the problem is:
bazel-out/arm-opt/bin/_virtual_includes/ray_common/ray/common/ray_config_def.h:200:75: error: integer overflow in expression of type âlong intâ results in â-2147483648â [-Werror=overflow]
RAY_CONFIG(uint64_t, object_manager_max_bytes_in_flight, 2L * 1024 * 1024 * 1024)
~~~~~~~~~~~~~^~
bazel-out/arm-opt/bin/virtual_includes/ray_common/ray/common/ray_config.h:35:18: note: in definition of macro âRAY_CONFIGâ
type name## = default_value;
As I understand it means that long int type is too smal for the variable but how to solve overflow error?