mirror of
https://github.com/modelscope/FunASR.git
synced 2026-10-12 02:19:18 +00:00
docs: note mixed-device support in PyPI 1.4.16
Signed-off-by: zhifu gao <[email protected]>
This commit is contained in:
+1
-1
@@ -53,7 +53,7 @@ The wrapper accepts `**kwargs`, not a universally validated parameter schema. A
|
||||
|
||||
### Place submodels on separate devices
|
||||
|
||||
> **Version requirement:** This placement contract is not included in the PyPI 1.4.15 package. Use a source checkout containing [PR #3706](https://github.com/modelscope/FunASR/pull/3706), merged at [4d8e087](https://github.com/modelscope/FunASR/commit/4d8e08748c9d7cc10f3e3a01f5f4b927a8948699), and follow the [source installation instructions](installation/installation.md). Record the checkout commit and imported `funasr.__file__`; a development checkout can still report version `1.4.15`.
|
||||
> **Version requirement:** This placement contract is included in [PyPI 1.4.16](https://pypi.org/project/funasr/1.4.16/), but not in 1.4.15. Install the verified release with `python -m pip install "funasr==1.4.16"`; see the [installation guide](installation/installation.md) for dependencies. For a source installation, use a checkout containing [PR #3706](https://github.com/modelscope/FunASR/pull/3706) (merge commit [4d8e087](https://github.com/modelscope/FunASR/commit/4d8e08748c9d7cc10f3e3a01f5f4b927a8948699)). Record the installed version and imported `funasr.__file__`, plus the commit for source checkouts; a source checkout's version string alone does not establish which fixes it contains.
|
||||
|
||||
For example, keep FSMN VAD and punctuation on CPU while ASR uses Apple Silicon MPS:
|
||||
|
||||
|
||||
@@ -53,7 +53,7 @@
|
||||
|
||||
### 为子模型分别指定设备
|
||||
|
||||
> **版本要求:** PyPI 的 1.4.15 发行包尚不包含此设备配置契约。请使用包含 [PR #3706](https://github.com/modelscope/FunASR/pull/3706) 的源码版本(合并提交为 [4d8e087](https://github.com/modelscope/FunASR/commit/4d8e08748c9d7cc10f3e3a01f5f4b927a8948699)),并按照[源码安装说明](installation/installation_zh.md)操作。记录工作区 commit 和实际导入的 `funasr.__file__`;开发版工作区仍可能显示版本号 `1.4.15`。
|
||||
> **版本要求:** [PyPI 1.4.16](https://pypi.org/project/funasr/1.4.16/) 已包含此设备配置契约,1.4.15 尚不包含。使用 `python -m pip install "funasr==1.4.16"` 安装已核验的发行版;依赖配置见[安装指南](installation/installation_zh.md)。如从源码安装,请使用包含 [PR #3706](https://github.com/modelscope/FunASR/pull/3706) 的版本(合并提交为 [4d8e087](https://github.com/modelscope/FunASR/commit/4d8e08748c9d7cc10f3e3a01f5f4b927a8948699))。记录安装版本和实际导入的 `funasr.__file__`,源码安装还应记录 commit;仅凭源码版本号不能确定其包含哪些修复。
|
||||
|
||||
例如,在 Apple Silicon 上让 ASR 使用 MPS,而 FSMN VAD 和标点使用 CPU:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user