diff --git a/README.md b/README.md index ebbea0577..641ea94d6 100644 --- a/README.md +++ b/README.md @@ -120,6 +120,13 @@ XTuner is a toolkit for efficiently fine-tuning LLM, developed by the [MMRazor]( ### Installation +- It is recommended to build a Python-3.10 virtual environment using conda + + ```bash + conda create --name xtuner-env python=3.10 -y + conda activate xtuner-env + ``` + - Install XTuner via pip ```shell diff --git a/README_zh-CN.md b/README_zh-CN.md index ddd98ed86..a9d41948f 100644 --- a/README_zh-CN.md +++ b/README_zh-CN.md @@ -120,6 +120,13 @@ XTuner 是一个轻量级微调大语言模型的工具库,由 [MMRazor](https ### 安装 +- 推荐使用 conda 先构建一个 Python-3.10 的虚拟环境 + + ```bash + conda create --name xtuner-env python=3.10 -y + conda activate xtuner-env + ``` + - 通过 pip 安装 XTuner: ```shell