mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 12:20:52 +01:00
See #145101 for details. Pull Request resolved: https://github.com/pytorch/pytorch/pull/145163 Approved by: https://github.com/Skylion007
15 lines
220 B
Python
15 lines
220 B
Python
import logging
|
|
|
|
from torch.distributed.logging_handlers import _log_handlers
|
|
|
|
|
|
__all__: list[str] = []
|
|
|
|
DCP_LOGGER_NAME = "dcp_logger"
|
|
|
|
_log_handlers.update(
|
|
{
|
|
DCP_LOGGER_NAME: logging.NullHandler(),
|
|
}
|
|
)
|