8000 nbest C++ api use too much vram · Issue #1281 · k2-fsa/k2 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
nbest C++ api use too much vram #1281
Open
@binhtranmcs

Description

@binhtranmcs

I tried hlg decoding using both hlg_decode.cu and hlg_decode.py, modified them a bit to get nbest from the lattice. The python api seems fine but i got OOM when using c++ api. As i know, python api is still c++ under the hood. So I wonder if you all face the same issue as mine, that the c++ api use a lot more memory than python api, or I installed k2 incorrectly in some ways. Please help me with this.

Model: librispeech conformer ctc
Code:
python: hlg_decode.py.txt
c++: hlg_decode.cu.txt
Audio (change ext to .wav): testvram.txt

Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0