Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keep checking rye and uv #106

Open
gatheluck opened this issue Jul 13, 2024 · 3 comments
Open

Keep checking rye and uv #106

gatheluck opened this issue Jul 13, 2024 · 3 comments
Labels

Comments

@gatheluck
Copy link
Contributor

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

  • Check up features supported by Rye with uv.
@gatheluck
Copy link
Contributor Author

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

@chestnutforestlabo
Copy link

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,
python-poetry/poetry#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
Copy link
Contributor Author

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants