vacu9708 opened a new pull request, #17986:
URL: https://github.com/apache/tvm/pull/17986

   Sorry for re-uploading this, I made some mistakes in my branch name.
   
   # Summary
   This PR resolves issue [#17899](https://github.com/apache/tvm/issues/17899) 
where the end-to-end tutorial `e2e_opt_model.py` fails with errors and cannot 
be executed successfully.
   
   # Bug fixes
   - Memory binding error("Did you forget to bind?")
   This error occurs when the compiler attempts to use operations that are not 
properly bound to GPU memory, due to occasionally generated invalid GPU 
schedules that result in memory misalignment. (probably due to vectorization)
        - **Fix**: Added GPU code verification to SpaceGenerator() that filters 
out schedules involving memory misalignment.
   - <class 'tvm.ir.container.Array'> has no attribute numpy
   This error occurs because vm\["main"\]() returns an Array of NDArray
        - **Fix**: Extracted the NDArray out of the returned Array before 
calling .numpy().


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to