Skip to content

Using DTensor to handle local num_heads change while TP is applied #1373

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 16, 2025

Conversation

wwwjn
Copy link
Contributor

@wwwjn wwwjn commented Jul 16, 2025

Description

After DTensor enhancement, we are not able to use DTensor to handle the change of num_heads instead of manually handle the tensor shape while TP is applied.

Copy link

netlify bot commented Jul 16, 2025

Deploy Preview for pytorch-examples-preview canceled.

Name Link
🔨 Latest commit 89fd536
🔍 Latest deploy log https://app.netlify.com/projects/pytorch-examples-preview/deploys/687710c56deca10007877156

@soumith soumith merged commit 8c1555d into pytorch:main Jul 16, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants