Skip to content

Remove hacky double registration of to_here op in reg_distributed_ops#39602

Closed
rohan-varma wants to merge 6 commits intogh/rohan-varma/136/basefrom
gh/rohan-varma/136/head
Closed

Remove hacky double registration of to_here op in reg_distributed_ops#39602
rohan-varma wants to merge 6 commits intogh/rohan-varma/136/basefrom
gh/rohan-varma/136/head

Conversation

@rohan-varma
Copy link
Copy Markdown
Contributor

@rohan-varma rohan-varma commented Jun 5, 2020

Stack from ghstack:

This was added as a part of
#38590 but we can use default arguments
here. We use fmt:;format to bind the default value to the rpc timeout at
runtime.

Differential Revision: D21912719

This was added as a part of
#38590 but we can use default arguments
here. We use fmt:;format to bind the default value to the rpc timeout at
runtime.

Differential Revision: [D21912719](https://our.internmc.facebook.com/intern/diff/D21912719/)

[ghstack-poisoned]
@rohan-varma rohan-varma requested a review from apaszke as a code owner June 5, 2020 21:27
@facebook-github-bot facebook-github-bot added the oncall: jit Add this issue/PR to JIT oncall triage queue label Jun 5, 2020
rohan-varma added a commit that referenced this pull request Jun 5, 2020
This was added as a part of
#38590 but we can use default arguments
here. We use fmt:;format to bind the default value to the rpc timeout at
runtime.

Differential Revision: [D21912719](https://our.internmc.facebook.com/intern/diff/D21912719/)

ghstack-source-id: 105370320
Pull Request resolved: #39602
@rohan-varma rohan-varma requested review from mrshenli and xush6528 June 5, 2020 21:30
…ributed_ops"

This was added as a part of
#38590 but we can use default arguments
here. We use fmt:;format to bind the default value to the rpc timeout at
runtime.

Differential Revision: [D21912719](https://our.internmc.facebook.com/intern/diff/D21912719/)

[ghstack-poisoned]
rohan-varma added a commit that referenced this pull request Jun 8, 2020
Pull Request resolved: #39602

This was added as a part of
#38590 but we can use default arguments
here. We use fmt:;format to bind the default value to the rpc timeout at
runtime.
ghstack-source-id: 105424163

Differential Revision: [D21912719](https://our.internmc.facebook.com/intern/diff/D21912719/)
@dr-ci
Copy link
Copy Markdown

dr-ci Bot commented Jun 8, 2020

💊 CI failures summary and remediations

As of commit bf3c5f5 (more details on the Dr. CI page):


💚 💚 Looks good so far! There are no failures yet. 💚 💚


This comment was automatically generated by Dr. CI (expand for details).Follow this link to opt-out of these comments for your Pull Requests.

Please report bugs/suggestions on the GitHub issue tracker or post in the (internal) Dr. CI Users group.

See how this bot performed.

This comment has been revised 25 times.

…ributed_ops"

This was added as a part of
#38590 but we can use default arguments
here. We use fmt:;format to bind the default value to the rpc timeout at
runtime.

Differential Revision: [D21912719](https://our.internmc.facebook.com/intern/diff/D21912719/)

[ghstack-poisoned]
rohan-varma added a commit that referenced this pull request Jun 13, 2020
Pull Request resolved: #39602

This was added as a part of
#38590 but we can use default arguments
here. We use fmt:;format to bind the default value to the rpc timeout at
runtime.
ghstack-source-id: 105838088

Differential Revision: [D21912719](https://our.internmc.facebook.com/intern/diff/D21912719/)
…ributed_ops"

This was added as a part of
#38590 but we can use default arguments
here. We use fmt:;format to bind the default value to the rpc timeout at
runtime.

Differential Revision: [D21912719](https://our.internmc.facebook.com/intern/diff/D21912719/)

[ghstack-poisoned]
rohan-varma added a commit that referenced this pull request Jun 15, 2020
Pull Request resolved: #39602

This was added as a part of
#38590 but we can use default arguments
here. We use fmt:;format to bind the default value to the rpc timeout at
runtime.
ghstack-source-id: 105911881

Differential Revision: [D21912719](https://our.internmc.facebook.com/intern/diff/D21912719/)
…ributed_ops"

This was added as a part of
#38590 but we can use default arguments
here. We use fmt:;format to bind the default value to the rpc timeout at
runtime.

Differential Revision: [D21912719](https://our.internmc.facebook.com/intern/diff/D21912719/)

[ghstack-poisoned]
rohan-varma added a commit that referenced this pull request Jun 16, 2020
Pull Request resolved: #39602

This was added as a part of
#38590 but we can use default arguments
here. We use fmt:;format to bind the default value to the rpc timeout at
runtime.
ghstack-source-id: 105954938

Differential Revision: [D21912719](https://our.internmc.facebook.com/intern/diff/D21912719/)
Operator(
"aten::to_here(RRef(t) self, double timeout) -> t(*)",
fmt::format(
"aten::to_here(RRef(t) self, float timeout = {}) -> t",
Copy link
Copy Markdown
Contributor

@xush6528 xush6528 Jun 16, 2020

Choose a reason for hiding this comment

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

"aten::to_here(RRef(t) self, float timeout = {}) -> t(*)",

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@xush6528 fixed.

…ributed_ops"

This was added as a part of
#38590 but we can use default arguments
here. We use fmt:;format to bind the default value to the rpc timeout at
runtime.

Differential Revision: [D21912719](https://our.internmc.facebook.com/intern/diff/D21912719/)

[ghstack-poisoned]
rohan-varma added a commit that referenced this pull request Jun 16, 2020
Pull Request resolved: #39602

This was added as a part of
#38590 but we can use default arguments
here. We use fmt:;format to bind the default value to the rpc timeout at
runtime.
ghstack-source-id: 105983645

Differential Revision: [D21912719](https://our.internmc.facebook.com/intern/diff/D21912719/)
@rohan-varma rohan-varma requested a review from xush6528 June 16, 2020 17:50
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request has been merged in 03529ed.

xwang233 pushed a commit to xwang233/pytorch that referenced this pull request Jun 20, 2020
…pytorch#39602)

Summary:
Pull Request resolved: pytorch#39602

This was added as a part of
pytorch#38590 but we can use default arguments
here. We use fmt:;format to bind the default value to the rpc timeout at
runtime.
ghstack-source-id: 105983645

Test Plan: Ci

Differential Revision: D21912719

fbshipit-source-id: 7525c1322a95126f529301be142248af48565b82
@facebook-github-bot facebook-github-bot deleted the gh/rohan-varma/136/head branch June 20, 2020 14:16
laurentdupin pushed a commit to laurentdupin/pytorch that referenced this pull request Apr 24, 2026
…pytorch#39602)

Summary:
Pull Request resolved: pytorch#39602

This was added as a part of
pytorch#38590 but we can use default arguments
here. We use fmt:;format to bind the default value to the rpc timeout at
runtime.
ghstack-source-id: 105983645

Test Plan: Ci

Differential Revision: D21912719

fbshipit-source-id: 7525c1322a95126f529301be142248af48565b82
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Merged oncall: jit Add this issue/PR to JIT oncall triage queue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants