Skip to content

Commit 27db850

Browse files
committed
fix example
1 parent 307a5da commit 27db850

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_doc/examples/plot_export_hub_codellama.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
# It still requires patches to be exportable (control flow).
9999
# See :func:`onnx_diagnostic.torch_export_patches.torch_export_patches`
100100

101-
with torch_export_patches(patch_transformers=True) as f:
101+
with torch_export_patches(patch_torh=False, patch_transformers=True) as f:
102102
ep = torch.export.export(
103103
model,
104104
(),

0 commit comments

Comments
 (0)