Skip to content

Commit

Permalink
Update pjrt_computation_client.cc
Browse files Browse the repository at this point in the history
  • Loading branch information
ManfeiBai authored Dec 4, 2023
1 parent 339ad72 commit 4a220e7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions torch_xla/csrc/runtime/pjrt_computation_client.cc
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ PjRtComputationClient::PjRtComputationClient() {
options.num_nodes = global_world_size;
options.allowed_devices = allowed_devices;
options.platform_name = "gpu";
options.should_stage_host_to_device_transfers = true;
options.kv_get = kv_get;
options.kv_put = kv_put;
client_ = std::move(xla::GetStreamExecutorGpuClient(options).value());
Expand Down

0 comments on commit 4a220e7

Please sign in to comment.