Skip to content

Conversation

@fduwjj
Copy link
Contributor

@fduwjj fduwjj commented Nov 5, 2024

Summary:
This is trying to fix a regression caused by #139757. We now don't want to log args and kwargs directly because if they contain tensor or tensor subclass it would take lots of time in conversion to string or even not supported.

Reviewed By: fduwjj

Differential Revision: D65490202

cc @H-Huang @awgu @kwen2501 @wanchaol @fegin @wz337 @wconstab @d4l3k @c-p-i-o

@pytorch-bot
Copy link

pytorch-bot bot commented Nov 5, 2024

🔗 Helpful Links

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

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

✅ No Failures

As of commit a72fc18 with merge base 2ee91db (image):
💚 Looks good so far! There are no failures yet. 💚

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

@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Nov 5, 2024

CLA Signed

The committers listed above are authorized under a signed CLA.

  • ✅ login: fduwjj / name: Junjie Wang (a72fc18)

@facebook-github-bot
Copy link
Contributor

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

@fduwjj fduwjj added the topic: not user facing topic category label Nov 5, 2024
fduwjj added a commit to fduwjj/pytorch that referenced this pull request Nov 5, 2024
…h#139804)

Summary:

This diff was created by the [Meta Engineering Agent](https://fb.workplace.com/groups/1205375940786433/permalink/1205378807452813/) to automatically fix the broken tests assigned to you / your team in T206766523:
- The agent searched for and edited the files it deemed relevant for fixing the tests
- After generating the patch, the broken test(s) were rerun to verify they now pass
- Regression tests were also run to verify CI still passes

---

**If this diff is the correct fix for T206766523, please accept the diff**. *Note that while we set a high quality bar for the agent publishing these diffs, LLM-powered agents still make mistakes, so your critical review is much appreciated and will help us improve!*

**If changes need to be made:** Please commandeer the diff, or comment with the specific changes needed.

---

*P.S. If you have broader feedback, please post in the [Meta Engineering Agent - Users group](https://fb.workplace.com/groups/1205375940786433)! We would love to hear from you on improving the agent to better assist you in your daily work.*

Test Plan:
```
buck2 test 'fbcode//mode/opt' fbcode//inference_enablement/model_processing/tests:ien_publish_in_trainer_tests -- --exact 'inference_enablement/model_processing/tests:ien_publish_in_trainer_tests - test_sp_in_trainer_publish (inference_enablement.model_processing.tests.ien_publish_in_trainer_tests.IENPublishInTrainerTests)'
```
https://www.internalfb.com/intern/testinfra/testrun/10977524148369514

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

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

@fduwjj fduwjj requested review from Chillee, ezyang and oulgen November 5, 2024 21:59
@fduwjj
Copy link
Contributor Author

fduwjj commented Nov 5, 2024

This is a auto generated diff trying to fix a internal test failure. (T206766523)

@fduwjj fduwjj added the ciflow/trunk Trigger trunk jobs on your pull request label Nov 5, 2024
fduwjj added a commit to fduwjj/pytorch that referenced this pull request Nov 5, 2024
…h#139804)

Summary:

This diff was created by the [Meta Engineering Agent](https://fb.workplace.com/groups/1205375940786433/permalink/1205378807452813/) to automatically fix the broken tests assigned to you / your team in T206766523:
- The agent searched for and edited the files it deemed relevant for fixing the tests
- After generating the patch, the broken test(s) were rerun to verify they now pass
- Regression tests were also run to verify CI still passes

---

**If this diff is the correct fix for T206766523, please accept the diff**. *Note that while we set a high quality bar for the agent publishing these diffs, LLM-powered agents still make mistakes, so your critical review is much appreciated and will help us improve!*

**If changes need to be made:** Please commandeer the diff, or comment with the specific changes needed.

---

*P.S. If you have broader feedback, please post in the [Meta Engineering Agent - Users group](https://fb.workplace.com/groups/1205375940786433)! We would love to hear from you on improving the agent to better assist you in your daily work.*

Test Plan:
```
buck2 test 'fbcode//mode/opt' fbcode//inference_enablement/model_processing/tests:ien_publish_in_trainer_tests -- --exact 'inference_enablement/model_processing/tests:ien_publish_in_trainer_tests - test_sp_in_trainer_publish (inference_enablement.model_processing.tests.ien_publish_in_trainer_tests.IENPublishInTrainerTests)'
```
https://www.internalfb.com/intern/testinfra/testrun/10977524148369514

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

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

@fduwjj fduwjj requested a review from XilunWu November 5, 2024 22:32
Copy link
Contributor

@XilunWu XilunWu left a comment

Choose a reason for hiding this comment

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

we can land if internal testing is green.

fduwjj added a commit to fduwjj/pytorch that referenced this pull request Nov 5, 2024
…h#139804)

Summary:

This diff was created by the [Meta Engineering Agent](https://fb.workplace.com/groups/1205375940786433/permalink/1205378807452813/) to automatically fix the broken tests assigned to you / your team in T206766523:
- The agent searched for and edited the files it deemed relevant for fixing the tests
- After generating the patch, the broken test(s) were rerun to verify they now pass
- Regression tests were also run to verify CI still passes

---

**If this diff is the correct fix for T206766523, please accept the diff**. *Note that while we set a high quality bar for the agent publishing these diffs, LLM-powered agents still make mistakes, so your critical review is much appreciated and will help us improve!*

**If changes need to be made:** Please commandeer the diff, or comment with the specific changes needed.

---

*P.S. If you have broader feedback, please post in the [Meta Engineering Agent - Users group](https://fb.workplace.com/groups/1205375940786433)! We would love to hear from you on improving the agent to better assist you in your daily work.*

Test Plan:
```
buck2 test 'fbcode//mode/opt' fbcode//inference_enablement/model_processing/tests:ien_publish_in_trainer_tests -- --exact 'inference_enablement/model_processing/tests:ien_publish_in_trainer_tests - test_sp_in_trainer_publish (inference_enablement.model_processing.tests.ien_publish_in_trainer_tests.IENPublishInTrainerTests)'
```
https://www.internalfb.com/intern/testinfra/testrun/10977524148369514

Reviewed By: XilunWu

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

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

Copy link
Contributor

@ezyang ezyang left a comment

Choose a reason for hiding this comment

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

I don't see why this right. In particular, there are plenty of other artifacts. Why is not_implemented the only one to be reregistered? This can't be the correct fix.

…h#139804)

Summary:

This diff was created by the [Meta Engineering Agent](https://fb.workplace.com/groups/1205375940786433/permalink/1205378807452813/) to automatically fix the broken tests assigned to you / your team in T206766523:
- The agent searched for and edited the files it deemed relevant for fixing the tests
- After generating the patch, the broken test(s) were rerun to verify they now pass
- Regression tests were also run to verify CI still passes

---

**If this diff is the correct fix for T206766523, please accept the diff**. *Note that while we set a high quality bar for the agent publishing these diffs, LLM-powered agents still make mistakes, so your critical review is much appreciated and will help us improve!*

**If changes need to be made:** Please commandeer the diff, or comment with the specific changes needed.

---

*P.S. If you have broader feedback, please post in the [Meta Engineering Agent - Users group](https://fb.workplace.com/groups/1205375940786433)! We would love to hear from you on improving the agent to better assist you in your daily work.*

Test Plan:
```
buck2 test 'fbcode//mode/opt' fbcode//inference_enablement/model_processing/tests:ien_publish_in_trainer_tests -- --exact 'inference_enablement/model_processing/tests:ien_publish_in_trainer_tests - test_sp_in_trainer_publish (inference_enablement.model_processing.tests.ien_publish_in_trainer_tests.IENPublishInTrainerTests)'
```
https://www.internalfb.com/intern/testinfra/testrun/10977524148369514

Differential Revision: D65490202
@pytorch-bot pytorch-bot bot added the oncall: distributed Add this issue/PR to distributed oncall triage queue label Nov 7, 2024
@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot
Copy link
Contributor

@pytorchbot merge

(Initiating merge automatically since Phabricator Diff has merged)

@pytorchmergebot
Copy link
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

@facebook-github-bot
Copy link
Contributor

This pull request has been reverted by 411203e. To re-land this change, please open another pull request, assignthe same reviewers, fix the CI failures that caused the revert and make sure that the failing CI runs on the PR by applying the proper ciflow label (e.g., ciflow/trunk).

pytorchmergebot pushed a commit that referenced this pull request Nov 8, 2024
This PR is trying to reland #139804

We now don't want to log args and kwargs directly because if they contain tensor or tensor subclass it would take lots of time in conversion to string or even not supported.

Pull Request resolved: #140169
Approved by: https://github.com/wz337
pytorchmergebot pushed a commit that referenced this pull request Nov 9, 2024
This PR is trying to reland #139804

We now don't want to log args and kwargs directly because if they contain tensor or tensor subclass it would take lots of time in conversion to string or even not supported.

Pull Request resolved: #140169
Approved by: https://github.com/wz337, https://github.com/kwen2501
atalman pushed a commit to atalman/pytorch that referenced this pull request Nov 11, 2024
…h#139804)

Summary:
This is trying to fix a regression caused by pytorch#139757. We now don't want to log args and kwargs directly because if they contain tensor or tensor subclass it would take lots of time in conversion to string or even not supported.

Reviewed By: fduwjj

Differential Revision: D65490202

Pull Request resolved: pytorch#139804
Approved by: https://github.com/XilunWu
atalman pushed a commit to atalman/pytorch that referenced this pull request Nov 11, 2024
)

This PR is trying to reland pytorch#139804

We now don't want to log args and kwargs directly because if they contain tensor or tensor subclass it would take lots of time in conversion to string or even not supported.

Pull Request resolved: pytorch#140169
Approved by: https://github.com/wz337
zero000064 pushed a commit to zero000064/pytorch that referenced this pull request Nov 14, 2024
…h#139804)

Summary:
This is trying to fix a regression caused by pytorch#139757. We now don't want to log args and kwargs directly because if they contain tensor or tensor subclass it would take lots of time in conversion to string or even not supported.

Reviewed By: fduwjj

Differential Revision: D65490202

Pull Request resolved: pytorch#139804
Approved by: https://github.com/XilunWu
zero000064 pushed a commit to zero000064/pytorch that referenced this pull request Nov 14, 2024
)

This PR is trying to reland pytorch#139804

We now don't want to log args and kwargs directly because if they contain tensor or tensor subclass it would take lots of time in conversion to string or even not supported.

Pull Request resolved: pytorch#140169
Approved by: https://github.com/wz337
zero000064 pushed a commit to zero000064/pytorch that referenced this pull request Nov 14, 2024
)

This PR is trying to reland pytorch#139804

We now don't want to log args and kwargs directly because if they contain tensor or tensor subclass it would take lots of time in conversion to string or even not supported.

Pull Request resolved: pytorch#140169
Approved by: https://github.com/wz337, https://github.com/kwen2501
Ryo-not-rio pushed a commit to Ryo-not-rio/pytorch that referenced this pull request Dec 2, 2024
…h#139804)

Summary:
This is trying to fix a regression caused by pytorch#139757. We now don't want to log args and kwargs directly because if they contain tensor or tensor subclass it would take lots of time in conversion to string or even not supported.

Reviewed By: fduwjj

Differential Revision: D65490202

Pull Request resolved: pytorch#139804
Approved by: https://github.com/XilunWu
Ryo-not-rio pushed a commit to Ryo-not-rio/pytorch that referenced this pull request Dec 2, 2024
)

This PR is trying to reland pytorch#139804

We now don't want to log args and kwargs directly because if they contain tensor or tensor subclass it would take lots of time in conversion to string or even not supported.

Pull Request resolved: pytorch#140169
Approved by: https://github.com/wz337
Ryo-not-rio pushed a commit to Ryo-not-rio/pytorch that referenced this pull request Dec 2, 2024
)

This PR is trying to reland pytorch#139804

We now don't want to log args and kwargs directly because if they contain tensor or tensor subclass it would take lots of time in conversion to string or even not supported.

Pull Request resolved: pytorch#140169
Approved by: https://github.com/wz337, https://github.com/kwen2501
pobin6 pushed a commit to pobin6/pytorch that referenced this pull request Dec 5, 2024
…h#139804)

Summary:
This is trying to fix a regression caused by pytorch#139757. We now don't want to log args and kwargs directly because if they contain tensor or tensor subclass it would take lots of time in conversion to string or even not supported.

Reviewed By: fduwjj

Differential Revision: D65490202

Pull Request resolved: pytorch#139804
Approved by: https://github.com/XilunWu
pobin6 pushed a commit to pobin6/pytorch that referenced this pull request Dec 5, 2024
)

This PR is trying to reland pytorch#139804

We now don't want to log args and kwargs directly because if they contain tensor or tensor subclass it would take lots of time in conversion to string or even not supported.

Pull Request resolved: pytorch#140169
Approved by: https://github.com/wz337
pobin6 pushed a commit to pobin6/pytorch that referenced this pull request Dec 5, 2024
)

This PR is trying to reland pytorch#139804

We now don't want to log args and kwargs directly because if they contain tensor or tensor subclass it would take lots of time in conversion to string or even not supported.

Pull Request resolved: pytorch#140169
Approved by: https://github.com/wz337, https://github.com/kwen2501
fmo-mt pushed a commit to fmo-mt/pytorch that referenced this pull request Dec 11, 2024
…h#139804)

Summary:
This is trying to fix a regression caused by pytorch#139757. We now don't want to log args and kwargs directly because if they contain tensor or tensor subclass it would take lots of time in conversion to string or even not supported.

Reviewed By: fduwjj

Differential Revision: D65490202

Pull Request resolved: pytorch#139804
Approved by: https://github.com/XilunWu
fmo-mt pushed a commit to fmo-mt/pytorch that referenced this pull request Dec 11, 2024
)

This PR is trying to reland pytorch#139804

We now don't want to log args and kwargs directly because if they contain tensor or tensor subclass it would take lots of time in conversion to string or even not supported.

Pull Request resolved: pytorch#140169
Approved by: https://github.com/wz337
fmo-mt pushed a commit to fmo-mt/pytorch that referenced this pull request Dec 11, 2024
)

This PR is trying to reland pytorch#139804

We now don't want to log args and kwargs directly because if they contain tensor or tensor subclass it would take lots of time in conversion to string or even not supported.

Pull Request resolved: pytorch#140169
Approved by: https://github.com/wz337, https://github.com/kwen2501
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 oncall: distributed Add this issue/PR to distributed oncall triage queue Reverted topic: not user facing topic category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants