Open bhavnicksm opened 1 year ago
Thanks for the report @bhavnicksm!
Weirdly I can't reproduce: https://colab.research.google.com/drive/1loUO95dJ88KBxAGs6ZcrLF9uqSgiGN5t?usp=sharing
Could you try the cell below (aka optimum-cli export onnx --model tuner007/pegasus_paraphrase --for-ort --task seq2seq-lm-with-past pegasus_onnx
) to see how it goes?
Hey @fxmarty, Yeah, I just tried it a few times and somehow encountered the same error 2 out of 5 times only, weird enough. I am trying to reproduce the error better.
@fxmarty, reproduced the same error on your notebook after just running the same code a few times and restarting the notebook.
The bug is quiet stochastic.
System Info
Some PyPi module versions:
Who can help?
@lewtun @michaelbenayoun
Information
Tasks
examples
folder (such as GLUE/SQuAD, ...)Reproduction
You can replicate the issue by running the following code, post installation of dependencies on a colab notebook
Expected behavior
Ideally, you want to ORTModel to be loaded up after the code execution.
But it gives out the following error:
EDIT: You can check out my Colab Notebook which reproduces the error here Google Colab (view only)