Skip to content

Conversation

@goldsborough
Copy link
Contributor

The optimized code for linear() which uses addmm when a bias is given was duplicated three times in the ATen and the C++ API. Let's just have at::linear and use that everywhere.

@apaszke @ezyang (who mentioned this in #10481)

'arange.*', 'range.*', '_gesv.*', '_getri.*', 'slice',
'_local_scalar', '_local_scalar_dense',
'max_pool1d', 'max_pool2d', 'max_pool3d'
'max_pool1d', 'max_pool2d', 'max_pool3d', 'linear'

This comment was marked as off-topic.

This comment was marked as off-topic.

This comment was marked as off-topic.

Copy link
Contributor

@ezyang ezyang left a comment

Choose a reason for hiding this comment

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

yes please

Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

goldsborough has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@jamesr66a
Copy link
Collaborator

zdevito pushed a commit to zdevito/ATen that referenced this pull request Aug 22, 2018
Summary:
The optimized code for `linear()` which uses `addmm` when a bias is given was duplicated three times in the ATen and the C++ API. Let's just have `at::linear` and use that everywhere.

apaszke ezyang (who mentioned this in #10481)
Pull Request resolved: pytorch/pytorch#10755

Differential Revision: D9443881

Pulled By: goldsborough

fbshipit-source-id: a64862d1649b5961043d58401625ec267d97d9f3
facebook-github-bot pushed a commit that referenced this pull request Aug 24, 2018
Summary:
Resubmission of #10755 with fix for ONNX

ezyang jamesr66a
Pull Request resolved: #10799

Differential Revision: D9482168

Pulled By: goldsborough

fbshipit-source-id: 85d4bdfcf0d451f2e7a1c83c5f5415cdd6caacdc
zdevito pushed a commit to zdevito/ATen that referenced this pull request Aug 25, 2018
Summary:
Resubmission of pytorch/pytorch#10755 with fix for ONNX

ezyang jamesr66a
Pull Request resolved: pytorch/pytorch#10799

Differential Revision: D9482168

Pulled By: goldsborough

fbshipit-source-id: 85d4bdfcf0d451f2e7a1c83c5f5415cdd6caacdc
PenghuiCheng pushed a commit to PenghuiCheng/pytorch that referenced this pull request Sep 11, 2018
Summary:
The optimized code for `linear()` which uses `addmm` when a bias is given was duplicated three times in the ATen and the C++ API. Let's just have `at::linear` and use that everywhere.

apaszke ezyang (who mentioned this in pytorch#10481)
Pull Request resolved: pytorch#10755

Differential Revision: D9443881

Pulled By: goldsborough

fbshipit-source-id: a64862d1649b5961043d58401625ec267d97d9f3
PenghuiCheng pushed a commit to PenghuiCheng/pytorch that referenced this pull request Sep 11, 2018
Summary:
Resubmission of pytorch#10755 with fix for ONNX

ezyang jamesr66a
Pull Request resolved: pytorch#10799

Differential Revision: D9482168

Pulled By: goldsborough

fbshipit-source-id: 85d4bdfcf0d451f2e7a1c83c5f5415cdd6caacdc
@ezyang ezyang added the merged label Jun 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants