Trace attention inference patterns with p=0, cleanup (#109118)
When dropout is traced in inference, it creates a clone() instead of training pattern of rand() etc. This was partially addressed by manually https://github.com/pytorch/pytorch/pull/108141, however that did not cover all of the patterns that included dropout, and there is no reason we should have to specify them manually.
This updates the inference patterns generated to trace with dropout_p = 0.0.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/109118
Approved by: https://github.com/drisspg, https://github.com/Valentine233