cvpaperchallenge / Ascender

Accelerator of Scientific Development and Research. A project template developed by XCCV group of cvpaper.challenge.
MIT License
404 stars 22 forks source link

Keep checking rye and uv #106

Open gatheluck opened 4 months ago

gatheluck commented 4 months ago

Why

Now we are using Poetry as Python package manager. Rye is also designed as comprehensive project and package manager. However, as Armin Ronacher written in his blog that Rye with uv will be the way to go (not only Rye).

Other reference (Turing blog) https://zenn.dev/turing_motors/articles/0f1a764d14f581

Definition of Done

Summarize the result.

How

gatheluck commented 3 months ago

uv 0.3.0 is out now. https://github.com/astral-sh/uv/releases/tag/0.3.0

chestnutforestlabo commented 3 weeks ago

Is there expectation date for integrating uv into Ascender? (Maybe replace poetry with uv?)

As mentioned here by shunk031 https://zenn.dev/colum2131/articles/342b7bdb20c54e and discussed in this issue, https://github.com/python-poetry/poetry/issues/8427

Poetry has issues installing Flash Attention Library, often required in LLM and VLM-related research projects. If replaced by uv, it would be a great benefit for LLM and VLM development :)

Personally would be very happy if it happen!

gatheluck commented 3 weeks ago

@chestnutforestlabo Thank you for your comment!

In fact, we had been waiting for a long time for support to specify the index in the URL, which was finally added in version 0.4.23 released three weeks ago. (Specifying source for each platform is also an important feature, but this has already been supported previously. https://docs.astral.sh/uv/concepts/dependencies/#platform-specific-sources)

We are currently starting the process of replacing Poetry with uv. First, I plan to create a version under my personal GitHub account’s fork of Ascender that uses uv, and then submit a pull request to this repository. I expect to complete the replacement of my personal Ascender fork with uv by the end of this month, so I’ll let you know once it’s done.

gatheluck commented 3 weeks ago

uv 0.5.0 is out now. https://github.com/astral-sh/uv/releases/tag/0.5.0