onnxruntime
78b35652 - fix issue with obtaining the decoder layer number when converting the T5 model. (#17185)

Commit
2 years ago
fix issue with obtaining the decoder layer number when converting the T5 model. (#17185) ### Description fix issue with obtaining the decoder layer number when converting the T5 model. ### Motivation and Context fix issue: https://github.com/microsoft/onnxruntime/issues/17072 Test with [byt5-small](https://huggingface.co/google/byt5-small/tree/main) model, which has 12 encoder layers and 4 decoder layers. Here is the log. ![image](https://github.com/microsoft/onnxruntime/assets/3481539/ff1b69c5-f485-4301-a333-9ee2a984df07)
Author
Parents
Loading