tree: 4c2c4f7369025c6002167224bde15be067d42a66 [path history] [tgz]
  1. mlir_opt_kernel/
  2. .gitignore
  3. README.md
mlir/utils/jupyter/README.md

A Jupyter kernel for mlir (mlir-opt)

This is purely for experimentation. This kernel uses the reproducer runner conventions to run passes.

To install:

python3 -m mlir_opt_kernel.install

To use it, run one of:

    jupyter notebook
    # In the notebook interface, select MlirOpt from the 'New' menu
    jupyter console --kernel mlir

mlir-opt is expected to be either in the PATH or MLIR_OPT_EXECUTABLE is used to point to the executable directly.