Skip to content

Commit

Permalink
Update error message with torch logging instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
mlazos committed Jun 2, 2023
1 parent 896d997 commit 294f53f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torch/_dynamo/exc.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ def augment_exc_message(exc, msg="\n"):
torch._dynamo.replay('{exc.record_filename}').\n"

if not config.verbose and hasattr(exc, "real_stack"):
msg += "\nSet torch._dynamo.config.verbose=True or TORCHDYNAMO_VERBOSE=1 for more information\n"
msg += '\nSet TORCH_LOGS="+dynamo" and TORCHDYNAMO_VERBOSE=1 for more information\n'

if hasattr(exc, "inner_exception") and hasattr(
exc.inner_exception, "minifier_path"
Expand Down

0 comments on commit 294f53f

Please sign in to comment.