chore: update readme
This commit is contained in:
parent
b082493e36
commit
9f97244642
1 changed files with 15 additions and 2 deletions
17
README.md
17
README.md
|
@ -21,7 +21,7 @@ $ conda create -n tts --clone llm-pt26
|
||||||
```
|
```
|
||||||
|
|
||||||
> [!Important]
|
> [!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
|
Activate the environment and install the dependencies
|
||||||
|
|
||||||
|
@ -40,7 +40,7 @@ $ sudo apt install vlc
|
||||||
> [!Note]
|
> [!Note]
|
||||||
> Installing `vlc` via flatpak or snap will not work, as the code need access to `libvlc`.
|
> 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.
|
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
|
## 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`.
|
To run the program it needs an input file using the flag `--input`.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|
Loading…
Reference in a new issue