Skip to content

funasr-server指定hub为ms也会从hf上下载模型 #3321

Description

@ZhangQi-HUST

🐛 Bug

1.3.25中 funasr-server指定hub为ms也会从hf上下载模型

BUG所在

funasr/bin/_server_app.py中142行

vllm_hub = app.state.hub if app.state.model_path else "hf"

和163行

"hub": app.state.hub if app.state.model_path else "hf",

逻辑有问题,只有model_path参数和hub参数都不为空时,hub才是ms,否则都是hf

忘修复

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds feedbackWaiting for reporter feedback or retest results

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions