benchmark
0d0fb42f - Improve the quality of speech transformer (#656)

Commit
4 years ago
Improve the quality of speech transformer (#656) Summary: Use original train batch size 32. Source: https://github.com/kaituoxu/Speech-Transformer/blob/e6847772d6a786336e117a03c48c62ecbf3016f6/src/bin/train.py#L68 Added code to prefetch the data to GPU. This model doesn't support changing inference batch size. Profile of train: ![image](https://user-images.githubusercontent.com/502017/146303947-abc1fd00-fcbf-4aeb-b2f5-36013cd72ab4.png) Profile of eval: ![image](https://user-images.githubusercontent.com/502017/146304147-a1808284-f274-4091-bcc8-3a2a96430f7c.png) Pull Request resolved: https://github.com/pytorch/benchmark/pull/656 Reviewed By: aaronenyeshi Differential Revision: D33178568 Pulled By: xuzhao9 fbshipit-source-id: 153cf729be3e30fe0742812fb3f35bb838f18b3a
Author
Parents
Loading