zhifu gao
2023-05-05 882d565ebcd819bda3da065dbf9749b6f7c24407
funasr/bin/sond_inference.py
@@ -252,6 +252,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 ngpu > 1: