Skip to content

flight_recorder: move to torch.distributed - #167782

Closed
d4l3k wants to merge 1 commit into
mainfrom
export-D87022129
Closed

d4l3k wants to merge 1 commit into
mainfrom
export-D87022129

Conversation

@d4l3k

@d4l3k d4l3k commented Nov 14, 2025 •

Copy link
Copy Markdown
Member

Summary: This moves torchfrtrace to be under torch.distributed.flight_recorder instead of tools.flight_recorder as the tools package is not included in the torch wheels. This makes it so you can use fr trace analyze without using it from a source checkout

Test Plan:

buck run //caffe2/fb/flight_recorder:fr_trace

CI

Differential Revision: D87022129

cc @H-Huang @awgu @wanchaol @fegin @fduwjj @wz337 @wconstab @pragupta @msaroufim @dcci

@pytorch-bot

pytorch-bot Bot commented Nov 14, 2025 •

Copy link
Copy Markdown

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/167782

Note: Links to docs will display an error until the docs builds have been completed.

✅ You can merge normally! (1 Unrelated Failure)

As of commit 67d974b with merge base 200156e (image):

UNSTABLE - The following job is marked as unstable, possibly due to flakiness on trunk:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@pytorch-bot pytorch-bot Bot added oncall: distributed Add this issue/PR to distributed oncall triage queue and removed oncall: distributed Add this issue/PR to distributed oncall triage queue labels Nov 14, 2025
@pytorch-bot

pytorch-bot Bot commented Nov 14, 2025

Copy link
Copy Markdown

The label oncall: distributed is only applicable to issues and has been removed. Please only use this label on issues.

@pytorch-bot pytorch-bot Bot added oncall: distributed Add this issue/PR to distributed oncall triage queue and removed oncall: distributed Add this issue/PR to distributed oncall triage queue labels Nov 14, 2025
@pytorch-bot

pytorch-bot Bot commented Nov 14, 2025

Copy link
Copy Markdown

The label oncall: distributed is only applicable to issues and has been removed. Please only use this label on issues.

@meta-codesync

meta-codesync Bot commented Nov 14, 2025

Copy link
Copy Markdown

@d4l3k has exported this pull request. If you are a Meta employee, you can view the originating Diff in D87022129.

d4l3k added a commit that referenced this pull request Nov 14, 2025
Summary:
Pull Request resolved: #167782

This moves torchfrtrace to be under `torch.distributed.flight_recorder` instead of `tools.flight_recorder` as the `tools` package is not included in the torch wheels. This makes it so you can use fr trace analyze without using it from a source checkout

Test Plan:
```
buck run //caffe2/fb/flight_recorder:fr_trace
```

CI

Differential Revision: D87022129
@pytorch-bot pytorch-bot Bot added oncall: distributed Add this issue/PR to distributed oncall triage queue and removed oncall: distributed Add this issue/PR to distributed oncall triage queue labels Nov 14, 2025
@pytorch-bot

pytorch-bot Bot commented Nov 14, 2025

Copy link
Copy Markdown

The label oncall: distributed is only applicable to issues and has been removed. Please only use this label on issues.

@pytorch-bot pytorch-bot Bot added the ciflow/trunk Trigger trunk jobs on your pull request label Nov 14, 2025
@fduwjj fduwjj added the release notes: distributed (c10d) release notes category label Nov 14, 2025
@pytorch-bot pytorch-bot Bot added oncall: distributed Add this issue/PR to distributed oncall triage queue and removed oncall: distributed Add this issue/PR to distributed oncall triage queue labels Nov 14, 2025
@pytorch-bot

pytorch-bot Bot commented Nov 14, 2025

Copy link
Copy Markdown

The label oncall: distributed is only applicable to issues and has been removed. Please only use this label on issues.

d4l3k added a commit that referenced this pull request Nov 14, 2025
Summary:
Pull Request resolved: #167782

This moves torchfrtrace to be under `torch.distributed.flight_recorder` instead of `tools.flight_recorder` as the `tools` package is not included in the torch wheels. This makes it so you can use fr trace analyze without using it from a source checkout

allow-large-files

Test Plan:
```
buck run //caffe2/fb/flight_recorder:fr_trace
```

CI

Reviewed By: fduwjj

Differential Revision: D87022129
@pytorch-bot pytorch-bot Bot added oncall: distributed Add this issue/PR to distributed oncall triage queue and removed oncall: distributed Add this issue/PR to distributed oncall triage queue labels Nov 14, 2025
@pytorch-bot

pytorch-bot Bot commented Nov 14, 2025

Copy link
Copy Markdown

The label oncall: distributed is only applicable to issues and has been removed. Please only use this label on issues.

d4l3k added a commit that referenced this pull request Nov 14, 2025
Summary:
Pull Request resolved: #167782

This moves torchfrtrace to be under `torch.distributed.flight_recorder` instead of `tools.flight_recorder` as the `tools` package is not included in the torch wheels. This makes it so you can use fr trace analyze without using it from a source checkout

allow-large-files

Test Plan:
```
buck run //caffe2/fb/flight_recorder:fr_trace
```

CI

Reviewed By: fduwjj

Differential Revision: D87022129
@pytorch-bot pytorch-bot Bot added the oncall: distributed Add this issue/PR to distributed oncall triage queue label Nov 14, 2025
@pytorch-bot pytorch-bot Bot removed the oncall: distributed Add this issue/PR to distributed oncall triage queue label Nov 14, 2025
@pytorch-bot

pytorch-bot Bot commented Nov 14, 2025

