From 1b0e2611189536719e0bac7e4434a123c52d5962 Mon Sep 17 00:00:00 2001 From: Fangjun Kuang Date: Thu, 4 Nov 2021 15:37:55 +0800 Subject: [PATCH] Update README to mention how to install a CPU-only version. --- 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`.