Skip to content

Remove _ScaledPartial placement - #2337

Merged
tianyu-l merged 3 commits into
pytorch:mainfrom
Aidyn-A:remove__ScaledPartial
Feb 9, 2026
Merged

tianyu-l merged 3 commits into
pytorch:mainfrom
Aidyn-A:remove__ScaledPartial

Conversation

@Aidyn-A

@Aidyn-A Aidyn-A commented Feb 6, 2026

Copy link
Copy Markdown
Contributor

A follow up on #2313 (comment). This PR removes _ScaledPartial placement in favor of Partial(reduce_op="sum") placement.

cc @tianyu-l, @wwwjn

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Feb 6, 2026

@tianyu-l tianyu-l 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.

LGTM, please fix linting

@tianyu-l

tianyu-l commented Feb 6, 2026

Copy link
Copy Markdown
Contributor

Previously ScaledPartial is causing compiler_toolkit to fail, as it has a dependency on simple_fsdp folder.
Could you add the simple_fsdp folder to https://github.com/pytorch/torchtitan/blob/main/.github/workflows/integration_test_8gpu_compiler_toolkit.yaml#L9
so that whenever simplefsdp folder gets changed, the CI triggers compiler_toolkit CI test? Thanks! cc @sanketpurandare

@tianyu-l

tianyu-l commented Feb 9, 2026

Copy link
Copy Markdown
Contributor

the error seems on not related
merging because this blocks SimpleFSDP correctness and compiler_toolkit CI

@tianyu-l
tianyu-l merged commit 100ca31 into pytorch:main Feb 9, 2026
14 of 15 checks passed
TXacs pushed a commit to McmillanTAC/torchtitan that referenced this pull request Apr 13, 2026
A follow up on
pytorch#2313 (comment).
This PR removes `_ScaledPartial` placement in favor of
`Partial(reduce_op="sum")` placement.

cc @tianyu-l, @wwwjn
ACharacterInASimulation pushed a commit to ACharacterInASimulation/torchtitan that referenced this pull request Apr 21, 2026
A follow up on
pytorch#2313 (comment).
This PR removes `_ScaledPartial` placement in favor of
`Partial(reduce_op="sum")` placement.

cc @tianyu-l, @wwwjn
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