Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Speed] sequence_pool op need to be enhanced #9099

Closed
dzhwinter opened this issue Mar 15, 2018 · 0 comments · Fixed by #9217
Closed

[Speed] sequence_pool op need to be enhanced #9099

dzhwinter opened this issue Mar 15, 2018 · 0 comments · Fixed by #9217

Comments

@dzhwinter
Copy link
Contributor

dzhwinter commented Mar 15, 2018

Every single call to sequence like op, it will produce a bunch of kernel calls. It should be enhanced.

thread0::array_to_lod_tensor                2           62.4829     30.9197     31.5633     31.2415     3262.35     0           327.645
thread0::mul                                763         61.21       0.038688    0.71024     0.0802228   642.303     0.000488281 25.7815
thread0::sequence_softmax_grad              69          57.409      0.04448     2.6696      0.832014    4320.91     0.000488281 0.0126953
thread0::lod_tensor_to_array                2           56.6311     27.8057     28.8253     28.3155     810.032     5.60864     327.656

image

@dzhwinter dzhwinter changed the title [Speed] array_to_lod_tensor and lod_tensor_to_array op need to be enhanced [Speed] sequence_pool op need to be enhanced Mar 19, 2018
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 a pull request may close this issue.

1 participant