Skip to content

Conversation

@fduwjj
Copy link
Contributor

@fduwjj fduwjj commented Jul 10, 2024

Stack from ghstack (oldest at bottom):

While designing something else when TCPStore is needed. I spent some time digging into the codebase of TCPStore and found that the code is a little bit challenging to understand without proper documents. Although people from OSS community must be smarter than me, I still want to document my findings in the code so that devs and users can use them as a reference down the road.

Also for libuv, we need to make private variables with a "_", so it's a pure renaming of private variables such as tcpServer.

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

@pytorch-bot
Copy link

pytorch-bot bot commented Jul 10, 2024

🔗 Helpful Links

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

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 5d905a2 with merge base b7eb725 (image):

FLAKY - The following job failed but was likely due to flakiness present 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 release notes: distributed (c10d) release notes category labels Jul 10, 2024
@fduwjj fduwjj added the better-engineering Relatively self-contained tasks for better engineering contributors label Jul 10, 2024
…ic changes to libuvStore code"


While designing something else when TCPStore is needed. I spent some time digging into the codebase of TCPStore and found that the code is a little bit challenging to understand without proper documents. Although people from OSS community must be smarter than me, I still want to document my findings in the code so that devs and users can use them as a reference down the road.

Also for libuv, we need to make private variable with a "_", so it's a pure renaming of a private variable for `tcpServer`.



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

[ghstack-poisoned]
@fduwjj fduwjj changed the title [PTD][c10d] Add some document for TCPStore code and cosmetic changes to libuvStore code [PTD][BE][c10d] Add some document for TCPStore code and cosmetic changes to libuvStore code Jul 10, 2024
@fduwjj fduwjj changed the title [PTD][BE][c10d] Add some document for TCPStore code and cosmetic changes to libuvStore code [PTD][BE][c10d] Add some document for TCPStore code and cosmetic changes to libUVStore code Jul 10, 2024
@fduwjj fduwjj changed the title [PTD][BE][c10d] Add some document for TCPStore code and cosmetic changes to libUVStore code [PTD][BE][c10d] Add some code documents for TCPStore code and cosmetic changes to libUVStore code Jul 10, 2024
…and cosmetic changes to libUVStore code"


While designing something else when TCPStore is needed. I spent some time digging into the codebase of TCPStore and found that the code is a little bit challenging to understand without proper documents. Although people from OSS community must be smarter than me, I still want to document my findings in the code so that devs and users can use them as a reference down the road.

Also for libuv, we need to make private variable with a "_", so it's a pure renaming of a private variable for `tcpServer`.



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

[ghstack-poisoned]
fduwjj added a commit that referenced this pull request Jul 10, 2024
…to libuvStore code

ghstack-source-id: 67fb290
Pull Request resolved: #130496
…and cosmetic changes to libUVStore code"


While designing something else when TCPStore is needed. I spent some time digging into the codebase of TCPStore and found that the code is a little bit challenging to understand without proper documents. Although people from OSS community must be smarter than me, I still want to document my findings in the code so that devs and users can use them as a reference down the road.

Also for libuv, we need to make private variables with a "_", so it's a pure renaming of private variables such as `tcpServer`.



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

[ghstack-poisoned]
fduwjj added a commit that referenced this pull request Jul 11, 2024
…to libuvStore code

ghstack-source-id: c813722
Pull Request resolved: #130496
@fduwjj
Copy link
Contributor Author

fduwjj commented Jul 11, 2024

@pytorchbot merge

@pytorch-bot pytorch-bot bot added the ciflow/trunk Trigger trunk jobs on your pull request label Jul 11, 2024
@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

@pytorchmergebot
Copy link
Collaborator

The merge job was canceled or timed out. This most often happen if two merge requests were issued for the same PR, or if merge job was waiting for more than 6 hours for tests to finish. In later case, please do not hesitate to reissue the merge command
For more information see pytorch-bot wiki.

@github-actions
Copy link
Contributor

Looks like this PR hasn't been updated in a while so we're going to go ahead and mark this as Stale.
Feel free to remove the Stale label if you feel this was a mistake.
If you are unable to remove the Stale label please contact a maintainer in order to do so.
If you want the bot to never mark this PR stale again, add the no-stale label.
Stale pull requests will automatically be closed after 30 days of inactivity.

@github-actions github-actions bot added the Stale label Sep 10, 2024
@fduwjj fduwjj removed the Stale label Sep 11, 2024
…and cosmetic changes to libUVStore code"


While designing something else when TCPStore is needed. I spent some time digging into the codebase of TCPStore and found that the code is a little bit challenging to understand without proper documents. Although people from OSS community must be smarter than me, I still want to document my findings in the code so that devs and users can use them as a reference down the road.

Also for libuv, we need to make private variables with a "_", so it's a pure renaming of private variables such as `tcpServer`.



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

[ghstack-poisoned]
fduwjj added a commit that referenced this pull request Sep 11, 2024
…to libuvStore code

ghstack-source-id: d497677
Pull Request resolved: #130496
@fduwjj
Copy link
Contributor Author

fduwjj commented Sep 11, 2024

Somehow this PR did not get merged... Let's merge it now.

@fduwjj
Copy link
Contributor Author

fduwjj commented Sep 11, 2024

@pytorchbot merge -i

@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged while ignoring the following 1 checks: pull / linux-focal-py3.9-clang10 / test (dynamo, 3, 3, linux.2xlarge)

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

yushangdi pushed a commit that referenced this pull request Sep 12, 2024
…c changes to libUVStore code (#130496)

While designing something else when TCPStore is needed. I spent some time digging into the codebase of TCPStore and found that the code is a little bit challenging to understand without proper documents. Although people from OSS community must be smarter than me, I still want to document my findings in the code so that devs and users can use them as a reference down the road.

Also for libuv, we need to make private variables with a "_", so it's a pure renaming of private variables such as `tcpServer`.

Pull Request resolved: #130496
Approved by: https://github.com/wconstab
Chao1Han pushed a commit to Chao1Han/pytorch that referenced this pull request Sep 20, 2024
…c changes to libUVStore code (pytorch#130496)

While designing something else when TCPStore is needed. I spent some time digging into the codebase of TCPStore and found that the code is a little bit challenging to understand without proper documents. Although people from OSS community must be smarter than me, I still want to document my findings in the code so that devs and users can use them as a reference down the road.

Also for libuv, we need to make private variables with a "_", so it's a pure renaming of private variables such as `tcpServer`.

Pull Request resolved: pytorch#130496
Approved by: https://github.com/wconstab
@github-actions github-actions bot deleted the gh/fduwjj/105/head branch October 12, 2024 02:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

better-engineering Relatively self-contained tasks for better engineering contributors ciflow/trunk Trigger trunk jobs on your pull request Merged oncall: distributed Add this issue/PR to distributed oncall triage queue release notes: distributed (c10d) release notes category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants