Skip to content

Commit 35b25c9

Browse files
junwhanahnGoogle-ML-Automation
authored andcommitted
Use LoadedExecutableRef instead of std::unique_ptr<LoadedExecutable>
PiperOrigin-RevId: 755573315
1 parent 80fc4fa commit 35b25c9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jaxlib/py_client.cc

+2-2
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ PyClient::CompileIfrtProgram(
446446
}
447447
}
448448

449-
std::unique_ptr<ifrt::LoadedExecutable> ifrt_loaded_executable;
449+
ifrt::LoadedExecutableRef ifrt_loaded_executable;
450450
std::optional<std::string> fingerprint;
451451
{
452452
nb::gil_scoped_release gil_release;
@@ -529,7 +529,7 @@ PyClient::DeserializeExecutable(nb_class_ptr<PyClient> client,
529529
ifrt::DeviceListRef executable_devices,
530530
std::optional<CompileOptions> options,
531531
std::vector<nb::capsule> host_callbacks) {
532-
std::unique_ptr<ifrt::LoadedExecutable> ifrt_loaded_executable;
532+
ifrt::LoadedExecutableRef ifrt_loaded_executable;
533533
std::optional<std::string> fingerprint;
534534
auto ifrt_deserialize_options = MakeIfrtDeserializeExecutableOptions(
535535
std::move(options), std::move(executable_devices),

0 commit comments

Comments
 (0)