rapidsai / rapids-examples

33 stars 24 forks source link

[REVIEW]Optimize Embedding Creation by 4.8x #43

Closed VibhuJawa closed 2 years ago

VibhuJawa commented 2 years ago

This PR optimized embedding creation

Benchmarks

The core improvement here is that we now clip the extra zeros at the end of the input to BERT to remove redundant DL model operations.

Todo: