Skip to content

Conversation

@stevhliu
Copy link
Member

Proposes adding uv install instructions (see Slack thread for more context) if you're also interested!

A virtual environment makes it easier to manage different projects and avoid compatibility issues between dependencies.

Start by creating a virtual environment in your project directory:
Create a virtual environment with [uv](https://docs.astral.sh/uv/) (refer to [Installation](https://docs.astral.sh/uv/getting-started/installation/) for installation instructions), a fast Rust-based Python package and project manager.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are still some cases where managing virtual envs with uv might be problematic. We could maybe keep two options venv and uv?

Copy link
Collaborator

@yiyixuxu yiyixuxu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks @stevhliu!

@stevhliu stevhliu merged commit 5483162 into huggingface:main Jan 23, 2025
1 check passed
@stevhliu stevhliu deleted the uv branch January 23, 2025 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants