merge_decoders
mixes up decoder_model
and decoder_model_with_past
#1913
Labels
bug
Something isn't working
System Info
Who can help?
@JingyaHuang @michaelbenayoun @fxmarty
Information
Tasks
examples
folder (such as GLUE/SQuAD, ...)Reproduction (minimal, reproducible, runnable)
Following this tutorial, export a model with these two components
According to the docs and source code, the past model should be placed second:
optimum/optimum/onnx/graph_transformations.py
Lines 197 to 204 in 8b43dd2
So, run
This results in this error:
This also affects the other tutorial here, which breaks if you set post-process to true.
Expected behavior
The docs/source code should be updated to be consistent, and/or the example code in the tutorial should work with post-process=True
The text was updated successfully, but these errors were encountered: