Update README_zh.md
Browse files- README_zh.md +6 -12
README_zh.md
CHANGED
|
@@ -213,29 +213,23 @@ Lance 是一个轻量级、原生统一的多模态模型,在单一框架下
|
|
| 213 |
</table>
|
| 214 |
</div>
|
| 215 |
|
|
|
|
| 216 |
### 安装步骤
|
| 217 |
|
| 218 |
首先,克隆代码仓库:
|
| 219 |
|
| 220 |
```bash
|
| 221 |
-
git clone https://github.com/bytedance
|
| 222 |
cd Lance
|
| 223 |
```
|
| 224 |
|
| 225 |
-
|
| 226 |
-
|
| 227 |
-
```bash
|
| 228 |
-
bash ./setup_env.sh
|
| 229 |
-
pip install flash-attn==2.8.3 --no-build-isolation
|
| 230 |
-
```
|
| 231 |
-
|
| 232 |
-
#### 选项 2:手动安装 (推荐)
|
| 233 |
|
| 234 |
```bash
|
| 235 |
-
conda create -n Lance python=3.11
|
| 236 |
conda activate Lance
|
| 237 |
-
|
| 238 |
-
pip install -r
|
| 239 |
pip install flash-attn==2.8.3 --no-build-isolation
|
| 240 |
```
|
| 241 |
|
|
|
|
| 213 |
</table>
|
| 214 |
</div>
|
| 215 |
|
| 216 |
+
|
| 217 |
### 安装步骤
|
| 218 |
|
| 219 |
首先,克隆代码仓库:
|
| 220 |
|
| 221 |
```bash
|
| 222 |
+
git clone https://github.com/bytedance/Lance.git
|
| 223 |
cd Lance
|
| 224 |
```
|
| 225 |
|
| 226 |
+
然后,配置环境:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 227 |
|
| 228 |
```bash
|
| 229 |
+
conda create -n Lance python=3.11 -y
|
| 230 |
conda activate Lance
|
| 231 |
+
pip install torch==2.5.1+cu124 torchvision==0.20.1+cu124 torchaudio==2.5.1+cu124 --index-url https://download.pytorch.org/whl/cu124
|
| 232 |
+
pip install -r requirements.txt
|
| 233 |
pip install flash-attn==2.8.3 --no-build-isolation
|
| 234 |
```
|
| 235 |
|