-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #833 from rapidsai/branch-0.24
[RELEASE] ucx-py v0.24
- Loading branch information
Showing
36 changed files
with
364 additions
and
332 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,6 +20,7 @@ CUDA IPC/NVLink | |
Monitor traffic over all GPUs | ||
|
||
:: | ||
|
||
nvidia-smi nvlink -gt d | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Copyright (c) 2019-2021, NVIDIA CORPORATION. All rights reserved. | ||
# See file LICENSE for terms. | ||
|
||
from .utils import nvtx_annotate # noqa |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
# Copyright (c) 2019-2021, NVIDIA CORPORATION. All rights reserved. | ||
# See file LICENSE for terms. | ||
|
||
import contextlib | ||
import logging | ||
|
||
logger = logging.getLogger("ucx") | ||
|
||
|
||
@contextlib.contextmanager | ||
def log_errors(reraise_exception=False): | ||
try: | ||
yield | ||
except BaseException as e: | ||
logger.exception(e) | ||
if reraise_exception: | ||
raise | ||
|
||
|
||
class UCXBaseException(Exception): | ||
pass | ||
|
||
|
||
class UCXError(UCXBaseException): | ||
pass | ||
|
||
|
||
class UCXConfigError(UCXError): | ||
pass | ||
|
||
|
||
class UCXWarning(UserWarning): | ||
pass | ||
|
||
|
||
class UCXCloseError(UCXBaseException): | ||
pass | ||
|
||
|
||
class UCXCanceled(UCXBaseException): | ||
pass | ||
|
||
|
||
class UCXConnectionReset(UCXBaseException): | ||
pass | ||
|
||
|
||
class UCXMsgTruncated(UCXBaseException): | ||
pass | ||
|
||
|
||
class UCXNotConnected(UCXBaseException): | ||
pass | ||
|
||
|
||
class UCXUnreachable(UCXBaseException): | ||
pass |
Oops, something went wrong.