Skip to content

Model inference speed is slower than training speed #3786

Closed Answered by davidshen84
davidshen84 asked this question in Q&A
Discussion options

You must be logged in to vote

nvm... This post helped: huggingface/transformers#15581

So, I should jit the encoder.apply function and use the jitted version in the loop.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by davidshen84
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant