Skip to content

如何解决paddlespeech_stream模式CPU占用极高问题? #75

@xiayezi2013

Description

@xiayezi2013

在Linux机器上测试paddlespeech_stream模型时,CPU占用极高,基本上打满了:

./build/examples/paddlespeech_stream models/paddlespeech_stream/ models/paddlespeech_stream/long.wav

image
asr_cpu

我可以通过设置线程数OPENBLAS_NUM_THREADS解决cpu核数问题,但会造成性能低,且单核打满。

这种情况导致我无法在生产环境使用,请问有没有解决方案?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions