Support triton.language.dtype with torch.compile -- Second Attempt (#122141)
Summary:
This PR is the second attempt at supporting `triton.language.dtype`, now instead of putting it on the graph, we put it on the side table since it is a constant.
X-link: https://github.com/pytorch/pytorch/pull/122141
Approved by: https://github.com/jansel
ghstack dependencies: #122140
Reviewed By: huydhn
Differential Revision: D55106881
Pulled By: oulgen
fbshipit-source-id: 34f76adb50507ef1508253257209e0c2a1393e75