Skip to content

Commit

Permalink
fix convert to onnx node's execution options
Browse files Browse the repository at this point in the history
  • Loading branch information
joeyballentine committed Sep 5, 2022
1 parent 75e1c04 commit cf80665
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/nodes/pytorch_nodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ def __init__(self):
pass

def run(self, model: torch.nn.Module) -> bytes:
exec_options = get_execution_options()
exec_options = to_pytorch_execution_options(get_execution_options())

model = model.eval()
if exec_options.device == "cuda":
Expand Down

0 comments on commit cf80665

Please sign in to comment.