Stop subclassing sympy Symbol (#95313)
According to ngimel (and also noticed by me), printing
x1*s0**2 doesn't work correctly in Sympy as it complains
'<' not supported between instances of 'tuple' and 'str'
This is probably a Sympy bug but the real answer is subclassing
is more trouble than its worth and we ought not do it.
Signed-off-by: Edward Z. Yang <ezyang@meta.com>
Pull Request resolved: https://github.com/pytorch/pytorch/pull/95313
Approved by: https://github.com/ngimel