Skip to main content

Search

OwLite Help Center

unexpected error during export

Comments

2 comments

  • SqueezeBits

    Hello hjd_bhj. Thank you for using OwLite and for reporting the issue you experienced.

    It seems you encountered an unexpected error, which must have caused inconvenience while using OwLite. OwLite aims to provide clear solutions and explanations for problems users face. We believe your inquiry will help us improve OwLite and make it a more reliable service.

    I have just notified our development team about your request, and they will get back to you soon with a response.

    Thank you!

    2
  • Huijong Jeong

    Hi, 

    Me and our team was able to reproduced the error with your code and verify the workaround you suggested is valid. 

    As you mentioned, this is an unexpected bug when model with custom torch.autograd function is given as an input to OwLite. Currently, OwLite lacks the ability to handle custom torch.autograd functions. To be more precise, error occurs during the mapping logic between torhc.fx.Graph converted with OwLite.convert and onnx.ModelProto exported with OwLite.export.

    We are eagerly seeking a way to support custom torch.autograd functions as there are certain cases that these functions cannot be easily replaced as you mentioned. We will let you know if we come up with a precise schedule on this. Until then, please stick to the workaround you've found.

    We will also update the log messages so that you can detect these kinds of problem with less effort.

    Thanks

    0

Please sign in to leave a comment.