amazon-sagemaker-examples icon indicating copy to clipboard operation
amazon-sagemaker-examples copied to clipboard

PyTorch 1.1 Neo compilation fails

Open vadimAnyVision opened this issue 7 years ago • 4 comments

Hi, Im trying to compile network that was done in PyTorch 1.1 and my compilation fails. the error I get is "ClientError: InputConfiguration: Incompatible ONNX model" how can I understand what is the problem (i.e if the network is not compatible or something else?)? thanks

vadimAnyVision avatar Aug 15 '19 09:08 vadimAnyVision

In general that error means that Sagemaker Neo was unable to convert the model from its base framework into the form that Neo uses to optimize the model. Without more information about the specific compilation job I can't give you anymore information.

mnuyens avatar Aug 23 '19 18:08 mnuyens

As of a couple months ago Neo compilation didn't support Pytorch 1.0.0, let alone 1.1.0+. The recommended version was 0.4.0. I opened up a ticket to see if there's been any updates to this.

austinmw avatar Oct 10 '19 21:10 austinmw

Can you please try again, we have recently added support for PT 1.2 to Neo compilation service

virgo24i avatar Jan 24 '20 18:01 virgo24i

Dear SageMaker Community, In our attempts to provide this repository with a better level of support going forward, we’re closing issues that were opened prior to the v2 release of the SDK. This is because we believe that over time many of the issues posted were solved with the latest release or other recent changes to the repo. This will help us reallocate resources towards issues that are more likely to still be relevant today. Some of the issues experienced now can be resolved by referencing the v2 guide: https://sagemaker.readthedocs.io/en/stable/v2.html In this guide, you can find simple solutions to common notebook errors, like the renaming of parameters and classes. If you believe your issue is still ongoing and you have updated error messaging or other info, please re-open it, and we investigate the issue. Best Regards, AWS SageMaker Team

hongshanli23 avatar Feb 20 '21 04:02 hongshanli23