Skip to content

Modify PyTorch's integration of NNPACK to use a unified underlying thread pool implementation.#27341

Closed
AshkanAliabadi wants to merge 5 commits intogh/AshkanAliabadi/2/basefrom
gh/AshkanAliabadi/2/head
Closed

Modify PyTorch's integration of NNPACK to use a unified underlying thread pool implementation.#27341
AshkanAliabadi wants to merge 5 commits intogh/AshkanAliabadi/2/basefrom
gh/AshkanAliabadi/2/head

Conversation

@AshkanAliabadi
Copy link
Contributor

@AshkanAliabadi AshkanAliabadi commented Oct 3, 2019

Stack from ghstack:

Multi-threaded:

Pixel 2:
Before:    362.716
PR-27402:  185.799
PR-27341:  142.011

Pixel 3:
Before:    246.755
PR-27402:  160.045
PR-27341:  115.437

Single-threaded:

Pixel 2:
Before:    308.084
PR-27340:  303.539
PR-27341:  313.558

Pixel 3:
Before:    234.272
PR-27340:  227.158
PR-27341:  232.787

Differential Revision: D17835333

…read pool implementation.

[ghstack-poisoned]
AshkanAliabadi pushed a commit that referenced this pull request Oct 3, 2019
…read pool implementation.

ghstack-source-id: 7b134cc
Pull Request resolved: #27341
Copy link
Contributor

@ljk53 ljk53 left a comment

Choose a reason for hiding this comment

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

Thanks for discovering and fixing this problem!

Ashkan Aliabadi added 2 commits October 4, 2019 12:14
…derlying thread pool implementation."


Multi-threaded:

```
Pixel 2:
Before:    362.716
PR-27340:  185.799
PR-27341:  142.011

Pixel 3:
Before:    246.755
PR-27340:  160.045
PR-27341:  115.437

```

Single-threaded:

```
Pixel 2:
Before:    308.084
PR-27340:  303.539
PR-27341:  313.558

Pixel 3:
Before:    234.272
PR-27340:  227.158
PR-27341:  232.787

```

[ghstack-poisoned]
…derlying thread pool implementation."


Multi-threaded:

```
Pixel 2:
Before:    362.716
PR-27340:  185.799
PR-27341:  142.011

Pixel 3:
Before:    246.755
PR-27340:  160.045
PR-27341:  115.437

```

Single-threaded:

```
Pixel 2:
Before:    308.084
PR-27340:  303.539
PR-27341:  313.558

Pixel 3:
Before:    234.272
PR-27340:  227.158
PR-27341:  232.787

```

[ghstack-poisoned]
…derlying thread pool implementation."


Multi-threaded:

```
Pixel 2:
Before:    362.716
PR-27402:  185.799
PR-27341:  142.011

Pixel 3:
Before:    246.755
PR-27402:  160.045
PR-27341:  115.437

```

Single-threaded:

```
Pixel 2:
Before:    308.084
PR-27340:  303.539
PR-27341:  313.558

Pixel 3:
Before:    234.272
PR-27340:  227.158
PR-27341:  232.787

```

[ghstack-poisoned]
AshkanAliabadi pushed a commit that referenced this pull request Oct 9, 2019
…read pool implementation.

ghstack-source-id: 931998f
Pull Request resolved: #27341
…derlying thread pool implementation."


Multi-threaded:

```
Pixel 2:
Before:    362.716
PR-27402:  185.799
PR-27341:  142.011

Pixel 3:
Before:    246.755
PR-27402:  160.045
PR-27341:  115.437

```

Single-threaded:

```
Pixel 2:
Before:    308.084
PR-27340:  303.539
PR-27341:  313.558

Pixel 3:
Before:    234.272
PR-27340:  227.158
PR-27341:  232.787

```

[ghstack-poisoned]
zdevito pushed a commit to zdevito/ATen that referenced this pull request Oct 9, 2019
…read pool implementation. (#27341)

Summary:
Pull Request resolved: pytorch/pytorch#27341

Multi-threaded:

```
Pixel 2:
Before:    362.716
PR-27402:  185.799
PR-27341:  142.011

Pixel 3:
Before:    246.755
PR-27402:  160.045
PR-27341:  115.437

```

Single-threaded:

```
Pixel 2:
Before:    308.084
PR-27340:  303.539
PR-27341:  313.558

Pixel 3:
Before:    234.272
PR-27340:  227.158
PR-27341:  232.787

```

Test Plan: Imported from OSS

Differential Revision: D17835333

Pulled By: AshkanAliabadi

fbshipit-source-id: 9502c230d8567b141ae93f611ac524d855ed9bdf
@facebook-github-bot
Copy link
Contributor

@AshkanAliabadi merged this pull request in 283f481.

@facebook-github-bot facebook-github-bot deleted the gh/AshkanAliabadi/2/head branch October 28, 2019 22:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants