From 632098e0c1fbbae04bbb7d593c2ba1cdbf9b00a7 Mon Sep 17 00:00:00 2001 From: Fangjun Kuang Date: Thu, 4 Nov 2021 15:40:17 +0800 Subject: [PATCH] Update README to mention how to install a CPU-only version. (#21) --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index 5a072df..841af4d 100644 --- a/README.md +++ b/README.md @@ -281,3 +281,19 @@ To test whether `kaldifeat` was installed successfully, you can run: ```bash 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`.