Skip to content

Commit 3b4d111

Browse files
committed
Remove early dso check
1 parent cf0c368 commit 3b4d111

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

xla/backends/gpu/collectives/BUILD

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,6 @@ cc_library(
292292
"@com_google_absl//absl/types:span",
293293
"@nvshmem//:nvshmem_lib",
294294
"@tsl//tsl/platform:casts",
295-
"@tsl//tsl/platform:dso_loader",
296295
"@tsl//tsl/platform:numbers",
297296
],
298297
alwayslink = True, # registers collectives implementation
@@ -358,7 +357,7 @@ xla_cc_test(
358357
"//xla/pjrt/distributed:client",
359358
"//xla/pjrt/distributed:service",
360359
"//xla/pjrt/gpu:se_gpu_pjrt_client",
361-
"//xla/pjrt/gpu:se_gpu_pjrt_compiler",
360+
"//xla/pjrt/gpu:se_gpu_pjrt_compiler",
362361
"//xla/tests:literal_test_util",
363362
"//xla/tsl/platform:errors",
364363
"//xla/tsl/platform:status",

xla/backends/gpu/collectives/nvshmem_collectives.cc

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ limitations under the License.
3636
#include "xla/tsl/platform/errors.h"
3737
#include "xla/tsl/platform/statusor.h"
3838
#include "tsl/platform/casts.h"
39-
#include "tsl/platform/dso_loader.h"
4039
#include "tsl/platform/numbers.h"
4140

4241
namespace xla::gpu {
@@ -78,11 +77,6 @@ absl::Status NvshmemCollectives::InitializeOnce() {
7877
LOG(FATAL) << "NVSHMEM API is only supported with one device per process";
7978
}
8079

81-
// First, check that DSO can be found. Otherwise if it cannot be found,
82-
// non-leader ranks will be stuck at kv_store->Get().
83-
TF_RETURN_IF_ERROR(
84-
tsl::internal::DsoLoader::GetNvshmemDsoHandle().status());
85-
8680
nvshmemx_init_attr_t nvshmem_init_attr = NVSHMEMX_INIT_ATTR_INITIALIZER;
8781
nvshmemx_uniqueid_t nvshmem_id = NVSHMEMX_UNIQUEID_INITIALIZER;
8882

0 commit comments

Comments
 (0)