Skip to content

[PyTorch] Remove always-empty string args to inferFunctionSchemaFromFunctor#51307

Closed
swolchok wants to merge 3 commits intogh/swolchok/100/basefrom
gh/swolchok/100/head
Closed

[PyTorch] Remove always-empty string args to inferFunctionSchemaFromFunctor#51307
swolchok wants to merge 3 commits intogh/swolchok/100/basefrom
gh/swolchok/100/head

Conversation

@swolchok
Copy link
Copy Markdown
Contributor

@swolchok swolchok commented Jan 28, 2021

Stack from ghstack:

Using -ftime-trace shows that this roughly halves time spent compile/optimizing this function in an optimized build of RegisterCPU.cpp (savings of about 1 second).

Differential Revision: D26135978

…unctor

Using -ftime-trace shows that this roughly halves time spent compile/optimizing this function in an optimized build of RegisterCPU.cpp (savings of about 1 second).

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

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

facebook-github-bot commented Jan 28, 2021

💊 CI failures summary and remediations

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


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

1 failure not recognized by patterns:

Job Step Action
CircleCI pytorch_linux_xenial_py3_clang5_mobile_custom_build_dynamic Build 🔁 rerun

1 job timed out:

  • pytorch_linux_xenial_py3_clang5_mobile_custom_build_dynamic

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.

…SchemaFromFunctor"

Using -ftime-trace shows that this roughly halves time spent compile/optimizing this function in an optimized build of RegisterCPU.cpp (savings of about 1 second).

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

[ghstack-poisoned]
@swolchok swolchok requested a review from smessmer January 29, 2021 05:26
…SchemaFromFunctor"

Using -ftime-trace shows that this roughly halves time spent compile/optimizing this function in an optimized build of RegisterCPU.cpp (savings of about 1 second).

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

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

This pull request has been merged in 205c971.

@facebook-github-bot facebook-github-bot deleted the gh/swolchok/100/head branch February 5, 2021 15:22
laurentdupin pushed a commit to laurentdupin/pytorch that referenced this pull request Apr 24, 2026
…unctor (pytorch#51307)

Summary:
Pull Request resolved: pytorch#51307

Using -ftime-trace shows that this roughly halves time spent compile/optimizing this function in an optimized build of RegisterCPU.cpp (savings of about 1 second).
ghstack-source-id: 120697493

Test Plan: manual build with -ftime-trace as above; sketch of directions at https://fb.workplace.com/groups/894363187646754/permalink/1153321361750934/ , except that I extracted a compiler invocation for RegisterCPU.cpp by injecting a syntax error and running buck build with -v 3 so that I could rebuild and measure just the one file quickly.

Reviewed By: ezyang

Differential Revision: D26135978

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants