allegroai / clearml-agent

ClearML Agent - ML-Ops made easy. ML-Ops scheduler & orchestration solution
https://clear.ml/docs/
Apache License 2.0
242 stars 92 forks source link

Support UV package manager #214

Open Ruhrozz opened 1 month ago

Ruhrozz commented 1 month ago

AFAIK uv is the fastest package manager now and can be used instead of pip:

# before
pip install clearml-agent
# after
uv pip install clearml-agent

Is there any option to implement uv support?

Ruhrozz commented 1 month ago

I think replacing pip with uv pip everywhere might cover most commands

ainoam commented 1 month ago

@Ruhrozz That would definitely be a welcome addition. Would you care to PR it? Since clearml (and clearml-agent) basically uses python -m pip, the simple way to go about it would probably be to override the pip command.

mads-oestergaard commented 3 weeks ago

+1

I would love to see this in clearml. Especially as an alternative to poetry as package manager, it would be great to be able to set package_manager: uv in the agent config similar to how its done with poetry today.

mads-oestergaard commented 3 weeks ago

@ainoam Just opened a PR on adding support for UV :)