You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update constant fold to use correct numpy type (#2204)
In PyTorch<=2.7, the numpy arrays for bfloat16 and float8 types have
dtypes UINT16 and UINT8, which leads to incorrect constant folded
graphs. This PR updates the numpy helper to cast the arrays to the
correct dtypes.
Fix#2187
0 commit comments