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

How to decrease inference time of LiLT? #42

Open
piegu opened this issue Apr 26, 2023 · 0 comments
Open

How to decrease inference time of LiLT? #42

piegu opened this issue Apr 26, 2023 · 0 comments

Comments

@piegu
Copy link

piegu commented Apr 26, 2023

Hi,

I'm using Hugging Face libraries in order to run LiLT.
How can I decrease inference time? Which code to use?

I've already try BetterTransformer (Optimum) and ONNX but none of them accepts LiLT model.

  • BetterTransformer: NotImplementedError: The model type lilt is not yet supported to be used with BetterTransformer.
  • ONNX: KeyError: "lilt is not supported yet.

Thank you.

Note: I asked this question here, too: NielsRogge/Transformers-Tutorials#284

@piegu piegu changed the title How to improve inference time of LiLT? How to decrease inference time of LiLT? Apr 30, 2023
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

1 participant