Skip to content

[PyTorch] remove convenience RecordFunctionCallback interface#48620

Closed
swolchok wants to merge 6 commits intogh/swolchok/22/basefrom
gh/swolchok/22/head
Closed

[PyTorch] remove convenience RecordFunctionCallback interface#48620
swolchok wants to merge 6 commits intogh/swolchok/22/basefrom
gh/swolchok/22/head

Conversation

@swolchok
Copy link
Copy Markdown
Contributor

@swolchok swolchok commented Nov 30, 2020

Stack from ghstack:

In preparation for storing bare function pointer (8 bytes)
instead of std::function (32 bytes).

Differential Revision: D25132183

NOTE FOR REVIEWERS: This PR has internal Facebook specific changes or comments, please review them on Phabricator!

In preparation for storing bare function pointer (8 bytes)
instead of std::function (32 bytes).

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

**NOTE FOR REVIEWERS**: This PR has internal Facebook specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D25132183/)!

[ghstack-poisoned]
@dr-ci
Copy link
Copy Markdown

dr-ci bot commented Nov 30, 2020

💊 CI failures summary and remediations

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


  • 2/2 failures possibly* introduced in this PR
    • 2/2 non-CircleCI failure(s)

Extra GitHub checks: 1 failed


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 to the (internal) Dr. CI Users group.

This comment has been revised 16 times.

…enience RecordFunctionCallback interface"

In preparation for storing bare function pointer (8 bytes)
instead of std::function (32 bytes).

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

**NOTE FOR REVIEWERS**: This PR has internal Facebook specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D25132183/)!

[ghstack-poisoned]
swolchok added a commit that referenced this pull request Nov 30, 2020
Pull Request resolved: #48620

In preparation for storing bare function pointer (8 bytes)
instead of std::function (32 bytes).
ghstack-source-id: 117499937

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

**NOTE FOR REVIEWERS**: This PR has internal Facebook specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D25132183/)!
@swolchok swolchok requested review from ezyang and ngimel December 4, 2020 19:57
…ace"

In preparation for storing bare function pointer (8 bytes)
instead of std::function (32 bytes).

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

**NOTE FOR REVIEWERS**: This PR has internal Facebook specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D25132183/)!

[ghstack-poisoned]
@ilia-cher
Copy link
Copy Markdown
Contributor

could you pls clarify the win here? it's not exactly a free win - this interface brings quite a lot of convenience to toss away without second thought

…ace"

In preparation for storing bare function pointer (8 bytes)
instead of std::function (32 bytes).

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

**NOTE FOR REVIEWERS**: This PR has internal Facebook specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D25132183/)!

[ghstack-poisoned]
@swolchok
Copy link
Copy Markdown
Contributor Author

swolchok commented Dec 9, 2020 via email

…ace"

In preparation for storing bare function pointer (8 bytes)
instead of std::function (32 bytes).

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

**NOTE FOR REVIEWERS**: This PR has internal Facebook specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D25132183/)!

[ghstack-poisoned]
…ace"

In preparation for storing bare function pointer (8 bytes)
instead of std::function (32 bytes).

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

**NOTE FOR REVIEWERS**: This PR has internal Facebook specific changes or comments, please review them on [Phabricator](https://our.internmc.facebook.com/intern/diff/D25132183/)!

[ghstack-poisoned]
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request has been merged in 900aa4e.

@facebook-github-bot facebook-github-bot deleted the gh/swolchok/22/head branch December 18, 2020 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla signed 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.

4 participants