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

   As I’m new to TVM, I may lack some knowledge. Please excuse any mistakes, 
and I’d appreciate your feedback.
   # 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.
        - **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