Skip to content

Commit 3d63556

Browse files
committed
fix comments
1 parent c5a9dc0 commit 3d63556

File tree

4 files changed

+8
-10
lines changed

4 files changed

+8
-10
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,10 +199,10 @@ docker run -it \
199199
--rm \
200200
-v $PWD:/workspace \
201201
-v <path_to_your_data_and_checkpoints>:/data \
202-
trinity-rft:latest
202+
ghcr.io/modelscope/trinity-rft:latest
203203
```
204204

205-
> This image has used `uv` to install all GPU-related dependencies of Trinity-RFT. Use `source /opt/venv/bin/activate` to activate the environment and use `uv pip install` to add additional packages if needed.
205+
> This image has used `uv` to install all GPU-related dependencies of Trinity-RFT. The virtual environment will be automatically activated upon entering the container (you can also manually activate it via `source /opt/venv/bin/activate` if needed). You can use `uv pip install` to add extra packages as necessary.
206206
207207
###### Using Conda
208208

README_zh.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -198,10 +198,10 @@ docker run -it \
198198
--rm \
199199
-v $PWD:/workspace \
200200
-v <path_to_your_data_and_checkpoints>:/data \
201-
trinity-rft:latest
201+
ghcr.io/modelscope/trinity-rft:latest
202202
```
203203

204-
> 该镜像已经通过 `uv` 安装了 Trinity-RFT 以及所有 GPU 相关依赖。请通过 `source /opt/venv/bin/activate` 激活环境,必要时可使用 `uv pip install` 添加额外的包。
204+
> 该镜像已经通过 `uv` 安装了 Trinity-RFT 以及所有 GPU 相关依赖,且会自动激活虚拟环境(也可通过 `source /opt/venv/bin/activate` 手动激活)。必要时可使用 `uv pip install` 添加额外的包。
205205
206206
#### 使用 Conda
207207

@@ -334,8 +334,6 @@ trinity studio --port 8080
334334
</details>
335335

336336

337-
338-
339337
### 第四步:运行 RFT 流程
340338

341339

docs/sphinx_doc/source/tutorial/trinity_installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ docker run -it \
120120
--rm \
121121
-v $PWD:/workspace \
122122
-v <path_to_your_data_and_checkpoints>:/data \
123-
trinity-rft:latest
123+
ghcr.io/modelscope/trinity-rft:latest
124124
```
125125

126126
```{note}

docs/sphinx_doc/source_zh/tutorial/trinity_installation.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,12 +102,12 @@ docker run -it \
102102
--rm \
103103
-v $PWD:/workspace \
104104
-v <path_to_your_data_and_checkpoints>:/data \
105-
trinity-rft:latest
105+
ghcr.io/modelscope/trinity-rft:latest
106106
```
107107

108108
```{note}
109-
该 Docker 镜像使用 `uv` 来管理 Python 依赖,您需要在进入容器后使用 `source /opt/venv/bin/activate` 激活虚拟环境
110-
该镜像已经包含了 vllm, flash-attn 以及 Megatron-LM,如果需要使用其他依赖,不要忘记在激活环境后使用 `uv pip install` 来安装它们。
109+
该 Docker 镜像使用 `uv` 来管理 Python 依赖,进入容器后虚拟环境会自动激活(也可通过 `source /opt/venv/bin/activate` 手动激活)
110+
该镜像已经包含了 vllm, flash-attn 以及 Megatron-LM,如果需要使用其他依赖,可直接使用 `uv pip install` 来安装它们。
111111
```
112112

113113
### 自行构建 Docker 镜像

0 commit comments

Comments
 (0)