← Back to events
ActiveAIRelease

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

Photo: PyTorch Releases

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

Why it's spreading

Sources