viable/strict/1790281808: Fix two log messages that print a literal %s (#198244)
- PyTorch 近 90 天出现 1450 次
- PyTorch 近 90 天第 1431 次发版
- 上一次:同一天稍早 · viable/strict/1790279487: [MPS] migrate rounding ops (#198497)
发生了什么
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…
摘要按规则整理自下方来源原文