Skip to content

Commit

Permalink
Initialize compilation env hash (#6140)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonb377 authored Dec 13, 2023
1 parent 5c12670 commit c4f8772
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 @@ -244,6 +244,7 @@ PjRtComputationClient::PjRtComputationClient() {
std::string device_str = PjRtDeviceToString(device);
string_to_device_.emplace(device_str, device);
}
comp_env_hash_ = hash_comp_env(client_, ordered_devices);

auto tracked_devices = GetLocalDevices();
tracked_devices.emplace_back(spmd_device_str);
Expand Down

0 comments on commit c4f8772

Please sign in to comment.