You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Performance] contirb.seq2seq.attention_wrapper slower due to using matmul instead of reduce_sum #10765
tf version '1.2.0-rc0' contirb.seq2seq.attention_wrapper is great, it make using attention much easier.
However I found using attention_wrapper will be much slower then tf version 1.0.
After some experiment I found it is due to using matmul instead of reduce_sum.
Using above code for one of my application got 2.2 batch/s, after changing to use reduce_sum(as tf version 1.0 did), the speed is 3.4 batch/s, improve a lot.
changed the title [-]contirb.seq2seq.attention_wrapper slower due to using matmul instead of reduce_sum[/-][+]【Performance】contirb.seq2seq.attention_wrapper slower due to using matmul instead of reduce_sum[/+]on Jun 16, 2017
changed the title [-]【Performance】contirb.seq2seq.attention_wrapper slower due to using matmul instead of reduce_sum[/-][+][Performance] contirb.seq2seq.attention_wrapper slower due to using matmul instead of reduce_sum[/+]on Jun 16, 2017
Activity
[-]contirb.seq2seq.attention_wrapper slower due to using matmul instead of reduce_sum[/-][+]【Performance】contirb.seq2seq.attention_wrapper slower due to using matmul instead of reduce_sum[/+][-]【Performance】contirb.seq2seq.attention_wrapper slower due to using matmul instead of reduce_sum[/-][+][Performance] contirb.seq2seq.attention_wrapper slower due to using matmul instead of reduce_sum[/+]tensorflowbutler commentedon Aug 24, 2018
Nagging Assignee @tfboyd: It has been 433 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.
chenghuige commentedon Sep 5, 2018
Closing this as prefer to use eager mode seq2seq.
Update XNNPACK and related dependencies
Update XNNPACK and related dependencies
Update XNNPACK and related dependencies
Update XNNPACK and related dependencies
Update XNNPACK and related dependencies
Update XNNPACK and related dependencies
Update XNNPACK and related dependencies
Update XNNPACK and related dependencies
Update XNNPACK and related dependencies
Update XNNPACK and related dependencies
Update XNNPACK and related dependencies