Skip to content

Use upstream DTensor convert strategy#495

Closed
aditvenk wants to merge 1 commit into
aditvenk/stack/6from
aditvenk/stack/7
Closed

Use upstream DTensor convert strategy#495
aditvenk wants to merge 1 commit into
aditvenk/stack/6from
aditvenk/stack/7

Conversation

@fmassa fmassa left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you share pointers to where the convert_element_type rule is defined in PyTorch? I couldn't find it

PyTorch now provides a single-dim strategy for prims.convert_element_type.default, so AutoParallel only needs to keep the local propagation rule for its custom dtype_cast op.

Authored with Claude.

stack-info: PR: #495, branch: aditvenk/stack/7
@aditvenk aditvenk marked this pull request as draft June 15, 2026 16:26
@aditvenk aditvenk changed the base branch from aditvenk/stack/6 to main June 15, 2026 16:26
@aditvenk aditvenk changed the base branch from main to aditvenk/stack/6 June 15, 2026 16:27
@aditvenk aditvenk marked this pull request as ready for review June 15, 2026 16:28
@aditvenk

Copy link
Copy Markdown
Contributor Author

closing in favor of #505

@aditvenk aditvenk closed this Jun 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants