Closed yzGao22 closed 9 months ago
Thank you for reporting the issue. We are trying to repro this on our end and will get back to you shortly.
Has this issue been resolved? I too am having the same problem.
Here are two links to work with:
This ticket has been open for some time - so you may already have resolved the issue. If I don't hear back by early next week I will plan to close the ticket.
Hello @yzGao22,
We haven't heard for you in a while, so I'm going to resolve this issue, but don't hesitate to reach out if you have further questions or issues.
Hi Team,
We are trying to compile MT5 model using torch-neuronx. There is no error reported but the traced model can only generate garbled characters during inference, while the model works fine before traced. Below is the code, which was original written by @daan-triumph:
And the inference code is:
Expected outcome: the summarization of above text in English Actually outcome:
Environment information: python==3.8 torch==1.13.1+cu117 transformers==4.28.1 numpy==1.21.6 The code is run on m5.16xlarge EC2 instance.
Do you know how to fix this problem? Thank you in advance.