mirror of
https://github.com/csukuangfj/kaldifeat.git
synced 2025-08-11 02:52:16 +00:00
Update README to mention how to install a CPU-only version. (#21)
This commit is contained in:
parent
b3a90b1dcf
commit
632098e0c1
16
README.md
16
README.md
@ -281,3 +281,19 @@ To test whether `kaldifeat` was installed successfully, you can run:
|
|||||||
```bash
|
```bash
|
||||||
python3 -c "import kaldifeat; print(kaldifeat.__version__)"
|
python3 -c "import kaldifeat; print(kaldifeat.__version__)"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## FAQs
|
||||||
|
|
||||||
|
### How to install a CUDA version
|
||||||
|
|
||||||
|
There are two approaches:
|
||||||
|
|
||||||
|
- (1) Install using `conda`. It always installs a CUDA version of kaldifeat.
|
||||||
|
- (2) Install a CUDA version of PyTorch and then install kaldifeat from source
|
||||||
|
or use `pip install kaldifeat`.
|
||||||
|
|
||||||
|
|
||||||
|
### How to install a CPU-only version
|
||||||
|
|
||||||
|
You have to first install a CPU-only version of PyTorch and then install kaldifeat
|
||||||
|
from source or use `pip install kaldifeat`.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user