viable/strict/1790281808: Fix two log messages that print a literal %s (#198244)
- PyTorch: 1445 events in the last 90 days
- PyTorch: 1426th Release in the last 90 days
- Previous: earlier the same day · viable/strict/1790279487: [MPS] migrate rounding ops (#198497)
What happened
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…
Summary assembled by rule from the sources below