We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09bc536 commit 4728062Copy full SHA for 4728062
xla/python/pjrt_ifrt/pjrt_client.cc
@@ -22,7 +22,6 @@ limitations under the License.
22
#include <memory>
23
#include <optional>
24
#include <string>
25
-#include <string_view>
26
#include <tuple>
27
#include <utility>
28
#include <variant>
@@ -466,7 +465,7 @@ MakePjRtDevicesFromGlobalTopology(PjRtClient* client,
466
465
int64_t slice_index = -1;
467
if (!node.boot_id().empty()) {
468
// Every new boot_id seen is treated as a new host/slice.
469
- std::string_view boot_id = node.boot_id();
+ absl::string_view boot_id = node.boot_id();
470
auto [it, inserted] =
471
boot_id_to_slice_index.try_emplace(boot_id, next_slice_index);
472
slice_index = it->second;
0 commit comments