- I installed ray on a kubernetes cluster with helm and managed to connect to it with ray.client.
- I added
setup_commands:
- pip install modin[ray]
to ray/python/ray/autoscaler/kubernetes/example-full.yaml and did ray up
- i’m able to connect to the ray cluster with ray.client. But when I run modin operations i get
...
~/.pyenv/versions/3.7.7/envs/env_ray/lib/python3.7/site-packages/ray/util/client/worker.py in _call_schedule_for_task(self, task)
339 if not ticket.valid:
340 try:
--> 341 raise cloudpickle.loads(ticket.error)
342 except pickle.UnpicklingError:
343 logger.exception("Failed to deserialize {}".format(
ModuleNotFoundError: No module named 'modin'
manually ssh-ing to the head and the workers and running “pip install modin[ray]” solves the issue but of course that is not a very good permanent solution. it just shows that the issue is indeed missing modin on the cluster.
What am i doing wrong? How do I do it right?
Thanks for your help !