[misc] update readme (#6918)
Former-commit-id: f5823479bd51c39db668b68056be749af09894d1
This commit is contained in:
@@ -438,7 +438,7 @@ Extra dependencies available: torch, torch-npu, metrics, deepspeed, liger-kernel
|
||||
|
||||
<details><summary>Setting up a virtual environment with <b>uv</b></summary>
|
||||
|
||||
Create an isolated Python environment with uv:
|
||||
Create an isolated Python environment with [uv](https://github.com/astral-sh/uv):
|
||||
|
||||
```bash
|
||||
uv sync --extra torch --extra metrics --prerelease=allow
|
||||
|
||||
@@ -440,7 +440,7 @@ pip install -e ".[torch,metrics]"
|
||||
|
||||
<details><summary>使用 <b>uv</b> 构建虚拟环境</summary>
|
||||
|
||||
创建隔离的 Python 环境:
|
||||
使用 [uv](https://github.com/astral-sh/uv) 创建隔离的 Python 环境:
|
||||
|
||||
```bash
|
||||
uv sync --extra torch --extra metrics --prerelease=allow
|
||||
|
||||
Reference in New Issue
Block a user