Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions python/pylibcugraph/pylibcugraph/comms/cugraph_nccl_comms.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: Copyright (c) 2024-2025, NVIDIA CORPORATION.
# SPDX-FileCopyrightText: Copyright (c) 2024-2026, NVIDIA CORPORATION.
# SPDX-License-Identifier: Apache-2.0

import math
Expand All @@ -17,7 +17,13 @@ class MissingUCXX:
def __call__(self, *args, **kwargs):
raise ModuleNotFoundError(
"raft-dask and/or ucxx could not be imported"
" but are required for MG operations"
" but are required for multi-GPU operations"
)

def __getattr__(self, name):
raise ModuleNotFoundError(
"raft-dask and/or ucxx could not be imported"
" but are required for multi-GPU operations"
)

nccl = MissingUCXX()
Expand Down