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

python: trim registration and loading of dialects and passes #1084

Merged
merged 1 commit into from
Jul 21, 2022
Merged

python: trim registration and loading of dialects and passes #1084

merged 1 commit into from
Jul 21, 2022

Commits on Jul 21, 2022

  1. python: trim registration and loading of dialects and passes

    In the interest of merging upstream LLVM quickly, a previous patch
    (7f08169) updated the torch-mlir build to register all dialects and
    passes through Python bindings.  This patch limits the dialects and
    passes to only those that are used in torch-mlir.
    
    Key to this change are the removal of
    `MLIRPythonExtension.RegisterEverything` and the introduction of a new
    Python module (`_mlir_libs/_site_initialize_0.py`), where we register
    the dialects and passes used by torch-mlir.
    ashay committed Jul 21, 2022
    Configuration menu
    Copy the full SHA
    d7c833b View commit details
    Browse the repository at this point in the history