tlopex opened a new pull request, #18538:
URL: https://github.com/apache/tvm/pull/18538
This PR is to resolve the issue #18481 , which fixes two bugs in the
end-to-end optimization tutorial (`docs/how_to/tutorials/e2e_opt_model.py`)
that prevented it from running correctly on GPU devices.
### Changes
1. **Added DefaultGPUSchedule transformation**
- Apply `DefaultGPUSchedule` to ensure all GPU functions have proper
thread binding. This fixes the memory verification error: "`Variable is
directly accessed by host memory... Did you forget to bind?`"
2. **Fixed VM output handling**
- Updated to correctly extract tensor from VM output. This fixes the
AttributeError: "'Array' object has no attribute '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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]