-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
MLIR support #1044
Comments
@lutzroeder And I'm personally interested in this issue. Would you happen to have any good references to make some progress on this? |
Initially, writing a JavaScript parser for MLIR to tokenize the file and extract the module structure. onnx.Reader.text as a starting point of what such code looks like for a similar text format. There is already a mlir.ModelFactory which gets invoked when dragging an |
@lutzroeder And I'm planning quite a big update for testing with the Thanks :) |
@tucan9389 continue iterating on the pull request. Let's review once it is in good shape to move towards adding it to a release. |
@lutzroeder Do you happen to have a useful guide for releasing this feature or any test cases to merge into the main branch? I would prefer to get reviews in between rather than getting big reviews at once, but if it's difficult for you now, could you please let me know the minimum requirements for merging? I wonder if you have thought about the work unit to merge. |
@lutzroeder I think this can be merged into the main repo. Can you review and pull my implementation? This is my side project, so the next progress could take some time. Anyway, thanks for your comment and advice :) |
@lutzroeder Here the keywords are that I'm looking at:
|
@tucan9389 do you have some additional context what you mean by "achive sustainability"? The goal is to avoid dependencies, run in many environments and support a unified debugging experience. Improving the JavaScript parser implementation seems the right path to get there. |
Documentation
MLIR Language Reference
MLIR Bytecode Format
Examples:
1043.mlir.zip
codegen.toy.mlir.zip
ctlz.mlir.zip
embedding_bm1684x_f16_tpu.mlir.txt
example.mlir.zip
examples.mnist_xla.mlir.zip
gemm.onnx.mlir.zip
gemmreluadd.onnx.mlir.zip
mlp.mlir.zip
mlp_haiku.mlir.zip
mnist.onnx.dense.mlir.zip
mnist.onnx.mlir.zip
model.mlirbc.zip
resnet18-v1-op13-fp32-onnxzoo-simplified.onnx.mlir.zip
sample.mlir.zip
sha256.mlir.zip
torch-mlir-3423.mlir.zip
torch_mlir_3429.mlir.zip
versioned-op-2.0.mlirbc.zip
wcr.mlir.zip
The text was updated successfully, but these errors were encountered: