[symbolic shapes] remove maybe_guard_rel warning (#166553)

Fixes #ISSUE_NUMBER

Pull Request resolved: https://github.com/pytorch/pytorch/pull/166553
Approved by: https://github.com/laithsakka
This commit is contained in:
Pian Pawakapan 2025-10-30 00:57:23 +00:00 committed by PyTorch MergeBot
parent b2a0f90501
commit 7481622237

View File

@ -6899,9 +6899,6 @@ class ShapeEnv:
self._maybe_guard_rel(arg)
return
elif not isinstance(expr, sympy.Rel):
log.warning(
"_maybe_guard_rel() was called on non-relation expression %s", expr
)
return
# A good example of what goes wrong if you don't do this is