Fix Dynamo sequence membership to use richcompare per element (#186760)
Summary:
This change was authored with the assistance of an AI coding assistant.
X-link: https://github.com/pytorch/pytorch/pull/186760
Approved by: https://github.com/rtimpe
ghstack dependencies: #185998, #185999, #186499, #186758
Reviewed By: wdvr
Differential Revision: D108478987
fbshipit-source-id: 8bf3fcf63b0caba2ef923b2f2b20eb5541c1b5a6
Author
generatedunixname499836121