← 返回事件
持续讨论AI发版

viable/strict/1790281808: Fix two log messages that print a literal %s (#198244)

图:PyTorch Releases

发生了什么

Two log calls have a %s placeholder and no argument to fill it, so the placeholder is printed verbatim. torch/_dynamo/package.py — the disk-cache load failure: except Exception : counters [ "dynamo_cache" ][ "dynamo_cache_error" ] + = 1 logger . warning ( "Failed to load package from path %s" , exc_info = True ) exc_info=True is a keyword argument, so it does not feed the format string. The warning reads Failed to l…

摘要按规则整理自下方来源原文

为什么在扩散

来源