Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions runtime/python/libtorch/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,17 @@ includes the Contextual/Seaco Paraformer hotword batching and empty
hotword-file handling fix (#3838). This is a runtime wrapper fix, not a
model-weight update or an ASR accuracy claim.

Version 0.1.6 makes the standalone CMVN reader accept blank lines and
raise a file-specific error for missing or truncated statistics (#3842).
Valid float64 statistics and shipped feature output are unchanged. This is
a CPU parser/package fix, not a model-weight or ASR accuracy update.

install from pip

```shell
pip install -U "funasr_torch>=0.1.5"
pip install -U "funasr_torch>=0.1.6"
# For the users in China, you could install with the command:
# pip install -U "funasr_torch>=0.1.5" -i https://mirror.sjtu.edu.cn/pypi/web/simple
# pip install -U "funasr_torch>=0.1.6" -i https://mirror.sjtu.edu.cn/pypi/web/simple
```

or install from source code
Expand Down
2 changes: 1 addition & 1 deletion runtime/python/libtorch/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def get_readme():

setuptools.setup(
name="funasr_torch",
version="0.1.5",
version="0.1.6",
platforms="Any",
url="https://github.com/modelscope/FunASR.git",
author="Speech Lab of DAMO Academy, Alibaba Group",
Expand Down
4 changes: 2 additions & 2 deletions tests/test_funasr_torch_package.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,12 +119,12 @@ def test_torch_package_does_not_require_unrelated_runtime_engines(distributions)
}
assert not names & {"torch-quant", "onnxruntime", "onnxruntime-gpu"}

def test_distribution_version_includes_hotword_batching_fix(distributions):
def test_distribution_version_includes_cmvn_parser_fix(distributions):
from packaging.version import Version

wheel, sdist = distributions
version = metadata(wheel)["Version"]
assert Version(version) >= Version("0.1.5")
assert Version(version) >= Version("0.1.6")
with tarfile.open(sdist, "r:gz") as archive:
member = next(item for item in archive.getmembers()
if item.name.count("/") == 1 and item.name.endswith("/PKG-INFO"))
Expand Down
Loading