Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion examples/portable/scripts/export.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
import argparse
import logging

import torch

from executorch.exir.capture import EdgeCompileConfig, ExecutorchBackendConfig

from ...models import MODEL_NAME_TO_MODEL
Expand Down Expand Up @@ -75,4 +77,5 @@ def main() -> None:


if __name__ == "__main__":
main() # pragma: no cover
with torch.no_grad():
main() # pragma: no cover