快捷键

torch.distributed.elastic.timer.debug_info_logging 的源代码

#!/usr/bin/env python3 # mypy: allow-untyped-defs # 版权所有 (c) Facebook, Inc. 及其关联公司。 # 所有权利保留。 # # 此源代码受根目录中 LICENSE 文件中规定的 BSD 风格许可协议的许可。从 torch.distributed.elastic.utils.logging 导入 get_logger logger = get_logger(__name__) __all__ = ["log_debug_info_for_expired_timers"]
[文档]def log_debug_info_for_expired_timers( run_id: str, expired_timers: dict[int, list[str]], ): if expired_timers: 日志器信息:“运行:%s [%s] 的计时器已过期。”

© 版权所有 PyTorch 贡献者。

使用 Sphinx 构建,并使用 Read the Docs 提供的主题。

文档

查看 PyTorch 的全面开发者文档

查看文档

教程

深入了解初学者和高级开发者的教程

查看教程

资源

查找开发资源,获取您的疑问解答

查看资源