Open piegu opened 1 year ago
Hi,
I'm using Hugging Face libraries in order to run LiLT. How can I decrease inference time? Which code to use?
LiLT
I've already try BetterTransformer (Optimum) and ONNX but none of them accepts LiLTmodel.
BetterTransformer
Optimum
ONNX
NotImplementedError: The model type lilt is not yet supported to be used with BetterTransformer.
KeyError: "lilt is not supported yet.
Thank you.
Note: I asked this question here, too: https://github.com/NielsRogge/Transformers-Tutorials/issues/284
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
) andONNX
but none of them acceptsLiLT
model.NotImplementedError: The model type lilt is not yet supported to be used with BetterTransformer.
KeyError: "lilt is not supported yet.
Thank you.
Note: I asked this question here, too: https://github.com/NielsRogge/Transformers-Tutorials/issues/284