Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[onnx] Add torch-mlir-import-onnx tool. #2637

Merged
merged 1 commit into from
Dec 13, 2023
Merged

Conversation

stellaraccident
Copy link
Collaborator

Simple Python console script to import an ONNX protobuf to the torch dialect for additional processing.

For installed wheels, this can be used with something like:

torch-mlir-import-onnx test/python/onnx_importer/LeakyReLU.onnx

Or from a dev setup:

python -m torch_mlir.tools.import_onnx ...

Simple Python console script to import an ONNX protobuf to the torch dialect for additional processing.

For installed wheels, this can be used with something like:

```
torch-mlir-import-onnx test/python/onnx_importer/LeakyReLU.onnx
```

Or from a dev setup:

```
python -m torch_mlir.tools.import_onnx ...
```
@stellaraccident stellaraccident merged commit ed4df38 into main Dec 13, 2023
5 checks passed
@stellaraccident stellaraccident deleted the import_onnx_tool branch December 13, 2023 06:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants