https://flyte.org logo
Title
r

Ruksana Kabealo

01/30/2023, 8:42 PM
Hello! I am running Ray on Flyte. I am getting a warning about Ray using /tmp instead of /dev/shm because /dev/shm has only 67108864 bytes available. To fix this, I would just specify --shm-size=3.55gb when running the container. But Flyte is running the containers for us, so I cannot figure out how to specify any run options. Is there a way for specifying run options for the containers that Flyte runs? Full text of warning attached.
k

Ketan (kumare3)

01/30/2023, 11:49 PM
cc @Dan Rammer (hamersaw) do you know if we can specify the pod spec for ray jobs?
is this part of the work you are doing?
r

Ruksana Kabealo

01/31/2023, 12:10 AM
@Ketan (kumare3) yes!
k

Ketan (kumare3)

01/31/2023, 12:29 AM
awesome @Ruksana Kabealo
d

Dan Rammer (hamersaw)

01/31/2023, 1:42 PM
Hey @Ruksana Kabealo, I'm looking into this a bit and not finding a definitive answer. So Flyte uses the kuberay project to launch Ray tasks, basically it creates an instance of the RayJob which is then executed. So basically, we need to figure out what configuration we need to change on the RayJob CR to support this. I have found this issue which seems to indicate that these are simple memory requests / limits. Does this sound correct?
r

Ruksana Kabealo

01/31/2023, 2:39 PM
Hey @Dan Rammer (hamersaw) ! Yes, it should be a simple memory limit change to expand the size of /dev/shm
d

Dan Rammer (hamersaw)

01/31/2023, 4:47 PM