Skip to content

Conversation

sshonTT
Copy link

@sshonTT sshonTT commented Oct 3, 2025

Remove the explicit opmath-driven cast chain (bf16→f32→bf16, etc.) from mul. The op now executes in the dtype chosen by standard dtype promotion, without inserting unconditional upcast/downcast steps. But leave its functionality for future usage.

merged in upstream : pytorch#9663

Remove the explicit opmath-driven cast chain (bf16→f32→bf16, etc.) from `mul`. The op now executes in the dtype chosen by standard dtype promotion, without inserting unconditional upcast/downcast steps. But leave its functionality for future usage.
@sshonTT sshonTT requested a review from AleksKnezevic October 3, 2025 18:21
@AleksKnezevic
Copy link

@sshonTT change looks good, but before you merge, you want to try rebasing? It'd be great if we could stay close to tip.

@sshonTT
Copy link
Author

sshonTT commented Oct 3, 2025

@sshonTT change looks good, but before you merge, you want to try rebasing? It'd be great if we could stay close to tip.

I will give it a shot.

@sshonTT
Copy link
Author

sshonTT commented Oct 3, 2025

#10 Trying to rebase to upstream and my patch is already there, so I will close this one.

@sshonTT sshonTT closed this Oct 3, 2025
@sshonTT sshonTT deleted the sshon/mathop branch October 3, 2025 18:50
@sshonTT sshonTT restored the sshon/mathop branch October 6, 2025 13:39
@sshonTT sshonTT reopened this Oct 6, 2025
@sshonTT
Copy link
Author

sshonTT commented Oct 6, 2025

Reopened as upstream's master seems to occur randomly seg faults when running in tt-xla.

@sshonTT sshonTT merged commit 25b5067 into master Oct 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants