Skip to content

Commit

Permalink
Nicer logs for dynamic shapes
Browse files Browse the repository at this point in the history
ghstack-source-id: e62c51a2ad28a568699180f57613c165bdea7820
Pull Request resolved: #99277

Better little none check
  • Loading branch information
voznesenskym committed Apr 24, 2023
1 parent 6e3cdca commit f662047
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torch/fx/experimental/symbolic_shapes.py
Original file line number Diff line number Diff line change
Expand Up @@ -2336,7 +2336,7 @@ def hint():
err = '\n'.join(error_msgs)
raise ConstraintViolationError(f"Constraints violated!\n{err}")
elif len(warn_msgs) > 0:
log.warning("%s Warning only constraints violated", len(warn_msgs))
log.debug("%s Warning only constraints violated", len(warn_msgs))

return exprs

Expand Down

0 comments on commit f662047

Please sign in to comment.