root
2023-05-06 af346ddd4d4486d8d1d1b1622be563a0f790487f
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: