update export

This commit is contained in:
维石 2024-05-28 19:09:03 +08:00
parent e7351db81b
commit 64d7032073

View File

@ -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':