mirror of
https://github.com/hiyouga/LLaMA-Factory.git
synced 2025-08-23 06:12:50 +08:00
[misc] update readme (#6918)
Former-commit-id: 8956c93d9b05ee929fde2da0eb2365684c01f563
This commit is contained in:
parent
07aa7b71a3
commit
9b852ebe25
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user