Skip to content

[Profiler] Torch Profiler distributed info is not JSON serializable#135548

Closed
sraikund16 wants to merge 1 commit intopytorch:mainfrom
sraikund16:export-D62411619
Closed

[Profiler] Torch Profiler distributed info is not JSON serializable#135548
sraikund16 wants to merge 1 commit intopytorch:mainfrom
sraikund16:export-D62411619

Conversation

@sraikund16
Copy link
Contributor

Summary: To fix #133308 we must create an encoder for numpy values so we can serialize the distributed metadata to JSON.

Test Plan: Added unit test to check that numpy values can be serialized

Differential Revision: D62411619

@pytorch-bot
Copy link

pytorch-bot bot commented Sep 9, 2024

🔗 Helpful Links

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

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

✅ You can merge normally! (3 Unrelated Failures)

As of commit 2659c11 with merge base cd472bb (image):

FLAKY - The following jobs failed but were likely due to flakiness present on trunk:

BROKEN TRUNK - The following job failed but were present on the merge base:

👉 Rebase onto the `viable/strict` branch to avoid these failures

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

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D62411619

Copy link
Member

@aaronenyeshi aaronenyeshi left a comment

Choose a reason for hiding this comment

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

LGTM, pleas check CI signals!

@pytorch-bot pytorch-bot bot added the ciflow/trunk Trigger trunk jobs on your pull request label Sep 10, 2024
@sraikund16 sraikund16 added the release notes: profiler release notes category label Sep 10, 2024
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D62411619

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D62411619

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D62411619

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D62411619

1 similar comment
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D62411619

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D62411619

@sraikund16 sraikund16 force-pushed the export-D62411619 branch 2 times, most recently from 2e73094 to f13deca Compare September 12, 2024 00:07
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D62411619

1 similar comment
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D62411619

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D62411619

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D62411619

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D62411619

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D62411619

1 similar comment
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D62411619

sraikund16 added a commit to sraikund16/pytorch that referenced this pull request Sep 12, 2024
…ytorch#135548)

Summary:
Pull Request resolved: pytorch#135548

To fix pytorch#133308 we must create an encoder for numpy values so we can serialize the distributed metadata to JSON.

Test Plan: Added unit test to check that numpy values can be serialized

Reviewed By: aaronenyeshi

Differential Revision: D62411619
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D62411619

…ytorch#135548)

Summary:
Pull Request resolved: pytorch#135548

To fix pytorch#133308 we must create an encoder for numpy values so we can serialize the distributed metadata to JSON.

Test Plan: Added unit test to check that numpy values can be serialized

Reviewed By: aaronenyeshi

Differential Revision: D62411619
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D62411619

@facebook-github-bot
Copy link
Contributor

@pytorchbot merge -f 'Landed internally'

(Initiating merge automatically since Phabricator Diff has merged, using force because this PR might not pass merge_rules.json but landed internally)

@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Please use -f as last resort and instead consider -i/--ignore-current to continue the merge ignoring current failures. This will allow currently pending tests to finish and report signal before the merge.

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

Chao1Han pushed a commit to Chao1Han/pytorch that referenced this pull request Sep 20, 2024
…ytorch#135548)

Summary: To fix pytorch#133308 we must create an encoder for numpy values so we can serialize the distributed metadata to JSON.

Test Plan: Added unit test to check that numpy values can be serialized

Differential Revision: D62411619

Pull Request resolved: pytorch#135548
Approved by: https://github.com/aaronenyeshi, https://github.com/albanD
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 topic: bug fixes topic category topic: not user facing topic category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Torch Profiler distributed info is not JSON serializable

5 participants