We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20078fb commit 5a6ab45Copy full SHA for 5a6ab45
econpizza/parser/__init__.py
@@ -136,7 +136,7 @@ def _load_external_functions_file(model, context):
136
module = _load_as_module(model["functions_file"])
137
138
def func_or_compiled(func): return isinstance(
139
- func, jaxlib.xla_extension.PjitFunction) or isfunction(func)
+ func, jaxlib._jax.PjitFunction) or isfunction(func)
140
for m in getmembers(module, func_or_compiled):
141
context[m[0]] = m[1]
142
0 commit comments