From 800eef1ebd0b0678a8277f8b6e9717dec9b9ac81 Mon Sep 17 00:00:00 2001 From: Kevin Wang Date: Sun, 8 Oct 2023 00:26:22 -0500 Subject: [PATCH] [Docs] add conda env create (#147) --- README.md | 7 +++++++ README_zh-CN.md | 7 +++++++ 2 files changed, 14 insertions(+) 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