FunASR 1.4.14接口咨询:本地模型的持久写入、cache与取消/关闭
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
Start with the public funasr.AutoModel interface and the inference code that accepts cache, then check the FunASR 1.4.14 documentation and delegated backend APIs. Document whether local model loading writes outside the model directory, what cache clearing affects, and the public cancellation or close guarantees; mark unsupported behavior clearly. Done when each question has a version-specific public reference or an explicit statement that no guarantee or interface is provided.
由索引模型根据 Issue 内容生成。
描述
我们计划在本地Paraformer模型目录场景中使用FunASR 1.4.14。项目侧代码使用funasr.AutoModel和推理用的cache字典,但尚未把完整调用参数、模型revision及实际加载代码绑定到该发行。以下是接口设计咨询,不是已复现的运行故障,也不请求整组依赖兼容背书。
- 本地模型与持久写入:通过
AutoModel使用已有本地模型目录时,FunASR是否仍可能在模型目录之外产生持久写入?如有,哪些写入由FunASR负责、哪些委托其他后端;1.4.14有哪些正式控制入口、设置时机和默认/回退行为?请区分模型文件、下载缓存、派生文件、临时文件及锁文件;不提供保证的类别也请明确。 - 请求级cache与磁盘工件:推理接口中的
cache对象与磁盘工件是什么关系?清空该字典会影响什么、不会影响什么?FunASR自身是否提供持久工件计数或清理的公开接口及其范围;若不提供,请明确并指出应由哪个后端或调用方层负责。 - 取消与实例关闭:1.4.14是否有公开的请求取消或模型实例关闭接口?若有,请给出公共符号及明确保证:作用于单次请求还是实例,返回表示收到请求还是计算已经停止,以及哪些本实例资源会被释放。若没有或不作释放保证,也请明确,并指出须由调用方或推理后端管理的边界。
请优先提供适用于1.4.14的公开文档或公共符号说明。“不提供”或“不保证”同样有助于我们确定隔离和生命周期策略。
- 主要语言
- Python
- 星标
- 21.2k
- 派生
- 2.2k
- 平均合并
- 5 小时 38 分钟
- 30 天内合并 PR
- 116
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
modelscope/FunASR 的其他 Issue
-
[Bug] ClusterBackend passes torch.Tensor to UMAP 0.6.0, causing a torch.float32 dtype TypeError可能已有人在做 @hansazilinon-art 于 17 天前认领。 未关闭bug needs triage
难度 2/5 1-3 小时 新手友好度 84/100
modelscope/FunASR#3908 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
modelscope/FunASR#3801 · 3 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
modelscope/FunASR#3796 · 3 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
modelscope/FunASR#3762 · 1 条评论 ·
维护者通常 1 天内回复
-
Bug: blank lines in wav.scp / jsonl file lists crash prepare_data_iterator (IndexError / JSONDecodeError)可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭needs feedback
难度 2/5 1-3 小时 新手友好度 85/100
modelscope/FunASR#3757 · 1 条评论 ·
维护者通常 1 天内回复
查看 modelscope/FunASR 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
AIR-Bench Foundation reads the first letter of the word after "answer" as the model's choice可能已有人在做 @beartester34 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 84/100
modelscope/evalscope#2330 ·
维护者通常 1 天内回复
-
Distribution plot crashes when a numeric feature is constant in the train or test set可能已有人在做 @adembilge 今天认领。 未关闭bug good first issue
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 10 天内回复
-
难度 1/5 1-3 小时 新手友好度 85/100
维护者通常 2 天内回复
-
namespace team:operations
难度 2/5 1-3 小时 新手友好度 60/100
EclipseFdn/open-vsx.org#16738 ·
维护者通常 1 天内回复