zhaomingwork
2023-05-13 f2e7ea83c9d8b580d09eb31acf6c2fa60e683e3b
funasr/bin/asr_inference_uniasr.py
@@ -379,6 +379,8 @@
        **kwargs,
):
    assert check_argument_types()
    ncpu = kwargs.get("ncpu", 1)
    torch.set_num_threads(ncpu)
    if batch_size > 1:
        raise NotImplementedError("batch decoding is not implemented")
    if word_lm_train_config is not None: