Open ghost opened 1 year ago
been able to make some progress with optimizing ONNX model, but getting some errors when reaching the speedster optimization stage.. Please also find my collab link below > https://github.com/dneemuth/saversbasket/blob/main/Optimizing_Transformers_Speedster.ipynb
@mfumanelli sorry for interruption, but I was hoping you can point me in the right direction. been struggling with an issue while trying to optimize onnx model via speedster. I might be doing something wrong here. I already have my script to replicate the issue on my google colab account if you want to have a look. thanks.
https://colab.research.google.com/drive/1eHYU0dKcM-ms3oL2pH6YWQ_qrWDSLWYH?usp=sharing
Thanks for the awesome work! currently, I've been struggling with an issue while working with speedster which I will lay out below: 1. I've been able to optimize onnx model ( from HuggingFace, and is based on Donut https://github.com/clovaai/donut )
code used:
output:
observation:
So my question would be what are the types of parameters I did to include for optimized_model() method here . Previously, I've been passing the following to original model to get it working
Please let me know if you require additional information. thanks.