mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 12:20:52 +01:00
[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:
parent
b2a0f90501
commit
7481622237
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user