Building ray locally

Hi team,

I am trying to build ray locally on my mac following steps in Building Ray from Source — Ray 2.47.1.

Seems step pip install -e . --verbose # Add --user if you see a permission denied error. is causing mem to use up a lot.

I tried below step as well, but isnt helping

If your machine is running out of memory during the build or the build is causing other programs to crash, try adding the following line to ~/.bazelrc:

build --local_ram_resources=HOST_RAM*.5 --local_cpu_resources=4

Can I get some help here?

One more q, how long does the build take to complete?

Hi @kaizen_spirit,
Can you tell me more about the computer you’re using to build Ray on? Like the specs of your mac, how much memory it has (RAM), etc. It might be helpful in debugging this :slight_smile:

hi @christina sure.

running on Apple m1 with 8g ram.