What replaced as_serialized_hlo_module_proto() following the deprecation of jax.xla_computation? #22266
-
Of course we can do something like Also, even if I use this deprecated function call, when I load the protobuf using the PJRT C API, I get the following error: You can see the code I'm using (everything is very much a minimal example, which is the purpose of the repo) here: https://github.com/joaospinto/call_jax_from_cpp/blob/main/call_jax_from_cpp/simple_jax_example.py. Note that while the C++ PJRT API does handle Also, what format is the output of |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
CC @skye |
Beta Was this translation helpful? Give feedback.
-
Try:
|
Beta Was this translation helpful? Give feedback.
You also need to specify
hlo
i.e.jax.jit(f).lower(*args).compiler_ir('hlo')