zhuzizyf
2023-05-04 1b6b10ab2db6ec067ef9e1089060449f78aa4e65
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: