Skip to content

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

Merged
soumith merged 1 commit into
pytorch:mainfrom
wwwjn:tp_tutorial_2
Jul 16, 2025
Merged

Using DTensor to handle local num_heads change while TP is applied#1373
soumith merged 1 commit into
pytorch:mainfrom
wwwjn:tp_tutorial_2

Conversation

@wwwjn
Copy link
Copy Markdown
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.

@netlify
Copy link
Copy Markdown

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