ray icon indicating copy to clipboard operation
ray copied to clipboard

[Core] Unable to run worker with virtual environment without installing dashboard

Open SebastianMorawiec opened this issue 1 year ago • 0 comments

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.

SebastianMorawiec avatar May 17 '24 12:05 SebastianMorawiec