Git Product home page Git Product logo

Comments (4)

LauraGPT avatar LauraGPT commented on August 16, 2024 2

@LauraGPT 看了使用文档都是cpu推理呀没看到gpu,我理解就是弄多个模型实例多线程。我说的是gpu推理在一个模型实例进行多批次呀,就好比图像识别,想办法让n张图的shape一致都是(1,3,h,w),就可以进行一次推理,此时输入为(n,3,h,w)

You could inference with batch via pytorch, such as: https://github.com/alibaba-damo-academy/FunASR?tab=readme-ov-file#speech-recognition-non-streaming

from funasr.

LauraGPT avatar LauraGPT commented on August 16, 2024 1

www.funasr.com

from funasr.

tuotuoshao avatar tuotuoshao commented on August 16, 2024

@LauraGPT 看了使用文档都是cpu推理呀没看到gpu,我理解就是弄多个模型实例多线程。我说的是gpu推理在一个模型实例进行多批次呀,就好比图像识别,想办法让n张图的shape一致都是(1,3,h,w),就可以进行一次推理,此时输入为(n,3,h,w)

from funasr.

tuotuoshao avatar tuotuoshao commented on August 16, 2024

将多个音频文件作为一个list传给input,可以推理,但是推理耗时表明内部实现是一个个音频串行推理

from funasr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.