Skip to content
Commit b2bdc455 authored by Mehdi Amini's avatar Mehdi Amini
Browse files

[mlir][python] Fix possible use of variable use before set

The _mlirRegisterEverything symbol may not be built by some customers. The
code here was intended to support this, but didn't properly initialize the
init_module variable.
This would break JAX with:

NameError: free variable 'init_module' referenced before assignment in enclosing scope
parent a3ee0d4f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment