mirror of
https://github.com/ROCm/jax.git
synced 2025-04-13 02:16:06 +00:00
Replace the uses of PjRtClient::Compile()
with PjRtClient::CompileAndLoad()
.
This is to prepare for updating `PjRtClient::Compile()` to return an unloaded executable [1/N] PiperOrigin-RevId: 737805623
This commit is contained in:
parent
8c35191725
commit
f174b00f23
@ -81,7 +81,7 @@ int main(int argc, char** argv) {
|
||||
xla::XlaComputation xla_computation(test_module_proto);
|
||||
xla::CompileOptions compile_options;
|
||||
std::unique_ptr<xla::PjRtLoadedExecutable> executable =
|
||||
client->Compile(xla_computation, compile_options).value();
|
||||
client->CompileAndLoad(xla_computation, compile_options).value();
|
||||
|
||||
// Prepare inputs.
|
||||
xla::Literal literal_x =
|
||||
|
Loading…
x
Reference in New Issue
Block a user