Skip to content

Commit

Permalink
Release v1.7
Browse files Browse the repository at this point in the history
  • Loading branch information
csukuangfj committed Oct 11, 2021
1 parent dccc927 commit 3ed1686
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ project(kaldifeat)

# remember to change the version in
# scripts/conda/kaldifeat/meta.yaml
set(kaldifeat_VERSION "1.6")
set(kaldifeat_VERSION "1.7")

set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib")
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib")
Expand Down
13 changes: 8 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ for more examples.

# Installation

## From conda
## From conda (Only for Linux + CUDA)

Supported versions of Python, PyTorch, and CUDA toolkit are listed below:

Expand All @@ -224,22 +224,25 @@ conda install -c kaldifeat -c pytorch -c conda-forge kaldifeat python=3.8 cudato

You can select the supported Python version, CUDA toolkit version and PyTorch version as you wish.

**Note:** If you want a CPU only version or want to install `kaldifeat` on other operating systems,
e.g., macOS, please use `pip install` or compile `kaldifeat` from source.


## From PyPi with pip

You need to install PyTorch and CMake first.
cmake 3.11 is known to work. Other cmake versions may also work.
CMake 3.11 is known to work. Other CMake versions may also work.
PyTorch 1.6.0 and above are known to work. Other PyTorch versions may also work.

```bash
pip install -v kaldilm
pip install -v kaldifeat
```

## From source

The following are the commands to compile `kaldifeat` from source.
We assume that you have installed `cmake` and PyTorch.
cmake 3.11 is known to work. Other cmake versions may also work.
We assume that you have installed `CMake` and PyTorch.
CMake 3.11 is known to work. Other CMake versions may also work.
PyTorch 1.6.0 and above are known to work. Other PyTorch versions may also work.

```bash
Expand Down
2 changes: 1 addition & 1 deletion scripts/conda/kaldifeat/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package:
name: kaldifeat
version: "1.6"
version: "1.7"

source:
path: "{{ environ.get('KALDIFEAT_ROOT_DIR') }}"
Expand Down

0 comments on commit 3ed1686

Please sign in to comment.