ray
ray copied to clipboard
[Core] Unable to run worker with virtual environment without installing dashboard
What happened + What you expected to happen
Ive tried to minimize the dependencies inherited from Ray. I am trying to run Ray Remote with new virtualenv (adding new dependencies).
If I am only installing pip install ray==2.9.0 I get an error that there is no such package as virtualenv from worker.
I need to install pip install ray[default]==2.9.0 to make it work, which brings 23 more dependencies bunch of them related to ray-dashboard which I am not interested it.
I can add virtualenv to my own dependencies, but I'd have to maintain dependency that actually Ray uses.
TLDR:
Please add your virtualenv to default dependencies.
Versions / Dependencies
Ray 2.9.0 (same goes for 2.22 tho)
Reproduction script
n/a
Issue Severity
High: It blocks me from completing my task.