Copy link
Copy Markdown

The label oncall: distributed is only applicable to issues and has been removed. Please only use this label on issues.

d4l3k added a commit that referenced this pull request Nov 14, 2025
Summary:
Pull Request resolved: #167782

This moves torchfrtrace to be under `torch.distributed.flight_recorder` instead of `tools.flight_recorder` as the `tools` package is not included in the torch wheels. This makes it so you can use fr trace analyze without using it from a source checkout

allow-large-files

Test Plan:
```
buck run //caffe2/fb/flight_recorder:fr_trace
```

CI

Reviewed By: fduwjj

Differential Revision: D87022129
@pytorch-bot pytorch-bot Bot added oncall: distributed Add this issue/PR to distributed oncall triage queue and removed oncall: distributed Add this issue/PR to distributed oncall triage queue labels Nov 14, 2025
@pytorch-bot

pytorch-bot Bot commented Nov 14, 2025

Copy link
Copy Markdown

The label oncall: distributed is only applicable to issues and has been removed. Please only use this label on issues.

d4l3k added a commit that referenced this pull request Nov 14, 2025
Summary:
Pull Request resolved: #167782

This moves torchfrtrace to be under `torch.distributed.flight_recorder` instead of `tools.flight_recorder` as the `tools` package is not included in the torch wheels. This makes it so you can use fr trace analyze without using it from a source checkout

allow-large-files

Test Plan:
```
buck run //caffe2/fb/flight_recorder:fr_trace
```

CI

Reviewed By: fduwjj

Differential Revision: D87022129
@pytorch-bot pytorch-bot Bot added the oncall: distributed Add this issue/PR to distributed oncall triage queue label Nov 14, 2025
@pytorch-bot

pytorch-bot Bot commented Nov 14, 2025

Copy link
Copy Markdown

The label oncall: distributed is only applicable to issues and has been removed. Please only use this label on issues.

@pytorch-bot pytorch-bot Bot removed the oncall: distributed Add this issue/PR to distributed oncall triage queue label Nov 14, 2025
Summary:
Pull Request resolved: #167782

This moves torchfrtrace to be under `torch.distributed.flight_recorder` instead of `tools.flight_recorder` as the `tools` package is not included in the torch wheels. This makes it so you can use fr trace analyze without using it from a source checkout

allow-large-files

Test Plan:
```
buck run //caffe2/fb/flight_recorder:fr_trace
```

CI

Reviewed By: fduwjj

Differential Revision: D87022129
@pytorch-bot pytorch-bot Bot added oncall: distributed Add this issue/PR to distributed oncall triage queue and removed oncall: distributed Add this issue/PR to distributed oncall triage queue labels Nov 14, 2025
@pytorch-bot

pytorch-bot Bot commented Nov 14, 2025

Copy link
Copy Markdown

The label oncall: distributed is only applicable to issues and has been removed. Please only use this label on issues.

@facebook-github-bot

Copy link
Copy Markdown
Contributor

@pytorchbot merge

(Initiating merge automatically since Phabricator Diff has merged)

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

Merge started

Your change will be merged once all checks pass (ETA 0-4 Hours).

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

jsuarez5341 pushed a commit to PufferAI/pytorch that referenced this pull request Nov 15, 2025
Summary: This moves torchfrtrace to be under `torch.distributed.flight_recorder` instead of `tools.flight_recorder` as the `tools` package is not included in the torch wheels. This makes it so you can use fr trace analyze without using it from a source checkout

Test Plan:
```
buck run //caffe2/fb/flight_recorder:fr_trace
```

CI

Differential Revision: D87022129

Pull Request resolved: pytorch#167782
Approved by: https://github.com/fduwjj
Silv3S pushed a commit to Silv3S/pytorch that referenced this pull request Nov 18, 2025
Summary: This moves torchfrtrace to be under `torch.distributed.flight_recorder` instead of `tools.flight_recorder` as the `tools` package is not included in the torch wheels. This makes it so you can use fr trace analyze without using it from a source checkout

Test Plan:
```
buck run //caffe2/fb/flight_recorder:fr_trace
```

CI

Differential Revision: D87022129

Pull Request resolved: pytorch#167782
Approved by: https://github.com/fduwjj
@github-actions
github-actions Bot deleted the export-D87022129 branch December 15, 2025 02:21
drizzlezyk pushed a commit to Ascend/pytorch that referenced this pull request Jan 7, 2026
Co-authored-by: dilililiwhy<[email protected]>



# message auto-generated for no-merge-commit merge:
!28630 merge main_sync_20251202 into master

TORCH MAIN SYNC : strategy/rule registration refactoring (DTensor)

Created-by: dilililiwhy
Commit-by: dilililiwhy
Merged-by: ascend-robot
Description: <!--  Thanks for sending a pull request! 
-->

**What type of PR is this?**
> Uncomment only one ` /kind <>` line, hit enter to put that in a new line, and remove leading whitespaces from that line:
>
> /kind bug
> /kind task
> /kind feature


**What does this PR do / why do we need it**:
2.10.0.dev20251124

**Which issue(s) this PR fixes**:
<!-- 
*Automatically closes linked issue when PR is merged.
Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`.
-->
Fixes #

**Special notes for your reviewers**:
pytorch/pytorch#166264
pytorch/pytorch#167782
pytorch/pytorch#168221



See merge request: Ascend/pytorch!28630
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/trunk Trigger trunk jobs on your pull request fb-exported Merged meta-exported release notes: distributed (c10d) release notes category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants