mirror of
https://github.com/modelscope/FunASR
synced 2025-09-15 14:48:36 +08:00
update
This commit is contained in:
parent
bcb8b0c3cb
commit
09a28d19df
@ -168,7 +168,6 @@ class AutoModel:
|
|||||||
device = "cpu"
|
device = "cpu"
|
||||||
# kwargs["batch_size"] = 1
|
# kwargs["batch_size"] = 1
|
||||||
kwargs["device"] = device
|
kwargs["device"] = device
|
||||||
import pdb; pdb.set_trace()
|
|
||||||
|
|
||||||
if kwargs.get("ncpu", None):
|
if kwargs.get("ncpu", None):
|
||||||
torch.set_num_threads(kwargs.get("ncpu"))
|
torch.set_num_threads(kwargs.get("ncpu"))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user