Skip to content

Commit 767549c

Browse files
Merge pull request #62156 from tensorflow/rtg0795-patch-1
Change libtpu.so path in tpu_api_dlsym_initializer.cc
2 parents 6a95044 + 44e3984 commit 767549c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tensorflow/core/tpu/tpu_api_dlsym_initializer.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ absl::Status FindAndLoadTpuLibrary() {
103103
// Check if libtpu is attached to the whl. In that case, libtpu should be in
104104
// the path `library/libtpu.so` inside the whl.
105105
std::filesystem::path whl_libtpu_path =
106-
std::filesystem::path(so_name).replace_filename("library/libtpu.so");
106+
std::filesystem::path(so_name).replace_filename("lib/libtpu.so");
107107

108108
const char* env_value = getenv("TPU_LIBRARY_PATH");
109109
const char* libtpu_path = nullptr;

0 commit comments

Comments
 (0)