diff --git a/README.md b/README.md index 3122f94..80ca28b 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ $ conda create -n tts --clone llm-pt26 ``` > [!Important] -> 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" section below. +> 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 @@ -40,7 +40,7 @@ $ sudo apt install vlc > [!Note] > Installing `vlc` via flatpak or snap will not work, as the code need access to `libvlc`. -## Intel XPU environmental variables +### Intel XPU environmental variables For XPUs, we need to set some environmental variables. I have added a `env.sh` script which will activate the conda environment `tts` and set the environmental variables. @@ -50,6 +50,19 @@ $ . env.sh ## Usage +Go into the directory and activate the environment: + +```bash +$ cd simple-tts +$ conda activate tts +``` + +If using Intel XPUs, set the env variables + +```bash +$ . env.sh +``` + To run the program it needs an input file using the flag `--input`. ```bash