Skip to content

Commit

Permalink
shared_ptr to unique_ptr
Browse files Browse the repository at this point in the history
  • Loading branch information
will-cromar committed Nov 28, 2023
1 parent ab47b28 commit bbde87f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torch_xla/csrc/runtime/pjrt_computation_client.h
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ class PjRtComputationClient : public ComputationClient {
};

private:
std::shared_ptr<xla::PjRtClient> client_;
std::unique_ptr<xla::PjRtClient> client_;
std::unique_ptr<XlaCoordinator> coordinator_;
// global_ordinals_ tracks a map from PjRtDeviceId to the device's
// dense global ordinal.
Expand Down

0 comments on commit bbde87f

Please sign in to comment.