Yabin Li
2023-05-08 8a08405b668e06c4670b4c13f6793e193f21a21d
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: