We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 370e3c0 commit b984314Copy full SHA for b984314
python/lighthouse/ingress/README.md
@@ -0,0 +1,10 @@
1
+# Lighthouse Ingress
2
+
3
+The `lighthouse.ingress` module converts various input formats to MLIR modules.
4
5
+## Supported Formats
6
7
+#### Torch
8
+Convert PyTorch models to MLIR using `lighthouse.ingress.torch`.
9
10
+**Examples:** [torch examples](https://github.com/llvm/lighthouse/tree/main/python/examples/ingress/torch)
python/lighthouse/ingress/torch/torch_import.py
@@ -97,6 +97,7 @@ def import_from_model(
97
text_module = str(module)
98
if ir_context is None:
99
return text_module
100
+ # Cross boundary from torch-mlir's mlir to environment's mlir
101
return ir.Module.parse(text_module, context=ir_context)
102
103
0 commit comments