mirror of
https://github.com/modelscope/FunASR
synced 2025-09-15 14:48:36 +08:00
update export
This commit is contained in:
parent
e7351db81b
commit
64d7032073
@ -78,7 +78,7 @@ def _onnx(
|
||||
)
|
||||
|
||||
|
||||
def _torchscripts(model, path, device='cpu'):
|
||||
def _torchscripts(model, path, device='cuda'):
|
||||
dummy_input = model.export_dummy_inputs()
|
||||
|
||||
if device == 'cuda':
|
||||
|
||||
Loading…
Reference in New Issue
Block a user