You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've fine-tuned the LayoutLMv3 model and can run inferences on both CPU and GPU without any issues. However, when I try to compile this model for inference on AWS inf1 instances, I keep getting the same error. I tried modifying the forward function, but without success. Here’s the error I’m encountering:
I've fine-tuned the LayoutLMv3 model and can run inferences on both CPU and GPU without any issues. However, when I try to compile this model for inference on AWS inf1 instances, I keep getting the same error. I tried modifying the forward function, but without success. Here’s the error I’m encountering:
How to reproduce:
My references to compile model using neuron:
https://github.com/aws-neuron/aws-neuron-samples/blob/master/torch-neuron/inference/trocr/TrOCR.ipynb
https://github.com/aws-neuron/aws-neuron-samples/blob/master/torch-neuron/inference/beit/BEiT.ipynb
@NielsRogge can you help to solve that?
The text was updated successfully, but these errors were encountered: