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 3c0369e commit 9914842Copy full SHA for 9914842
econpizza/parser/__init__.py
@@ -148,7 +148,7 @@ def _load_external_functions_file(model, context):
148
module = _load_as_module(model["functions_file"])
149
150
def func_or_compiled(func): return isinstance(
151
- func, jaxlib.xla_extension.CompiledFunction) or isfunction(func)
+ func, jaxlib.xla_extension.PjitFunction) or isfunction(func)
152
for m in getmembers(module, func_or_compiled):
153
context[m[0]] = m[1]
154
0 commit comments