chore: use venv instead of conda in the instructions
This commit is contained in:
parent
a39bc1d534
commit
8a781b0fcc
1 changed files with 5 additions and 6 deletions
11
README.md
11
README.md
|
|
@ -55,20 +55,19 @@ git clone https://git.ayo.run/ayo/simple-tts
|
|||
cd simple-tts
|
||||
```
|
||||
|
||||
Create new [Python virtual environment](https://realpython.com/python-virtual-environments-a-primer/). Here I use [`conda`](https://docs.conda.io/projects/conda/en/latest/user-guide/install/), but [venv](https://docs.python.org/3/library/venv.html) is also good. We use Python version `3.12.6` due to a dependency failing on `3.13`.
|
||||
Create new [Python virtual environment](https://realpython.com/python-virtual-environments-a-primer/). In the example here, we will use [venv](https://docs.python.org/3/library/venv.html), but if you are using Intel, they recommend using `conda`. See note below for using Intel XPUs.
|
||||
|
||||
```bash
|
||||
conda create -n tts python=3.12.6
|
||||
python3 -m venv .venv
|
||||
```
|
||||
|
||||
> [!Note]
|
||||
> Optional for using Intel XPUs, you need to set up [ipex-llm environment with pytorch 2.6](https://git.ayo.run/ayo/ipex-llm/src/branch/main/docs/mddocs/Quickstart/install_pytorch26_gpu.md). Also, see [Intel XPU environmental variables"](#intel-xpu-environmental-variables) section below.
|
||||
|
||||
Activate the environment and install the dependencies
|
||||
|
||||
```bash
|
||||
conda activate tts
|
||||
python -m pip install -r requirements.txt
|
||||
. .venv/bin/activate
|
||||
pip install -r requirements.txt
|
||||
```
|
||||
|
||||
### Optional: Language-specific setup
|
||||
|
|
@ -107,7 +106,7 @@ Go into the directory and activate the environment:
|
|||
|
||||
```bash
|
||||
cd simple-tts
|
||||
conda activate tts
|
||||
. .venv/bin/activate
|
||||
```
|
||||
|
||||
If using Intel XPUs, set the env variables
|
||||
|
|
|
|||
Loading…
Reference in a new issue