Open piegu opened 1 year ago
Hi,
I'm using Hugging Face libraries in order to run LayoutXLM. How can I decrease inference time? Which code to use?
LayoutXLM
I've already tested BetterTransformer(Optimum) and ONNXbut none of them accepts LayoutXLMmodel.
BetterTransformer
ONNX
NotImplementedError: The model type layoutlmv2 is not yet supported to be used with BetterTransformer.
KeyError: "layoutlmv2 is not supported yet.
Thank you.
Note: I asked this question here, too: https://github.com/microsoft/unilm/issues/1080
Feel free to open an issue on the Optimum library!
Issue opened in the Optimum library: https://github.com/huggingface/optimum/issues/1024
Hi,
I'm using Hugging Face libraries in order to run
LayoutXLM
. How can I decrease inference time? Which code to use?I've already tested
BetterTransformer
(Optimum) andONNX
but none of them acceptsLayoutXLM
model.NotImplementedError: The model type layoutlmv2 is not yet supported to be used with BetterTransformer.
KeyError: "layoutlmv2 is not supported yet.
Thank you.
Note: I asked this question here, too: https://github.com/microsoft/unilm/issues/1080