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

Training speed for transformer using SCST #165

Open
liuaohanjsj opened this issue Oct 3, 2022 · 1 comment
Open

Training speed for transformer using SCST #165

liuaohanjsj opened this issue Oct 3, 2022 · 1 comment

Comments

@liuaohanjsj
Copy link

Hi,
I'm wondering the training speed of transformer using new-self-critical or SCST. Because during training the model should be inferenced and the inference speed of transformers are much slower than training. In RNN this should not be a problem, but I think that using the transformer the training would be much slower (I implemented a version my self and the training using RL was about 20x slower).
I'm curious about the training speed in your experiment. Do you have any suggestions?

@ruotianluo
Copy link
Owner

yes, it is much slower. I did add some optimization to speed it up a little, but didn't do any quantitative comparisons.

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

No branches or pull requests

2 participants